:root {
  --bg: #f1e5d1;
  --bg-soft: #f8efe0;
  --surface: rgba(255, 250, 244, 0.88);
  --surface-strong: rgba(255, 248, 239, 0.98);
  --surface-ink: #17313d;
  --line: rgba(23, 49, 61, 0.11);
  --line-strong: rgba(23, 49, 61, 0.2);
  --text: #17313d;
  --muted: #51696f;
  --accent: #d96f2b;
  --accent-strong: #b5551f;
  --accent-soft: rgba(217, 111, 43, 0.15);
  --green: #1f7b67;
  --green-soft: rgba(31, 123, 103, 0.14);
  --gold: #c9953d;
  --blue: #245d88;
  --blue-soft: rgba(36, 93, 136, 0.14);
  --warn: #a86b1f;
  --danger: #a84941;
  --danger-soft: rgba(168, 73, 65, 0.14);
  --shadow-lg: 0 30px 72px rgba(35, 52, 58, 0.15);
  --shadow-md: 0 16px 34px rgba(35, 52, 58, 0.11);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 11px;
  --space-1: 0.35rem;
  --space-2: 0.65rem;
  --space-3: 0.95rem;
  --space-4: 1.25rem;
  --space-5: 1.65rem;
  --space-6: 2.25rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --content-max: 74rem;
  --content-gutter: clamp(1rem, 4vw, 4.5rem);
  --control-radius: .65rem;
  --font-body: "Avenir Next", "Segoe UI Variable", "Segoe UI", sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 10%, rgba(36, 93, 136, 0.22), transparent 19%),
    radial-gradient(circle at 84% 12%, rgba(217, 111, 43, 0.28), transparent 20%),
    radial-gradient(circle at 20% 86%, rgba(31, 123, 103, 0.18), transparent 22%),
    radial-gradient(circle at 72% 82%, rgba(201, 149, 61, 0.18), transparent 22%),
    linear-gradient(180deg, #f8f2e7 0%, #ebdec8 58%, #dbc59d 100%);
  color: var(--text);
  font-family: var(--font-body);
}

.site-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 58%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.34), transparent 45%);
  background-size: 136px 136px, 136px 136px, auto, auto;
  opacity: 0.22;
  pointer-events: none;
}

.hidden {
  display: none !important;
}

body[data-pilot-club-mode="personal"] #pilotClubFlightJournal {
  display: none !important;
}

body[data-pilot-club-mode="club"] .pilot-inbox-card {
  display: none !important;
}

.google-place-tools { align-items: center; margin-top: .65rem; }
.google-place-suggestions { margin-top: .65rem; }
.google-place-suggestion-list { display: grid; gap: .5rem; }
.google-place-suggestion { display: grid; gap: .18rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: .55rem; background: rgba(255,255,255,.82); color: var(--surface-ink); text-align: left; cursor: pointer; }
.google-place-suggestion:hover, .google-place-suggestion:focus-visible { border-color: var(--accent); background: #fff; outline: none; }
.google-place-suggestion span, .google-place-suggestion small { color: var(--muted); overflow-wrap: anywhere; }

.route-anchor {
  display: block;
  width: 100%;
  height: 0;
  scroll-margin-top: 1rem;
  pointer-events: none;
}

.page-hidden {
  display: none !important;
}

.app-status {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: min(100% - 2rem, 86rem);
  margin: 1rem auto;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(23, 48, 58, .16);
  border-radius: .75rem;
  background: rgba(255, 255, 255, .86);
  color: var(--surface-ink);
}
.app-status[hidden] { display: none !important; }
.app-status span { color: var(--muted); }
.app-status[data-status="error"] { border-color: rgba(177, 70, 59, .35); }
.app-status[data-status="error"] strong { color: var(--danger); }
.app-status .tiny-button { margin-left: auto; }
/* The image-led hero creates its own z-index stack above the normal page.
   Keep the actionable failure banner above that stack so keyboard and pointer
   users can actually activate recovery instead of seeing a merely visible
   retry button intercepted by the header. */
body[data-app-status="error"] .page { z-index: 30; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--surface-strong);
  border-radius: var(--radius-sm);
}

.hero-shell,
.page {
  position: relative;
  z-index: 1;
}

.hero-shell {
  padding: var(--space-4) clamp(1rem, 2vw, 2rem) var(--space-5);
}

.page {
  padding: 0 clamp(1rem, 2vw, 2rem) var(--space-6);
}

.topbar,
.hero,
.section-heading,
.nearby-grid,
.explore-grid,
.booking-grid,
.portal-grid,
.ops-shell {
  max-width: 1260px;
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-2) 0 var(--space-5);
  position: sticky;
  top: 0;
  z-index: 6;
  backdrop-filter: blur(20px);
  background: linear-gradient(180deg, rgba(249, 244, 235, 0.92), rgba(241, 230, 212, 0.76));
  border-bottom: 1px solid rgba(23, 49, 61, 0.09);
  box-shadow: 0 10px 24px rgba(35, 52, 58, 0.06);
}

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

.brand-mark {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #e3b96a 60%, #cf8b43);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-md);
}

.brand-copy,
.helper-copy,
.privacy-copy,
.location-meta,
.inline-feedback,
.policy-block p,
.notification-row p,
.booking-row p {
  color: var(--muted);
  line-height: 1.65;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.nav-link {
  appearance: none;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.22);
  color: var(--surface-ink);
  text-decoration: none;
  font-weight: 600;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  inset: auto 12px 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(23, 49, 61, 0.12);
  box-shadow: 0 10px 24px rgba(35, 52, 58, 0.07);
}

.nav-link:focus-visible {
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 2vw, 2.25rem);
  align-items: start;
}

.hero-copy h1,
.section-heading h2,
.section-toolbar h3,
.detail-card h3,
.booking-card h3,
.ops-shell h3 {
  font-family: var(--font-display);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3.75rem, 7.8vw, 6.4rem);
  text-wrap: balance;
}

.hero-actions,
.status-strip,
.active-filters,
.detail-tags,
.weather-grid,
.policy-stack,
.ops-metrics,
.pilot-recommendations,
.pilot-admin-list,
.notification-list,
.nearby-list {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ops-metrics,
.discover-mini-tags,
.status-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.ops-metrics .status-pill {
  flex: 1 1 180px;
  justify-content: center;
}

.discover-mini-tags .filter-pill {
  white-space: nowrap;
}

.status-strip .status-pill {
  flex: 1 1 160px;
  justify-content: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: var(--space-5);
}

.discover-mini-tags {
  gap: 0.55rem;
  align-items: stretch;
}

.metric,
.metric-card {
  min-height: 110px;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.82), rgba(247, 239, 226, 0.78)),
    linear-gradient(135deg, rgba(217, 111, 43, 0.03), rgba(31, 123, 103, 0.03));
  box-shadow: var(--shadow-md);
}

.metric dt {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric dd {
  margin: 0.35rem 0 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--surface-ink);
}

.card,
.card-subtle,
.metric-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}

.card {
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 2vw, 1.75rem);
}

.portal-card,
.ops-preview,
.booked-card,
.auth-card {
  position: relative;
  overflow: hidden;
}

.portal-card::before,
.ops-preview::before,
.booked-card::before,
.auth-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.4rem;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--green));
  opacity: 0.45;
  pointer-events: none;
}

.portal-card-bookings {
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.95), rgba(246, 238, 227, 0.9)),
    radial-gradient(circle at 92% 10%, rgba(204, 122, 56, 0.1), transparent 26%);
}

.portal-card-notifications {
  background:
    linear-gradient(180deg, rgba(250, 247, 242, 0.94), rgba(236, 242, 239, 0.9)),
    radial-gradient(circle at 84% 12%, rgba(41, 95, 83, 0.08), transparent 24%);
}

.portal-card-pilot {
  background:
    linear-gradient(180deg, rgba(250, 247, 239, 0.95), rgba(239, 245, 242, 0.9)),
    radial-gradient(circle at 86% 10%, rgba(53, 92, 121, 0.08), transparent 26%);
}

.portal-card-media {
  background:
    linear-gradient(160deg, rgba(12, 24, 31, 0.98), rgba(18, 42, 48, 0.95) 55%, rgba(34, 70, 60, 0.92)),
    radial-gradient(circle at 8% 12%, rgba(217, 111, 43, 0.2), transparent 26%),
    radial-gradient(circle at 78% 18%, rgba(31, 123, 103, 0.22), transparent 24%);
  color: #f6efe7;
}

.portal-card-media .eyebrow {
  color: #f0c56f;
}

.portal-card-media h3,
.portal-card-media h4,
.portal-card-media strong {
  color: #fff6ea;
}

.portal-card-media .helper-copy,
.portal-card-media .media-dropzone-copy p,
.portal-card-media .media-queue-copy p,
.portal-card-media .media-queue-copy small,
.portal-card-media .media-card-copy p,
.portal-card-media .media-card-copy small,
.portal-card-media .media-summary p {
  color: rgba(244, 239, 231, 0.76);
}

.portal-card-media input,
.portal-card-media select,
.portal-card-media textarea {
  background: rgba(10, 18, 22, 0.56);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff6ea;
}

.portal-card-media .button-secondary,
.portal-card-media .button-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff6ea;
  border-color: rgba(255, 255, 255, 0.12);
}

.portal-card-media .status-pill.status-soft {
  background: rgba(255, 255, 255, 0.08);
  color: #f7efe4;
}

.ops-preview {
  background:
    linear-gradient(180deg, rgba(247, 241, 231, 0.96), rgba(239, 232, 220, 0.92)),
    radial-gradient(circle at 8% 14%, rgba(204, 122, 56, 0.08), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(41, 95, 83, 0.08), transparent 24%);
}

.auth-card {
  background:
    linear-gradient(180deg, rgba(250, 246, 239, 0.95), rgba(240, 233, 222, 0.92)),
    radial-gradient(circle at 82% 12%, rgba(53, 92, 121, 0.08), transparent 24%);
}

.booking-card,
.booked-card,
.ops-preview {
  position: relative;
  overflow: hidden;
}

.booking-terms-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(12, 28, 34, .68);
}

.booking-terms-backdrop.hidden {
  display: none;
}

.booking-terms-dialog {
  width: min(100%, 44rem);
  max-height: min(90vh, 48rem);
  overflow: auto;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 2rem 5rem rgba(5, 20, 25, .28);
}

.booking-terms-header {
  position: sticky;
  top: 0;
  z-index: 2;
  align-items: flex-start;
  padding-right: 3.4rem;
  padding: .35rem 0 .75rem;
  background: #fff;
}

#bookingTermsDialog .booking-terms-header {
  position: relative !important;
  padding-right: 3.4rem;
  background: #fff;
}

#bookingTermsDialog .booking-terms-close {
  position: absolute !important;
  top: .35rem !important;
  right: 0 !important;
}

#bookingTermsDialog .booking-terms-close {
  display: inline-grid;
  place-items: center;
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: .7rem;
  font-size: 1.55rem;
  line-height: 1;
}

.booking-terms-close span {
  transform: translateY(-.04em);
}

#bookingTermsDialog .booking-terms-actions .button {
  border-radius: .7rem;
}

.booking-terms-dialog h2 {
  margin: 0;
}

.booking-terms-copy {
  display: grid;
  gap: .8rem;
  margin: 1rem 0;
  color: var(--muted);
  line-height: 1.6;
}

.booking-terms-copy p {
  margin: 0;
}

.booking-terms-copy strong {
  color: var(--surface-ink);
}

.booking-cancellation-policy {
  color: #17333a !important;
  font-weight: 700;
}

.booking-cancellation-policy strong {
  color: #0c252c;
}

.booking-terms-check {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--surface-alt);
  color: var(--surface-ink);
  font-weight: 700;
  line-height: 1.45;
}

.booking-terms-check input {
  width: auto;
  flex: 0 0 auto;
  margin-top: .25rem;
}

.booking-terms-check span {
  min-width: 0;
  flex: 1 1 auto;
}

.booking-terms-actions {
  justify-content: flex-end;
  margin-top: 1rem;
}

.booking-identity-panel--success {
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.booking-onboarding-notice {
  display: grid;
  gap: .9rem;
  padding: clamp(1.1rem, 2.5vw, 1.45rem);
  border: 1px solid rgba(31, 123, 103, .28);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(233, 246, 238, .96), rgba(255, 249, 237, .94)),
    var(--surface-alt);
  box-shadow: 0 14px 30px rgba(23, 67, 61, .08);
  color: var(--surface-ink);
}

.booking-onboarding-heading {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  gap: .8rem;
  align-items: start;
}

.booking-onboarding-step {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: .7rem;
  background: var(--green);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
}

.booking-onboarding-notice h4 {
  margin: .08rem 0 .25rem;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
}

.booking-onboarding-kicker {
  margin: 0;
  color: var(--green);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.booking-onboarding-notice p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.booking-onboarding-email {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem 1rem;
  padding: .75rem .85rem;
  border-left: 3px solid var(--green);
  background: rgba(255, 255, 255, .58);
}

.booking-onboarding-email span {
  color: var(--muted);
  font-size: .78rem;
}

.booking-onboarding-email strong {
  overflow-wrap: anywhere;
  font-size: .84rem;
}

.booking-onboarding-steps {
  display: grid;
  gap: .38rem;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--surface-ink);
  font-size: .88rem;
  line-height: 1.45;
}

.booking-onboarding-clarity {
  padding-top: .75rem;
  border-top: 1px solid rgba(31, 123, 103, .16);
  color: var(--surface-ink) !important;
  font-size: .86rem;
  font-weight: 700;
}

.booking-card::before,
.booked-card::before,
.ops-preview::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.45rem;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--green), var(--blue));
  opacity: 0.58;
  pointer-events: none;
}

.card-subtle {
  border-radius: var(--radius-md);
  padding: var(--space-3);
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading {
  padding-top: var(--space-4);
  scroll-margin-top: 7rem;
}

.section-heading:first-of-type {
  padding-top: var(--space-2);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.25rem);
  max-width: 12ch;
}

.nearby-grid,
.portal-grid,
.ops-layout {
  display: grid;
  gap: var(--space-4);
  padding-top: var(--space-3);
}

.discover-spotlight {
  width: 100vw;
  margin: 0 calc(50% - 50vw) var(--space-5);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.discover-spotlight-layout {
  position: relative;
}

.discover-spotlight-media {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.discover-spotlight-media .detail-hero {
  aspect-ratio: 16 / 8;
  border-radius: 0;
  min-height: min(74vh, 720px);
  max-height: 780px;
}

.discover-spotlight-rail {
  position: absolute;
  z-index: 2;
  right: clamp(1rem, 4vw, 4.5rem);
  bottom: clamp(1rem, 4vw, 3.75rem);
  width: min(440px, calc(100% - 2rem));
}

.discover-rail-card,
.discover-spotlight-copy {
  padding: 0.9rem;
}

.discover-rail-card {
  border: 1px solid rgba(255, 248, 239, 0.35);
  border-radius: var(--radius-md);
  background: rgba(17, 28, 33, 0.56);
  color: #fff8f1;
  box-shadow: 0 18px 42px rgba(7, 16, 20, 0.28);
  backdrop-filter: blur(16px);
}

.discover-rail-card .eyebrow,
.discover-rail-card h3 {
  color: #fff8f1;
}

.discover-rail-card .status-pill {
  color: #fff8f1;
  border-color: rgba(255, 248, 239, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.discover-spotlight-copy h3 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.landing-forecast {
  display: grid;
  gap: 0.55rem;
}

.landing-forecast-current {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.landing-forecast-days {
  display: grid;
  gap: 0.25rem;
}

.landing-forecast-day {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  margin: 0;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  color: var(--surface-ink);
}

.landing-forecast-day strong {
  min-width: 4.5rem;
}

.landing-forecast-day span {
  color: var(--muted);
}

.destination-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
}

.destination-chip {
  display: grid;
  gap: var(--space-3);
  align-items: start;
  width: 100%;
  padding: 0.7rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 248, 239, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff8f1;
  cursor: pointer;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  min-height: 100%;
}

.destination-chip:hover,
.destination-chip.is-selected {
  transform: translateY(-2px);
  border-color: rgba(255, 205, 124, 0.85);
  background: rgba(217, 111, 43, 0.3);
  box-shadow: var(--shadow-md);
}

.destination-chip img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 18px;
}

.destination-chip span {
  display: grid;
  gap: 0.25rem;
}

.destination-chip strong {
  font-size: 0.98rem;
}

.destination-chip small {
  color: rgba(255, 248, 239, 0.72);
}

.nearby-grid {
  grid-template-columns: 1fr;
}

/* Shared editorial alignment: standard sections use one content edge and one
   max width. Full-bleed hero photography remains an intentional exception. */
.section-heading.compact,
.route-intro,
.nearby-grid,
.explore-grid,
.booking-grid,
.portal-grid,
.ops-layout,
.ops-shell,
.ops-section-tabs,
#customerSection,
#launchEditorSection {
  width: 100%;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

.nearby-grid > * {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
}

.policy-stack {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ops-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-portal-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

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

.explore-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
  padding-top: var(--space-3);
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: var(--space-4);
  padding-top: var(--space-3);
  align-items: start;
}

.booking-side-panel {
  display: grid;
  gap: var(--space-3);
  min-width: 0;
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: start;
}

#bookingWizardCard {
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: start;
}

body.booking-focus [data-page="explore"]:not(#bookingSection) {
  display: none !important;
}

body.booking-focus #bookingSection {
  grid-template-columns: minmax(0, 1fr) minmax(320px, .42fr);
  width: 100%;
  min-height: calc(100vh - 7rem);
  padding-top: 0;
  scroll-margin-top: 1rem;
}

body.booking-focus #bookingWizardCard {
  grid-column: 1 / -1;
}

.booking-context-card {
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: none;
}

.booking-context-card .section-toolbar {
  align-items: center;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line);
}

.booking-context-card h3 {
  margin: .25rem 0 0;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
}

.context-icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent-strong);
  font-weight: 800;
}

.booking-weather-card .weather-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  padding-top: 1rem;
}

.booking-weather-card .weather-day {
  min-width: 0;
  padding: .7rem .55rem;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  overflow-wrap: anywhere;
}

.booking-weather-card .weather-day span,
.booking-weather-card .weather-day strong {
  display: block;
  margin: 0;
  line-height: 1.35;
}

.booking-weather-card .weather-day span {
  margin-top: .35rem;
  color: var(--muted);
  font-size: .72rem;
}

.booking-policy-card .policy-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-top: .35rem;
}

.booking-policy-card .policy-block {
  min-height: 10rem;
  padding: .8rem 1rem;
  border-right: 1px solid var(--line);
}

.booking-policy-card .policy-block:last-of-type {
  border-right: 0;
}

.booking-policy-card .policy-block strong {
  display: block;
  color: var(--text);
}

.booking-policy-card .policy-block p,
.booking-policy-card .policy-note p {
  margin: .35rem 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}

.booking-policy-card .policy-note {
  margin-top: .5rem;
  padding: .7rem .8rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-soft);
}

.pilot-sector-choice {
  display: grid;
  gap: .45rem;
  margin: .75rem 0;
  padding: .8rem 1rem;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line));
  border-radius: .75rem;
  background: color-mix(in srgb, var(--surface) 88%, var(--accent) 12%);
}

.pilot-sector-choice label {
  display: grid;
  gap: .35rem;
  max-width: 34rem;
  font-size: .8rem;
  font-weight: 700;
}

.pilot-sector-choice select {
  width: 100%;
  padding: .65rem .75rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: var(--surface);
  color: var(--text);
}

.multi-takeoff-info {
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 90%, var(--accent) 10%);
}

.multi-takeoff-info h3 {
  margin: .15rem 0 .35rem;
}

.multi-takeoff-default {
  margin: .75rem 0 0;
  padding: .65rem .75rem;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--surface) 84%, var(--accent) 16%);
}

.multi-takeoff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin-top: .8rem;
}

.multi-takeoff-card {
  display: grid;
  gap: .7rem;
  padding: .7rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--surface);
}

.multi-takeoff-card.is-default {
  border-color: color-mix(in srgb, var(--accent) 62%, var(--line));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 12%, transparent);
}

.multi-takeoff-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.multi-takeoff-default-badge {
  padding: .2rem .45rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  white-space: nowrap;
}

.multi-takeoff-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
}

.multi-takeoff-specs div,
.multi-takeoff-details > div {
  display: grid;
  gap: .15rem;
}

.multi-takeoff-specs span,
.multi-takeoff-details span {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.multi-takeoff-specs strong {
  font-size: .78rem;
}

.multi-takeoff-details {
  display: grid;
  gap: .55rem;
  padding-top: .65rem;
  border-top: 1px solid var(--line);
}

.multi-takeoff-details p {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}

.multi-takeoff-card > span,
.multi-takeoff-card > p {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}

.multi-takeoff-card p {
  margin: 0;
}

@media (max-width: 760px) {
  .booking-policy-card .policy-stack {
    grid-template-columns: 1fr;
  }

  .booking-policy-card .policy-block {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .booking-policy-card .policy-block:last-of-type {
    border-bottom: 0;
  }

  .multi-takeoff-grid {
    grid-template-columns: 1fr;
  }

  .multi-takeoff-specs {
    grid-template-columns: 1fr;
  }

  .multi-takeoff-card header {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Final mobile hierarchy: keep the two primary surfaces and the two navigation
   zones readable instead of forcing a desktop split into a narrow viewport. */
@media (max-width: 760px) {
  body[data-active-page="ops"] .ops-section-tabs { flex-direction: column; flex-wrap: nowrap; overflow-x: visible; }
  body[data-active-page="ops"] .ops-tab-zone { width: 100%; flex: 0 0 auto; }
  body[data-active-page="ops"] .ops-tab-zone-families { flex-direction: column; }
  body[data-active-page="ops"] .ops-tab-zone .ops-tab-family { width: 100%; flex: 0 0 auto; }
  body[data-active-page="ops"] .ops-tab-zone .ops-tab-family-links { flex-wrap: wrap; }
  body[data-active-page="ops"] .ops-primary-workspace { grid-template-columns: minmax(0, 1fr); }
  body[data-active-page="ops"] .ops-primary-workspace > .ops-primary-surface,
  body[data-active-page="ops"] .ops-primary-workspace > #adminBookedCard { grid-column: 1; grid-row: auto; }
}

/* Final Ops command-deck hierarchy: the family labels own distinct rails,
   the action center and delivery log share one first-screen surface, and the
   all-pilot status board spans the complete workspace below them. */
body[data-active-page="ops"] .ops-section-tabs {
  width: 100%;
  margin: 0 0 1.4rem;
  padding: .8rem 1rem .65rem;
  gap: 1.25rem;
  align-items: stretch;
  border-color: rgba(23,52,60,.13);
}
body[data-active-page="ops"] .ops-tab-zone {
  display: block;
  min-width: 0;
}
body[data-active-page="ops"] .ops-tab-zone-work {
  flex: 1 1 auto;
  padding-right: 1.15rem;
  border-right: 1px solid rgba(23,52,60,.16);
}
body[data-active-page="ops"] .ops-tab-zone-config {
  flex: 0 0 auto;
  min-width: 12rem;
  padding-left: .15rem;
}
body[data-active-page="ops"] .ops-tab-zone-families {
  display: flex;
  gap: 1.15rem;
  align-items: stretch;
}
body[data-active-page="ops"] .ops-tab-zone .ops-tab-family {
  flex: 1 1 0;
  min-width: 0;
  padding: .48rem .65rem .2rem;
  border-top-width: 3px;
  border-bottom: 1px solid rgba(23,52,60,.1);
}
body[data-active-page="ops"] .ops-tab-zone-config .ops-tab-family {
  min-width: 12rem;
  border-bottom-color: rgba(123,107,178,.24);
}
body[data-active-page="ops"] .ops-tab-family-label {
  font-size: .62rem;
  letter-spacing: .16em;
}
body[data-active-page="ops"] .ops-tab-zone .ops-tab-family-links {
  margin-top: .45rem;
  gap: .35rem;
}
body[data-active-page="ops"] .ops-primary-workspace {
  width: 100%;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr);
  gap: 1rem;
}
body[data-active-page="ops"] .ops-primary-workspace > .ops-primary-surface {
  grid-column: 1;
  grid-row: 1;
}
body[data-active-page="ops"] .ops-primary-workspace > section.ops-notifications-surface {
  grid-column: 2;
  grid-row: 1;
}
body[data-active-page="ops"] .ops-primary-workspace > #adminBookedCard {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  max-width: none;
}
body[data-active-page="ops"] .ops-primary-workspace > :not(.ops-primary-surface):not(.ops-notifications-surface):not(#adminBookedCard) {
  grid-column: 1 / -1;
}
body[data-active-page="ops"] .ops-notifications-surface {
  min-width: 0;
  height: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(45,159,135,.22);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(232,241,238,.96), rgba(255,255,255,.84));
  box-shadow: 0 .7rem 1.6rem rgba(23,52,60,.07);
  position: relative;
  overflow: hidden;
}
body[data-active-page="ops"] .ops-notifications-surface::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: .2rem;
  background: linear-gradient(90deg, #2d9f87, #8ac8b3, transparent);
}
body[data-active-page="ops"] .ops-notifications-surface .section-toolbar {
  padding-bottom: .65rem;
  border-bottom: 1px solid rgba(45,159,135,.14);
}
body[data-active-page="ops"] .ops-notifications-surface h3 { margin: .1rem 0 0; }
body[data-active-page="ops"] .ops-notifications-surface .admin-notifications-panel {
  margin-top: .75rem;
  padding-top: .7rem;
  border-top: 1px solid rgba(45,159,135,.18);
}
body[data-active-page="ops"] #adminBookedCard {
  padding: 1.25rem 1.4rem;
  background: linear-gradient(145deg, rgba(232,241,238,.98), rgba(255,255,255,.88));
}
body[data-active-page="ops"] #adminBookedCard .ops-flight-status-board { width: 100%; }
@media (max-width: 760px) {
  body[data-active-page="ops"] .ops-section-tabs { width: 100%; padding: .7rem; gap: .7rem; }
  body[data-active-page="ops"] .ops-tab-zone-work { padding-right: 0; border-right: 0; border-bottom: 1px solid rgba(23,52,60,.14); padding-bottom: .7rem; }
  body[data-active-page="ops"] .ops-tab-zone-config { min-width: 0; padding-left: 0; }
  body[data-active-page="ops"] .ops-tab-zone-families { display: flex; flex-direction: column; gap: .7rem; }
  body[data-active-page="ops"] .ops-tab-zone .ops-tab-family,
  body[data-active-page="ops"] .ops-tab-zone-config .ops-tab-family { width: 100%; min-width: 0; }
  body[data-active-page="ops"] .ops-primary-workspace { grid-template-columns: minmax(0, 1fr); }
  body[data-active-page="ops"] .ops-primary-workspace > .ops-primary-surface,
  body[data-active-page="ops"] .ops-primary-workspace > section.ops-notifications-surface,
  body[data-active-page="ops"] .ops-primary-workspace > #adminBookedCard { grid-column: 1; grid-row: auto; }
  body[data-active-page="ops"] #adminBookedCard { padding: 1rem; }
}

/* Final mobile hierarchy: keep the two primary surfaces and the two navigation
   zones readable instead of forcing a desktop split into a narrow viewport. */
@media (max-width: 760px) {
  body[data-active-page="ops"] .ops-section-tabs { flex-direction: column; flex-wrap: nowrap; overflow-x: visible; }
  body[data-active-page="ops"] .ops-tab-zone { width: 100%; flex: 0 0 auto; }
  body[data-active-page="ops"] .ops-primary-workspace { grid-template-columns: minmax(0, 1fr); }
  body[data-active-page="ops"] .ops-primary-workspace > .ops-primary-surface,
  body[data-active-page="ops"] .ops-primary-workspace > #adminBookedCard { grid-column: 1; grid-row: auto; }
}

/* Ops information architecture: one visual system for boards, review hubs
   and settings. Keep editorial fields spacious; compact only the chrome and
   the short operational controls. */
body[data-active-page="ops"] #pilotManagementSection {
  background: linear-gradient(145deg, rgba(255,250,244,.98), rgba(232,241,238,.92));
}
body[data-active-page="ops"] #pilotManagementSection #pilotAdminFilters {
  grid-template-columns: minmax(16rem, 1.55fr) repeat(4, minmax(10rem, 1fr));
  align-items: stretch;
}
body[data-active-page="ops"] #pilotManagementSection .pilot-admin-shell {
  max-width: none;
  background: rgba(255,250,244,.8);
}
body[data-active-page="ops"] #pilotManagementSection .pilot-admin-editor {
  max-width: none;
}
.ops-status-board-shell { background: linear-gradient(145deg, rgba(232,241,238,.96), rgba(255,250,244,.96)); }
.ops-status-board-shell .admin-booking-window-tabs { display: none; }
.ops-flight-status-board { display: block; }
.ops-flight-board .pilot-board-columns { margin-bottom: .25rem; }
.ops-board-card { min-height: 12rem; }
.ops-board-card .booking-row-actions { margin-top: auto; }
.ops-voucher-ledger {
  margin-top: 1rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(216,107,49,.25);
  border-left: 4px solid #d86b31;
  border-radius: .85rem;
  background: linear-gradient(145deg, rgba(255,248,237,.96), rgba(255,255,255,.86));
}
.ops-voucher-ledger > .section-toolbar { margin-bottom: .5rem; }
.ops-voucher-ledger .helper-copy { margin: 0 0 .65rem; }
.ops-voucher-ledger .admin-activity-grid { gap: .45rem; }
.ops-voucher-badge { display: inline-flex; width: fit-content; margin: .1rem 0 .4rem; padding: .25rem .45rem; border-radius: .3rem; background: #d86b31; color: #fff8ed; font-size: .62rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.ops-review-hub { padding: clamp(1rem, 2vw, 1.5rem); background: linear-gradient(145deg, rgba(255,250,244,.98), rgba(232,241,238,.9)); }
.ops-review-hub > .section-toolbar { margin-bottom: .85rem; }
.ops-subtabs { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 .85rem; padding: .35rem; border: 1px solid rgba(23,52,60,.12); border-radius: .75rem; background: rgba(232,241,238,.7); }
.ops-subtabs button { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.25rem; padding: .45rem .7rem; border: 1px solid transparent; border-radius: .48rem; background: transparent; color: #52676d; cursor: pointer; font: inherit; font-size: .74rem; font-weight: 850; }
.ops-subtabs button span { display: inline-grid; min-width: 1.25rem; height: 1.25rem; place-items: center; border-radius: .3rem; background: rgba(23,52,60,.1); font-size: .64rem; }
.ops-subtabs button:hover, .ops-subtabs button.is-active { border-color: rgba(216,107,49,.4); background: #fffaf2; color: #17343c; box-shadow: 0 .35rem .8rem rgba(23,52,60,.08); }
.ops-subtabs button.is-active span { background: #d86b31; color: #fffaf2; }
.ops-review-subsection { padding: .25rem 0 0; }
.ops-review-subsection > .section-toolbar { display: none; }
.ops-review-subsection .proposal-review-list { padding-top: .1rem; }
.ops-carousel-track { min-width: 0; }
.ops-settings-track, .ops-takeoff-track { display: grid; }
.ops-settings-track > .settings-group,
.ops-settings-track > .ops-settings-access-panel,
.ops-takeoff-track > .takeoff-editor-group { display: none; margin: 0; }
.ops-settings-track > .settings-group.is-active,
.ops-settings-track > .ops-settings-access-panel.is-active,
.ops-takeoff-track > .takeoff-editor-group.is-active { display: block; }
.ops-settings-track > .ops-settings-partner-panel { display: none; margin: 0; }
.ops-settings-track > .ops-settings-partner-panel.is-active { display: block; }
.ops-settings-tabs, .ops-takeoff-tabs { margin-top: .85rem; }
.ops-settings-partner-panel { margin-top: 1rem; padding: 1rem; border: 1px solid rgba(216,107,49,.22); border-left: 4px solid #d86b31; border-radius: .9rem; background: linear-gradient(145deg, rgba(255,248,237,.9), rgba(232,241,238,.66)); }
#takeoffTrackLogCreateSection { padding: clamp(1rem, 2vw, 1.5rem); background: linear-gradient(145deg, rgba(255,248,237,.96), rgba(232,241,238,.9)); }
#takeoffTrackLogCreateSection .tracklog-dropzone { min-height: 9rem; border: 1px dashed rgba(216,107,49,.55); background: rgba(255,255,255,.7); }
@media (max-width: 760px) {
  body[data-active-page="ops"] #pilotManagementSection #pilotAdminFilters { grid-template-columns: 1fr 1fr; }
  .ops-subtabs { overflow-x: auto; flex-wrap: nowrap; }
  .ops-subtabs button { flex: 0 0 auto; }
}

#pilotSection{order:2}#flightTrackShowcase{order:3}

/* Operations keeps the same calm, borderless public header language while
   the dashboard itself remains a protected working surface. */
body[data-active-page="ops"] .topbar {
  width: 100%;
  max-width: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body[data-active-page="ops"] .nav-link {
  background: transparent;
  border-color: transparent;
  border-radius: 0;
  box-shadow: none;
}
body[data-active-page="ops"] .nav-link:hover,
body[data-active-page="ops"] .nav-link:focus-visible,
body[data-active-page="ops"] .nav-link.is-active {
  background: transparent;
  border-color: transparent;
  box-shadow: inset 0 -2px 0 var(--accent);
}
.ops-readonly-note {
  margin: .35rem 0 0;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}
body[data-ops-readonly="true"] #adminReadonlyNote {
  display: block !important;
}
body[data-ops-readonly="true"] #adminPanel button:disabled,
body[data-ops-readonly="true"] #adminPanel input:disabled,
body[data-ops-readonly="true"] #adminPanel select:disabled,
body[data-ops-readonly="true"] #adminPanel textarea:disabled {
  cursor: not-allowed;
  opacity: .58;
}
.admin-user-management .field-grid { margin-top: 1rem; }
.admin-users-list { display: grid; gap: .55rem; margin-top: 1rem; }
.admin-user-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.62); }
.admin-user-row.admin-user-row-reset-open { display: block; }
.admin-user-row > .admin-user-reset-panel { display: block; width: 100%; min-width: 0; box-sizing: border-box; }
.admin-user-reset-form { width: 100%; max-width: 100%; box-sizing: border-box; margin-top: .65rem; }
.admin-user-reset-form { scroll-margin-top: 10rem; }
@media (max-width: 760px) {
  body[data-active-page="ops"] .admin-user-reset-form { scroll-margin-top: 16rem; }
}
.admin-user-row > div { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 760px) {
  .admin-user-row { align-items: flex-start; flex-direction: column; }
}

/* /ops uses the same shared header geometry as the public routes, while
   retaining a readable solid operational surface below it. */
body[data-active-page="ops"] .public-hero-shell .topbar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  width: 100vw;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  padding: 1rem max(1rem, calc((100vw - var(--content-max)) / 2)) 2rem;
  background: linear-gradient(135deg, #20383d 0%, #28545a 100%);
  border: 0;
  border-radius: 0;
  box-shadow: 0 12px 30px rgba(23, 52, 60, .14);
  backdrop-filter: none;
}
body[data-active-page="ops"] .public-hero-shell .brand { grid-column: 1; justify-self: start; min-width: 0; }
body[data-active-page="ops"] .public-hero-shell .nav-links {
  grid-column: 2;
  justify-self: center;
  width: max-content;
  justify-content: center;
  transform: none;
}
body[data-active-page="ops"] .public-hero-shell .language-switch { grid-column: 3; justify-self: end; }
body[data-active-page="ops"] .public-hero-shell .nav-link {
  padding-inline: .15rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body[data-active-page="ops"] .public-hero-shell .nav-link:hover,
body[data-active-page="ops"] .public-hero-shell .nav-link:focus-visible,
body[data-active-page="ops"] .public-hero-shell .nav-link.is-active {
  background: transparent;
  border: 0;
  box-shadow: inset 0 -2px 0 var(--accent);
}
@media (max-width: 760px) {
  body[data-active-page="ops"] .public-hero-shell .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 8rem;
    padding: .7rem 1rem 1.25rem;
  }
  body[data-active-page="ops"] .public-hero-shell .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }
  body[data-active-page="ops"] .public-hero-shell .language-switch { grid-column: 2; grid-row: 1; }
}

.site-footer { margin-top: clamp(3rem, 8vw, 8rem); padding: clamp(2.5rem, 6vw, 5rem) 1rem 2rem; color: #eff8f1; background: #17343c; }
.site-footer-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(12rem, .7fr) minmax(12rem, .8fr); gap: clamp(2rem, 6vw, 7rem); width: min(100%, var(--content-max)); margin: 0 auto; }
.site-footer .eyebrow { color: #9de0d1; }
.site-footer h2 { max-width: 10ch; margin: .4rem 0 1rem; color: #fff; font-size: clamp(2.5rem, 5vw, 5rem); line-height: .85; letter-spacing: -.05em; }
.site-footer p { max-width: 42ch; color: rgba(255,255,255,.72); line-height: 1.65; }
.site-footer-nav { display: grid; align-content: start; gap: .75rem; padding-top: 1.9rem; }
.site-footer-nav a { color: rgba(255,255,255,.84); font-weight: 700; text-decoration: none; }
.site-footer-nav a:hover, .site-footer-nav a:focus-visible { color: #ffbd79; text-decoration: underline; }
.site-footer-note { display: grid; align-content: end; gap: .75rem; padding-bottom: .2rem; border-top: 1px solid rgba(255,255,255,.22); }
.site-footer-note span { padding-top: 1rem; color: #ffbd79; font-weight: 800; }
.site-footer-note small { color: rgba(255,255,255,.66); line-height: 1.55; }
@media (max-width: 760px) { .site-footer-inner { grid-template-columns: 1fr; gap: 1.5rem; } .site-footer-nav { padding-top: 0; } .site-footer-note { margin-top: .5rem; } }

.booked-card {
  grid-column: 1 / -1;
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(246, 239, 227, 0.94)),
    linear-gradient(135deg, rgba(204, 122, 56, 0.08), rgba(41, 95, 83, 0.06));
}

.ops-grid {
  display: grid;
  gap: var(--space-4);
}

.ops-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.catalog-column,
.detail-column,
.admin-forms {
  display: grid;
  gap: var(--space-4);
}

.controls-card {
  align-self: start;
  position: sticky;
  top: 6.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 241, 231, 0.88)),
    radial-gradient(circle at 0% 0%, rgba(36, 93, 136, 0.06), transparent 35%);
}

.controls-head,
.section-toolbar,
.detail-head,
.ops-header,
.booking-row header,
.notification-row header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-3);
}

.filters,
.stacked-form,
.field-grid,
.notification-row,
.weather-summary,
.review-grid {
  display: grid;
  gap: var(--space-3);
}

.detail-tags {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field,
.inline-field {
  display: grid;
  gap: 0.45rem;
}

.phone-field-grid {
  display: grid;
  grid-template-columns: minmax(135px, 0.6fr) minmax(0, 1fr);
  gap: 0.65rem;
}

.field span,
.inline-field span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--surface-ink);
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: var(--control-radius);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.8);
  color: var(--surface-ink);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: rgba(163, 76, 69, 0.9);
  box-shadow: 0 0 0 4px rgba(163, 76, 69, 0.12);
}

.field-error-message {
  display: block;
  margin-top: .35rem;
  color: var(--danger);
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.35;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 130, 77, 0.16);
}

.button {
  border: none;
  border-radius: var(--control-radius);
  padding: 0.9rem 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #e5b059);
  color: #fff9f3;
  box-shadow: 0 16px 24px rgba(181, 95, 45, 0.2);
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.68);
  color: var(--surface-ink);
  border: 1px solid var(--line);
}

.button-wide {
  width: 100%;
}

.checklist,
.number-list {
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.checklist {
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--gold));
}

.number-list {
  padding-left: 1.2rem;
}

.status-pill,
.filter-pill,
.detail-tag,
.step span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.status-pill {
  border: 1px solid transparent;
}

.status-ok {
  background: var(--green-soft);
  color: var(--green);
}

.status-info {
  background: var(--blue-soft);
  color: var(--blue);
}

.status-warn {
  background: rgba(170, 111, 36, 0.14);
  color: var(--warn);
}

.status-soft {
  background: rgba(23, 48, 58, 0.08);
  color: var(--surface-ink);
}

.status-danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.status-awaiting_pilot {
  background: rgba(214, 164, 79, 0.18);
  color: var(--warn);
}

.status-booking_confirmed,
.status-completed {
  background: rgba(46, 108, 93, 0.18);
  color: var(--green);
}

.status-pilot_rejected,
.status-customer_cancelled,
.status-pilot_cancelled,
.status-weather_cancelled,
.status-no_show,
.status-disputed {
  background: rgba(163, 76, 69, 0.14);
  color: var(--danger);
}

.weather-warning-panel {
  margin: 0.85rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(214, 164, 79, 0.7);
  border-left: 4px solid var(--warn);
  border-radius: 0.75rem;
  background: rgba(214, 164, 79, 0.12);
}

.weather-warning-panel p { margin: 0.35rem 0 0; }
.weather-warning-panel-pilot { background: rgba(214, 164, 79, 0.16); }
.weather-warning-badge {
  display: inline-flex;
  width: fit-content;
  margin: 0.5rem 0;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(214, 164, 79, 0.18);
  color: var(--warn);
  font-weight: 700;
}

.filter-pill,
.detail-tag {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  color: var(--muted);
}

.catalog-grid,
.booking-list {
  display: grid;
  gap: var(--space-3);
}

.catalog-grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.takeoff-card,
.pilot-card,
.booking-row,
.notification-row,
.nearby-row,
.pilot-option,
.policy-block,
.weather-day,
.step {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.takeoff-card,
.booking-row,
.notification-row,
.pilot-option {
  box-shadow: 0 10px 24px rgba(24, 39, 43, 0.04);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 241, 231, 0.8)),
    linear-gradient(135deg, rgba(217, 111, 43, 0.04), rgba(31, 123, 103, 0.04));
}

.takeoff-card {
  padding: 0;
  overflow: hidden;
}

.takeoff-card-copy {
  display: grid;
  gap: var(--space-2);
  padding: 0 var(--space-3);
}

.takeoff-card .detail-tags {
  padding: 0 var(--space-3) var(--space-3);
}

.takeoff-catalog-group { grid-column: 1 / -1; display: grid; gap: 1rem; }
.takeoff-catalog-group + .takeoff-catalog-group { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--editorial-line); }
.takeoff-catalog-group-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: 0 .2rem; }
.takeoff-catalog-group-heading h3 { margin: .2rem 0 0; color: var(--editorial-ink); font: 800 clamp(1.65rem, 3vw, 2.8rem)/.95 var(--font-display); letter-spacing: -.035em; }
.takeoff-catalog-group-heading p:not(.eyebrow) { max-width: 48ch; margin: .45rem 0 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.takeoff-group-count { display: inline-grid; min-width: 2rem; height: 2rem; place-items: center; padding: 0 .55rem; border-radius: 999px; background: rgba(45,159,135,.12); color: var(--accent-strong); font-weight: 800; }
.takeoff-group-candidate .takeoff-group-count { background: rgba(81,105,111,.12); color: var(--muted); }
.takeoff-catalog-group-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.takeoff-group-empty { margin: 0; padding: 1rem 1.1rem; border: 1px dashed var(--editorial-line); color: var(--muted); background: rgba(255,255,255,.42); }

.takeoff-card-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.05;
}

.takeoff-card.is-featured {
  border-color: rgba(36, 93, 136, 0.16);
}

.takeoff-card.is-featured .takeoff-card-media img {
  aspect-ratio: 16 / 10;
}

.takeoff-card,
.nearby-row,
.pilot-option {
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.takeoff-card:hover,
.nearby-row:hover,
.pilot-option:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 123, 103, 0.38);
  box-shadow: var(--shadow-md);
}

.takeoff-card.is-unavailable {
  cursor: pointer;
}

.takeoff-card.is-unavailable:hover {
  transform: translateY(-3px);
}

.takeoff-unavailable-message {
  flex: 1 1 100%;
  margin: .25rem 0 0;
  color: var(--danger);
  font-size: .78rem;
  font-weight: 700;
}

.detail-tag-positive {
  background: rgba(46, 108, 93, .14);
  border-color: rgba(46, 108, 93, .28);
  color: var(--green);
}

.detail-tag-muted {
  background: rgba(23, 48, 58, .06);
  color: var(--muted);
}

.nearby-row {
  min-width: 0;
  padding: .85rem 1rem;
  align-content: start;
}

.nearby-row strong {
  align-items: baseline;
  flex-wrap: wrap;
}

.nearby-row strong span {
  color: var(--accent);

  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}

.nearby-row > p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

.nearby-row .detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.nearby-row .detail-tag {
  padding: .3rem .5rem;
  font-size: .72rem;
}

.takeoff-card.is-selected,
.nearby-row.is-selected,
.pilot-option.is-selected {
  border-color: rgba(217, 111, 43, 0.55);
  box-shadow: 0 18px 34px rgba(169, 91, 38, 0.12);
}

.takeoff-card-media {
  position: relative;
  padding: var(--space-3) var(--space-3) 0;
}

.takeoff-card-media .status-pill {
  position: absolute;
  left: calc(var(--space-3) + 0.65rem);
  top: calc(var(--space-3) + 0.65rem);
  backdrop-filter: blur(14px);
}

.takeoff-card img,
.detail-hero,
.pilot-avatar {
  width: 100%;
  object-fit: cover;
}

.takeoff-card-media img,
.detail-hero {
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 9;
}

.takeoff-card-media img {
  aspect-ratio: 16 / 10;
}

.pilot-avatar {
  width: 64px;
  height: 64px;
  border-radius: 20px;
}

.detail-head,
.pilot-header,
.weather-topline,
.policy-block strong,
.nearby-row strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.detail-grid {
  display: grid;
  gap: var(--space-4);
}

.destination-showcase {
  display: grid;
  gap: 0;
}

.destination-showcase-media {
  position: relative;
}

.destination-showcase-overlay {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: var(--space-2);
  padding: clamp(1rem, 1.8vw, 1.75rem);
  background: linear-gradient(180deg, transparent 0%, rgba(17, 28, 33, 0.28) 18%, rgba(17, 28, 33, 0.8) 100%);
  color: #fff8f1;
}

.destination-showcase-overlay h3 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.03em;
}

.destination-showcase-overlay p {
  margin: 0;
  max-width: 58ch;
  color: rgba(255, 248, 240, 0.9);
}

.destination-showcase-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.destination-showcase-body {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4);
}

.detail-meta,
.review-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.meta-block,
.review-box {
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.weather-grid {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.weather-day {
  text-align: left;
}

.weather-day strong {
  font-size: 1rem;
}

.map-card svg {
  width: 100%;
  min-height: 180px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(220, 238, 240, 0.85), rgba(255, 255, 255, 0.92));
  border: 1px solid var(--line);
}

.detail-stat-row {
  display: flex;
  flex-wrap: wrap;
}

.wizard-block {
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

.review-panel {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
}

.portal-grid,
.ops-layout {
  padding-top: var(--space-4);
}

.pilot-admin-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.pilot-admin-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  min-width: 0;
}

.pilot-admin-carousel-viewport { min-width: 0; overflow: hidden; }

.pilot-admin-carousel-button {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 800;
}

.pilot-admin-carousel-button:hover { color: #fff; background: var(--accent); border-color: var(--accent); }

.pilot-license-experience-row { align-items: start; }
.pilot-years-field { max-width: 8rem; }
.pilot-years-field input { width: 4.5rem; }

.pilot-admin-list {
  display: flex;
  gap: var(--space-3);
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
  padding: .25rem .1rem .75rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.pilot-admin-list .pilot-admin-card {
  flex: 0 0 calc((100% - (var(--space-3) * 3)) / 4);
  min-width: 0;
  scroll-snap-align: start;
}
.pilot-admin-card { min-height: 0; padding: .75rem; }
.assignment-role-badge { align-self: center; padding: .3rem .55rem; border: 1px solid var(--accent); color: var(--accent-strong); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.assignment-row.is-region-hidden { display: none; }
.field-help { display: block; margin-top: .35rem; color: var(--muted); font-size: .75rem; font-weight: 400; }
.pilot-proposal-alert { display: flex; align-items: center; gap: .8rem; grid-column: 1 / -1; padding: 1rem 1.15rem; color: #fff; background: #b53f3b; border: 2px solid #8f2d2b; text-decoration: none; box-shadow: 0 8px 18px rgba(143, 45, 43, .2); }
.pilot-proposal-alert > span:nth-child(2) { display: grid; gap: .2rem; flex: 1; }
.pilot-proposal-alert small { color: rgba(255,255,255,.88); }
.pilot-proposal-alert-badge { font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.admin-activity-panel { margin: 1rem 0; padding: 1.25rem; border: 1px solid var(--line-strong); background: #fff; }
.admin-activity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .7rem; }
.admin-activity-card { display: flex; align-items: flex-start; gap: .7rem; min-height: 5rem; padding: .85rem; color: var(--text); background: var(--bg-soft); border: 1px solid var(--line); text-decoration: none; }
.admin-activity-card:hover { border-color: var(--accent); background: #fff; }
.admin-activity-card > span:nth-child(2) { display: grid; gap: .25rem; flex: 1; }
.admin-activity-card small { color: var(--muted); line-height: 1.4; }
.admin-activity-card.is-alert { border-color: #b53f3b; background: #fff3f1; }
.admin-activity-card.is-empty { background: #f4f8f3; }
.activity-icon { display: grid; place-items: center; width: 1.45rem; height: 1.45rem; color: #fff; background: var(--accent); font-weight: 900; }
.admin-activity-card.is-alert .activity-icon { background: #b53f3b; }
.admin-panel-purpose,
.admin-notifications-purpose { margin: .35rem 0 0; max-width: 58rem; font-size: .78rem; line-height: 1.45; }
.admin-notifications-purpose { padding: .45rem .6rem; border-left: 2px solid var(--accent); background: rgba(45,159,135,.06); }

.admin-booking-list {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.booking-status-track {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .7rem;
  padding: .55rem .65rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: rgba(255, 255, 255, .56);
}

.booking-status-step {
  padding: .32rem .55rem;
  font-size: .7rem;
  line-height: 1.1;
}

.admin-booking-row {
  padding: var(--space-4);
}

.ai-booking-review {
  display: grid;
  gap: .25rem;
  margin: .55rem 0;
  padding: .65rem .75rem;
  border: 1px solid rgba(23, 49, 61, .15);
  border-radius: .7rem;
  background: rgba(255, 255, 255, .55);
  font-size: .78rem;
}
.ai-booking-review > div { display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.ai-booking-review span, .ai-booking-review small { color: var(--muted); }
.ai-booking-review p { margin: 0; }
.ai-booking-review.is-warning { border-color: rgba(154, 91, 0, .32); background: rgba(255, 246, 221, .7); }
.ai-booking-review.is-danger { border-color: rgba(164, 55, 48, .35); background: rgba(255, 235, 232, .72); }
.ai-handoff-summary {
  display: grid;
  gap: .35rem;
  margin: .65rem 0;
  padding: .75rem .85rem;
  border: 1px solid rgba(36, 93, 136, .24);
  border-radius: .7rem;
  background: rgba(235, 245, 250, .72);
  color: var(--text);
  font-size: .82rem;
}
.ai-handoff-heading { display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.ai-handoff-heading span, .ai-handoff-summary small { color: var(--muted); }
.ai-handoff-summary ul { margin: 0 0 0 1.1rem; padding: 0; }
.ai-handoff-summary li + li { margin-top: .2rem; }

.booking-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
  margin: var(--space-3) 0;
}

@media (min-width: 761px) {
  .booked-flight-card .booking-detail-grid {
    grid-template-columns: minmax(12rem, .78fr) minmax(14rem, .82fr) minmax(20rem, 1.6fr);
  }
}

.booked-flight-card .review-box {
  font-size: .94rem;
  line-height: 1.48;
}

.booked-flight-card .review-box strong {
  font-size: .82rem;
  letter-spacing: .08em;
}

.booked-flight-card .review-box p {
  margin: .4rem 0 0;
}

.pilot-admin-card,
.pilot-editor-section,
.assignment-row,
.day-toggle {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
}

.pilot-admin-card {
  padding: var(--space-3);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(245, 239, 228, 0.8)),
    linear-gradient(135deg, rgba(36, 93, 136, 0.04), rgba(217, 111, 43, 0.04));
}

.takeoff-admin-picker { display: grid; gap: .75rem; margin: 1rem 0 1.25rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.58); }
.takeoff-admin-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .55rem; max-height: 15rem; overflow: auto; }
.takeoff-admin-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; padding: .7rem .8rem; text-align: left; border: 1px solid var(--line); border-radius: .75rem; color: var(--text); background: rgba(255,255,255,.8); cursor: pointer; }
.takeoff-admin-row:hover, .takeoff-admin-row.is-selected { border-color: var(--accent); background: #fff; }
.takeoff-admin-row span:first-child { display: grid; gap: .2rem; }
.takeoff-admin-row small { color: var(--muted); }

.pilot-admin-card:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 130, 77, 0.42);
  box-shadow: var(--shadow-md);
}

.pilot-admin-card.is-selected {
  border-color: rgba(217, 130, 77, 0.55);
  box-shadow: 0 18px 34px rgba(181, 95, 45, 0.12);
}

.pilot-admin-editor,
.pilot-editor-grid,
.performance-grid,
.weekday-grid,
.assignment-grid {
  display: grid;
  gap: var(--space-3);
}

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

@media (min-width: 761px) {
  .pilot-editor-section-profile,
  .pilot-editor-section-status {
    grid-column: 1 / -1;
  }

  .pilot-editor-section-contact {
    grid-column: 1;
  }

  .pilot-editor-section-pricing,
  .pilot-editor-section-assignments {
    grid-column: 2;
  }
}

.pilot-inbox-available-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  align-items: stretch;
  grid-column: 1 / -1;
  width: 100%;
}

.pilot-inbox-available-grid > .card {
  min-width: 0;
}

.pilot-inbox-available-grid > .pilot-inbox-card,
.pilot-inbox-available-grid > .pilot-available-takeoffs-card {
  grid-row: 1;
}

.pilot-inbox-available-grid > .pilot-inbox-card {
  grid-column: 1;
}

.pilot-inbox-available-grid > .pilot-available-takeoffs-card {
  grid-column: 2;
}

.pilot-inbox-available-grid > .pilot-assigned-takeoffs-card {
  grid-column: 1 / -1;
}

.pilot-inbox-card,
.pilot-available-takeoffs-card {
  height: 100%;
  box-sizing: border-box;
}

.pilot-editor-fields { min-width: 0; padding: 0; border: 0; }
.pilot-editor-fields[disabled] { opacity: .86; }

.pilot-editor-section {
  padding: var(--space-4);
  border: 1px solid var(--ops-group-line, rgba(45, 159, 135, .16));
  border-top: 4px solid var(--ops-group-accent, var(--accent));
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 0 rgba(23, 49, 61, .045), 0 18px 30px rgba(35, 52, 58, .08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(245, 239, 228, 0.75)),
    linear-gradient(135deg, rgba(31, 123, 103, 0.04), rgba(36, 93, 136, 0.04));
}

/* Ops data hierarchy: colors identify the job of a field group without
   turning the editor into a collection of unrelated bright panels. */
.ops-data-group { --ops-group-accent: #2d9f87; --ops-group-line: rgba(45, 159, 135, .18); }
.ops-data-group-profile { --ops-group-accent: #2d9f87; --ops-group-line: rgba(45, 159, 135, .2); }
.ops-data-group-contact { --ops-group-accent: #4682a7; --ops-group-line: rgba(70, 130, 167, .2); }
.ops-data-group-pricing { --ops-group-accent: #d9794f; --ops-group-line: rgba(217, 121, 79, .22); }
.ops-data-group-availability { --ops-group-accent: #7b6bb2; --ops-group-line: rgba(123, 107, 178, .22); }
.ops-data-group-assignments { --ops-group-accent: #799b55; --ops-group-line: rgba(121, 155, 85, .24); }
.ops-data-group-status { --ops-group-accent: #c85b64; --ops-group-line: rgba(200, 91, 100, .22); }
.ops-data-group {
  border-left: 4px solid var(--ops-group-accent);
  transform: translateY(-1px);
}
.ops-data-group h4 { display: flex; align-items: center; gap: .55rem; }
.ops-data-group h4::before {
  content: '';
  width: .65rem;
  height: .65rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ops-group-accent);
  box-shadow: 0 0 0 .28rem color-mix(in srgb, var(--ops-group-accent) 14%, transparent);
}
.ops-data-group-assignments .assignment-grid {
  max-height: 25rem;
  overflow-y: auto;
  padding: .25rem .35rem .25rem 0;
  overscroll-behavior: contain;
}
.ops-data-group-assignments .assignment-row { background: rgba(255, 255, 255, .66); }

/* This rule intentionally comes after the Ops-wide flat reset below. Every
   semantic Pilot details group keeps the same raised 3D surface as Settings
   and the Takeoff editor. */
body[data-active-page="ops"] .pilot-editor-section.ops-data-group {
  border-left: 4px solid var(--ops-group-accent);
  border-radius: 1rem;
  box-shadow: 0 10px 0 rgba(23, 49, 61, .045), 0 18px 30px rgba(35, 52, 58, .08);
  transform: translateY(-1px);
}

.pilot-editor-section h4 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.pilot-admin-filters {
  padding-top: var(--space-4);
}

.performance-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.weekday-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.day-toggle {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0.95rem;
}

.day-toggle input {
  width: auto;
  margin: 0;
}

/* Voucher choices keep one predictable, full-width interaction surface on
   booking and pilot-registration screens instead of shrinking to the text. */
.voucher-choice-toggle {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  line-height: 1.2;
  padding: 0.65rem 0.75rem;
}
.voucher-choice-toggle span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.assignment-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  gap: var(--space-3);
  padding: var(--space-3);
}

.assignment-row span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.2rem 0.55rem;
  align-items: center;
  min-width: 0;
}

.assignment-row input[type="checkbox"] {
  width: auto;
  margin-right: 0.55rem;
}

.assignment-row strong,
.assignment-row small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.assignment-row strong {
  grid-column: 2;
  line-height: 1.25;
}

.assignment-row small {
  grid-column: 2;
  color: var(--muted);
}

.assignment-row .assignment-role-badge {
  display: inline-flex;
  align-self: start;
  justify-self: end;
}

.pilot-available-takeoffs-card .assignment-row.is-assigned {
  border-color: #aeb5bd;
  background: linear-gradient(135deg, #e3e6ea, #f1f3f5);
  box-shadow: inset 4px 0 0 #7d8792, 0 6px 16px rgba(24, 42, 34, .08);
}

.pilot-available-takeoffs-card .assignment-row.is-assigned .assignment-role-badge {
  color: #4b5563;
  border-color: #9aa3ad;
  background: #d5d9de;
  font-weight: 800;
}

.notification-list,
.booking-list,
.nearby-list,
.pilot-recommendations {
  margin-top: var(--space-3);
}

.admin-booking-list {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.booked-flight-card {
  padding: var(--space-4);
  border-left: 4px solid var(--accent);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(250, 245, 236, 0.84)),
    radial-gradient(circle at 84% 8%, rgba(217, 111, 43, 0.08), transparent 24%);
}

.booked-flight-card .booking-detail-grid {
  margin-top: var(--space-3);
}

.booked-flight-card .review-box strong {
  display: block;
  margin-bottom: 0.35rem;
}

.ips-qr-block {
  display: grid;
  gap: 0.35rem;
  justify-items: stretch;
  margin-top: 0.65rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.ips-qr-image {
  width: min(100%, 280px);
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: #fff;
  padding: 0.25rem;
  justify-self: end;
}

.ips-qr-missing {
  margin-top: 0.55rem;
  color: var(--warning, #9a5b00);
}

.booking-row-actions,
.provider-grid,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tiny-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--surface-ink);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.tiny-button:hover {
  border-color: rgba(217, 130, 77, 0.5);
}

.inline-feedback {
  min-height: 1.3rem;
  font-size: 0.92rem;
}

.registration-email-status {
  display: flex;
  align-items: center;
  gap: .3rem;
  min-height: 1rem;
  margin-top: .15rem;
  color: var(--muted, #667572);
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.25;
}
.registration-email-status.is-checking { color: var(--accent-strong, #286d61); }
.registration-email-status.is-success,
.registration-email-status.is-pending { color: var(--green, #287f6d); }
.registration-email-status.is-error,
.registration-email-status.is-unavailable { color: var(--danger, #a23e32); }
.registration-email-status .form-loading-spinner { width: .64rem; height: .64rem; margin-inline-end: .05rem; border-width: 1.5px; }

.inline-feedback.is-error {
  color: var(--danger);
}

.inline-feedback.is-success {
  color: var(--green);
}
.panel-error { border: 1px solid rgba(177, 70, 59, .3); }
.panel-error .tiny-button { margin-top: .65rem; }

.ops-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  position: relative;
  z-index: 1000;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.admin-notifications-dropdown-wrapper {
  position: relative;
  z-index: 1001;
}

.admin-bell-btn {
  position: relative;
  z-index: 1003;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-bell-btn .badge {
  background: var(--danger);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: bold;
}

.admin-notifications-panel {
  position: fixed;
  top: 4.75rem;
  right: max(1rem, calc((100vw - var(--content-max)) / 2));
  width: min(520px, calc(100vw - 2rem));
  height: min(620px, calc(100vh - 6rem));
  max-height: calc(100vh - 6rem);
  box-sizing: border-box;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1002;
  margin-top: 0;
  overflow-y: auto;
  padding: .7rem;
}

.admin-notifications-list-mini {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: .65rem;
}

.notification-row-mini {
  padding: .5rem .6rem;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border-left: 3px solid transparent;
}

.notification-row-mini.unread {
  border-left-color: var(--accent);
  background: var(--surface);
}

.notification-header-mini {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: .15rem;
}

.notification-time {
  font-size: .68rem;
  color: var(--muted);
  white-space: nowrap;
}

.notification-row-mini p {
  font-size: .78rem;
  line-height: 1.25;
  margin: 0;
}

.notification-actions-mini {
  margin-top: .3rem;
  display: flex;
  justify-content: flex-end;
}

.button-small {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

.media-shell {
  display: grid;
  gap: var(--space-3);
}

.media-dropzone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(145deg, rgba(14, 28, 33, 0.68), rgba(28, 52, 57, 0.72)),
    radial-gradient(circle at 12% 12%, rgba(217, 111, 43, 0.2), transparent 30%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.media-dropzone:hover,
.media-dropzone:focus-visible,
.media-dropzone.is-dragover {
  transform: translateY(-1px);
  border-color: rgba(240, 197, 111, 0.7);
  box-shadow: 0 20px 32px rgba(8, 15, 18, 0.24);
}

.media-dropzone-copy {
  display: grid;
  gap: 0.45rem;
}

.media-dropzone-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(240, 197, 111, 0.18);
  color: #f6d789;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.media-dropzone-copy strong {
  font-size: 1.06rem;
  color: #fff6ea;
}

.media-dropzone-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.media-upload-queue,
.media-gallery {
  display: grid;
  gap: var(--space-3);
}

.media-upload-queue-head,
.media-gallery-head,
.media-summary,
.media-lightbox-head,
.media-card-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-3);
}

.media-upload-queue-list,
.media-gallery-grid {
  display: grid;
  gap: var(--space-3);
}

.media-queue-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.media-queue-item.is-failed {
  border-color: rgba(160, 77, 68, 0.45);
  background: rgba(160, 77, 68, 0.12);
}

.media-queue-item.is-uploading {
  border-color: rgba(240, 197, 111, 0.55);
  background: rgba(240, 197, 111, 0.08);
}

.media-queue-item.is-uploaded {
  border-color: rgba(41, 95, 83, 0.5);
  background: rgba(41, 95, 83, 0.12);
}

.media-queue-preview {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(7, 15, 18, 0.65);
}

.media-queue-preview img,
.media-queue-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-queue-copy {
  display: grid;
  gap: 0.3rem;
}

.media-queue-copy strong,
.media-queue-copy p,
.media-queue-copy small {
  margin: 0;
}

.media-queue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.media-summary {
  align-items: center;
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.media-gallery-head {
  margin-top: var(--space-2);
}

.media-gallery-head h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.media-gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.media-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 16px 28px rgba(6, 14, 16, 0.16);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.media-card:hover,
.media-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(240, 197, 111, 0.55);
  box-shadow: 0 24px 40px rgba(6, 14, 16, 0.22);
}

.media-card-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, rgba(8, 15, 18, 0.86), rgba(17, 31, 35, 0.96));
}

.media-card-processing {
  display: grid;
  place-content: center;
  gap: .35rem;
  height: 100%;
  padding: 1rem;
  text-align: center;
  color: #17343c;
  background: linear-gradient(145deg, #f6ead1, #fff8e9);
}

.media-card-processing span { font-size: .78rem; color: #6b5d45; }

.media-card-visual img,
.media-card-visual video,
.media-lightbox-body img,
.media-lightbox-body video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-play-badge {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(8, 15, 18, 0.7);
  color: #f6efe7;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.media-card-copy {
  display: grid;
  gap: 0.45rem;
  padding: var(--space-3);
}

.media-kind-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(240, 197, 111, 0.14);
  color: #f4cf84;
  font-size: 0.75rem;
  font-weight: 700;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 15, 18, 0.76);
  backdrop-filter: blur(16px);
}

.media-lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.media-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(15, 24, 28, 0.98), rgba(21, 39, 45, 0.96)),
    radial-gradient(circle at 12% 12%, rgba(204, 122, 56, 0.14), transparent 26%);
  box-shadow: 0 28px 72px rgba(2, 6, 8, 0.42);
}

.media-lightbox-head h3 {
  margin: 0;
  font-family: var(--font-display);
}

.media-lightbox-body {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.media-lightbox-body img,
.media-lightbox-body video {
  max-height: 66vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.52);
}

.media-lightbox-meta {
  display: grid;
  gap: var(--space-2);
}

.media-lightbox-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.media-lightbox .helper-copy,
.media-lightbox .detail-tag {
  color: rgba(246, 239, 231, 0.82);
}
.ips-qr-lightbox-panel { width: min(620px, 100%); }
.ips-qr-lightbox-body { justify-items: center; }
.ips-qr-lightbox-body img { width: min(520px, 88vw); max-height: 72vh; image-rendering: pixelated; }

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


.toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 10000;
  box-sizing: border-box;
  width: min(360px, calc(100vw - 2rem));
  max-width: 360px;
  overflow-wrap: anywhere;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(23, 48, 58, 0.94);
  color: #f9f3ea;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.shimmer,
.shimmer-block {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.74);
}

.shimmer::after,
.shimmer-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.7s infinite;
}

.detail-skeleton {
  min-height: 460px;
  border-radius: var(--radius-lg);
}

.fade-in {
  animation: fadeUp 520ms ease both;
}

.helper-copy code {
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

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

@media (max-width: 1120px) {
  .hero,
  .nearby-grid,
  .explore-grid,
  .booking-grid,
  .portal-grid,
  .ops-layout,
  .pilot-admin-shell {
    grid-template-columns: 1fr;
  }

  .booking-side-panel {
    position: static;
    grid-column: 1;
    grid-row: 2;
  }

  #bookingWizardCard {
    grid-column: 1;
    grid-row: 1;
  }

  .detail-column {
    order: -1;
  }

  .destination-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar,
  .controls-head,
  .section-toolbar,
  .detail-head,
  .ops-header,
  .booking-row header,
  .notification-row header {
    flex-direction: column;
    align-items: stretch;
  }

  .field-grid,
  .phone-field-grid,
  .detail-meta,
  .review-grid,
  .pilot-editor-grid,
  .weekday-grid,
    .assignment-row {
    grid-template-columns: 1fr;
  }

  .pilot-inbox-available-grid {
    grid-template-columns: 1fr;
  }

  .pilot-inbox-available-grid > .pilot-inbox-card,
  .pilot-inbox-available-grid > .pilot-available-takeoffs-card,
  .pilot-inbox-available-grid > .pilot-assigned-takeoffs-card {
    grid-column: 1;
    grid-row: auto;
  }


  .booking-weather-card .weather-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .destination-rail,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .customer-portal-grid,
  .pilot-portal-grid {
    grid-template-columns: 1fr;
  }

  .media-dropzone,
  .media-queue-item {
    grid-template-columns: 1fr;
  }

  .media-upload-queue-head,
  .media-gallery-head,
  .media-summary,
  .media-lightbox-head,
  .media-card-topline,
  .media-lightbox-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .destination-showcase-overlay {
    position: static;
    background: linear-gradient(180deg, rgba(17, 28, 33, 0.84), rgba(17, 28, 33, 0.92));
  }

  .discover-spotlight-rail {
    position: static;
    width: auto;
    padding: 0.75rem 1rem 0;
  }

  .discover-rail-card {
    box-shadow: none;
  }

  .hero-shell,
  .page {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .card {
    padding: 1.2rem;
  }
}

/* Homepage correction pass: keep the Kumulus-style hero clean and let all
   destination detail live in the editorial area below it. */
.discover-spotlight-rail { top: 1.25rem; right: clamp(1rem, 4vw, 4.5rem); bottom: auto; width: min(360px, calc(100% - 2rem)); }
.discover-rail-card { padding: .65rem .75rem; border-color: rgba(255,255,255,.28); background: rgba(20, 30, 35, .3); box-shadow: 0 12px 28px rgba(7,16,20,.14); backdrop-filter: blur(10px); }
.discover-rail-card .section-toolbar { gap: .5rem; }
.discover-rail-card .eyebrow { font-size: .58rem; letter-spacing: .12em; }
.discover-rail-card h3 { font-size: .92rem; }
.discover-rail-card .status-pill { display: none; }
.destination-rail { gap: .45rem; }
.destination-chip { grid-template-columns: 2.8rem 1fr; gap: .55rem; padding: .3rem; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.destination-chip img { width: 2.8rem; height: 2.8rem; }
.destination-chip strong { font-size: .68rem; line-height: 1.05; }
.destination-chip small { font-size: .56rem; }
.destination-showcase-media { min-height: 0; background: #dbe8ed; }
.destination-showcase-media .detail-hero { width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: auto; object-fit: contain; object-position: center; }
.destination-showcase-media .detail-hero { background: linear-gradient(135deg, #dbe8ed, #9fb8c0); transition: opacity .18s ease; }
.destination-showcase-media .detail-hero.hero-image-loading { opacity: .2; }
.destination-showcase-media .detail-hero.hero-image-ready { opacity: 1; }
.destination-showcase-media .detail-hero.hero-image-error {
  opacity: 1;
  background: linear-gradient(135deg, rgba(23,48,58,.92), rgba(47,110,93,.72));
}
.destination-showcase-overlay { position: absolute; bottom: clamp(1.5rem, 5vw, 4.5rem); }
.destination-showcase-overlay h3 { max-width: 11ch; }
.experience-story { width: min(100% - 2rem, 86rem); max-width: none; margin: 0 auto 5rem; min-height: 0; grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr); }
.experience-story-image { min-height: 100%; background-size: cover; background-position: center; }
.experience-story-copy { padding: clamp(2rem, 4vw, 5rem); }
.experience-story-copy h2 { max-width: 13ch; }
.experience-story-lead { margin: -.35rem 0 1.1rem; max-width: 48ch; font-size: 1.05rem; color: var(--muted); line-height: 1.55; }
.flight-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin: 2.5rem 0; }
.flight-guide-grid article { padding-top: 1rem; border-top: 1px solid var(--line); }
.flight-guide-grid h3 { margin: 0 0 .55rem; font-size: 1rem; text-transform: uppercase; }
.flight-guide-grid p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.65; }
.experience-story-answer { padding: 1rem 1.15rem; border-left: 3px solid var(--accent); background: rgba(255,255,255,.42); }
.flight-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1.2rem; margin: 2rem 0 1.5rem; }
.flight-faq-grid .section-toolbar { grid-column: 1 / -1; margin-bottom: .2rem; }
.flight-faq-grid details { border-top: 1px solid var(--line); padding: .85rem 0; }
.flight-faq-grid summary { cursor: pointer; font-weight: 800; color: var(--surface-ink); }
.flight-faq-grid details p { margin: .65rem 0 0; color: var(--muted); font-size: .86rem; line-height: 1.65; }
.experience-source-note { margin: 1.5rem 0 0; color: var(--muted); font-size: .76rem; line-height: 1.6; }
@media (max-width: 960px) { .experience-story { grid-template-columns: 1fr; } .experience-story-image { min-height: 25rem; } .flight-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .discover-spotlight-rail { top: .75rem; right: .75rem; width: calc(100% - 1.5rem); } .destination-showcase-overlay { left: 1rem; right: 1rem; bottom: 1.25rem; } .destination-showcase-overlay h3 { font-size: clamp(2.5rem, 14vw, 4.5rem); } .experience-story { width: calc(100% - 2rem); } .experience-story-image { min-height: 17rem; } .experience-story-copy { padding: 1.5rem 1rem 2.5rem; } .flight-guide-grid, .flight-faq-grid { grid-template-columns: 1fr; } }

/* Kumulus visual system: blue action color, ink navigation, warm white canvas,
   editorial photography, and restrained rectangular content surfaces. */
:root {
  --bg: #f6f5f0;
  --bg-soft: #ecebe6;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-ink: #212123;
  --line: #e5e5e5;
  --line-strong: #cfcfcf;
  --text: #212123;
  --muted: #757575;
  --accent: #2391cf;
  --accent-strong: #0077be;
  --accent-soft: rgba(35, 145, 207, 0.12);
  --green: #50a06b;
  --green-soft: rgba(80, 160, 107, 0.12);
  --gold: #aba9a4;
  --blue: #2391cf;
  --blue-soft: rgba(35, 145, 207, 0.12);
  --shadow-lg: 0 10px 30px rgba(33, 33, 35, 0.08);
  --shadow-md: 0 5px 16px rgba(33, 33, 35, 0.08);
  --radius-xl: 0;
  --radius-lg: 0;
  --radius-md: 0;
  --radius-sm: 0;
  --font-body: "Raleway", Arial, sans-serif;
  --font-display: "Raleway", Arial, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}

.site-bg { display: none; }

.hero-shell {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding: 0;
  pointer-events: none;
}

.topbar {
  position: absolute;
  inset: 0 0 auto;
  max-width: none;
  padding: 24px clamp(1.25rem, 4vw, 4.5rem);
  background: transparent;
  border: 0;
  box-shadow: none;
  pointer-events: auto;
}

.brand { color: #fff; }
.brand { text-decoration: none; }
.brand-name { display: block; color: inherit; font-size: .9rem; letter-spacing: .08em; line-height: 1.1; }
.brand-mark {
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
  font-size: 1.2rem;
  letter-spacing: 0.16em;
}
.brand .eyebrow,
.brand-copy { color: rgba(255, 255, 255, 0.82); }
.brand-copy { margin: 0; font-size: 0.72rem; }

.nav-links { gap: 0.25rem; }
.nav-link {
  padding: 0.6rem 0.7rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-link::after {
  inset: auto 0.7rem 0.3rem;
  height: 2px;
  background: var(--accent);
}
.nav-link.is-active,
.nav-link:hover { color: #fff; background: transparent; box-shadow: none; }

body[data-active-page="explore"] .hero-shell,
body[data-active-page="book"] .hero-shell,
body[data-active-page="editor"] .hero-shell,
body[data-active-page="customer"] .hero-shell,
body[data-active-page="pilot"] .hero-shell,
body[data-active-page="ops"] .hero-shell,
body[data-active-page="booked"] .hero-shell {
  position: relative;
  inset: auto;
  padding: 0;
}
body[data-active-page="explore"] .topbar,
body[data-active-page="book"] .topbar,
body[data-active-page="editor"] .topbar,
body[data-active-page="customer"] .topbar,
body[data-active-page="pilot"] .topbar,
body[data-active-page="ops"] .topbar,
body[data-active-page="booked"] .topbar {
  position: relative;
  background: var(--surface-strong);
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
body[data-active-page="explore"] .brand,
body[data-active-page="book"] .brand,
body[data-active-page="editor"] .brand,
body[data-active-page="customer"] .brand,
body[data-active-page="pilot"] .brand,
body[data-active-page="ops"] .brand,
body[data-active-page="booked"] .brand { color: var(--text); }
body[data-active-page="explore"] .brand-mark,
body[data-active-page="book"] .brand-mark,
body[data-active-page="editor"] .brand-mark,
body[data-active-page="customer"] .brand-mark,
body[data-active-page="pilot"] .brand-mark,
body[data-active-page="ops"] .brand-mark,
body[data-active-page="booked"] .brand-mark { color: var(--text); }
body[data-active-page="explore"] .brand .eyebrow,
body[data-active-page="explore"] .brand-copy,
body[data-active-page="book"] .brand .eyebrow,
body[data-active-page="book"] .brand-copy,
body[data-active-page="editor"] .brand .eyebrow,
body[data-active-page="editor"] .brand-copy,
body[data-active-page="customer"] .brand .eyebrow,
body[data-active-page="customer"] .brand-copy,
body[data-active-page="pilot"] .brand .eyebrow,
body[data-active-page="pilot"] .brand-copy,
body[data-active-page="ops"] .brand .eyebrow,
body[data-active-page="ops"] .brand-copy,
body[data-active-page="booked"] .brand .eyebrow,
body[data-active-page="booked"] .brand-copy { color: var(--muted); }
body[data-active-page="explore"] .nav-link,
body[data-active-page="book"] .nav-link,
body[data-active-page="editor"] .nav-link,
body[data-active-page="customer"] .nav-link,
body[data-active-page="pilot"] .nav-link,
body[data-active-page="ops"] .nav-link,
body[data-active-page="booked"] .nav-link { color: var(--text); }
body[data-active-page="explore"] .nav-link.is-active,
body[data-active-page="book"] .nav-link.is-active,
body[data-active-page="editor"] .nav-link.is-active,
body[data-active-page="customer"] .nav-link.is-active,
body[data-active-page="pilot"] .nav-link.is-active,
body[data-active-page="ops"] .nav-link.is-active,
body[data-active-page="booked"] .nav-link.is-active { color: var(--accent-strong); }

.page { padding: 0 clamp(1rem, 4vw, 4.5rem) 4rem; }
.page:has(> .discover-spotlight) { padding-left: 0; padding-right: 0; }
body[data-active-page="discover"] .page { padding-left: 0; padding-right: 0; }

.route-intro {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  min-height: 330px;
  margin: 0 auto 3.5rem;
  max-width: 1440px;
  background: var(--surface);
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.route-intro-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}
.route-intro-copy h1 {
  max-width: 9ch;
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  line-height: .92;
  text-transform: uppercase;
}
.route-intro-copy p:not(.eyebrow) { max-width: 42ch; color: var(--muted); line-height: 1.7; }
.route-intro-image {
  min-height: 330px;
  background: center / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.route-intro-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(33,33,35,.18), transparent 58%); pointer-events: none; }
.route-intro-image-asset { display: block; width: 100%; height: 100%; min-height: 330px; object-fit: cover; opacity: .98; }
.route-intro-image-asset[hidden] { display: none; }
.route-intro-book .route-intro-copy { background: var(--surface-ink); color: #fff; }
.route-intro-book .route-intro-copy .eyebrow { color: #8dd0ef; }
.route-intro-book .route-intro-copy p:not(.eyebrow) { color: rgba(255,255,255,.75); }
.route-intro-light .route-intro-copy { background: #fff; }

body[data-active-page="explore"] .section-heading,
body[data-active-page="book"] .section-heading,
body[data-active-page="customer"] .section-heading,
body[data-active-page="pilot"] .section-heading,
body[data-active-page="ops"] .section-heading {
  padding-top: 0;
  margin-bottom: 2rem;
}
body[data-active-page="explore"] .section-heading h2,
body[data-active-page="book"] .section-heading h2,
body[data-active-page="customer"] .section-heading h2,
body[data-active-page="pilot"] .section-heading h2,
body[data-active-page="ops"] .section-heading h2 { display: none; }
body[data-active-page="explore"] .section-heading > p:last-child,
body[data-active-page="book"] .section-heading > p:last-child,
body[data-active-page="customer"] .section-heading > p:last-child,
body[data-active-page="pilot"] .section-heading > p:last-child,
body[data-active-page="ops"] .section-heading > p:last-child { display: none; }
body[data-active-page="explore"] .nearby-grid,
body[data-active-page="explore"] .explore-grid,
body[data-active-page="book"] .booking-grid { padding-top: 0; }
body[data-active-page="explore"] .nearby-grid,
body[data-active-page="explore"] .explore-grid { margin-bottom: 2rem; }
body[data-active-page="book"] .booking-grid { max-width: var(--content-max); }
body[data-active-page="book"] .bookingOpsPreview { display: none; }
.portal-card-media {
  background: #212123 !important;
  color: #fff !important;
}
.portal-card-media .eyebrow { color: #8dd0ef !important; }
.portal-card-media h3,
.portal-card-media h4,
.portal-card-media strong { color: #fff !important; }
.portal-card-media .helper-copy,
.portal-card-media .media-dropzone-copy p,
.portal-card-media .media-queue-copy p,
.portal-card-media .media-queue-copy small,
.portal-card-media .media-card-copy p,
.portal-card-media .media-card-copy small,
.portal-card-media .media-summary p { color: rgba(255,255,255,.75) !important; }
.page > section:not(.discover-spotlight) { max-width: 1440px; margin-left: auto; margin-right: auto; }

.discover-spotlight {
  margin-bottom: 0;
  background: var(--surface);
}
.discover-spotlight-media .detail-hero {
  min-height: 100vh;
  max-height: none;
  aspect-ratio: auto;
}
.destination-showcase { position: relative; min-height: 100vh; }
.destination-showcase-media { min-height: 100vh; }
.destination-showcase-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 28%, transparent 52%, rgba(0, 0, 0, 0.7));
}
.destination-showcase-overlay {
  z-index: 1;
  left: clamp(1.25rem, 7vw, 8rem);
  right: auto;
  bottom: clamp(2rem, 9vw, 8rem);
  max-width: min(680px, calc(100% - 2rem));
  padding: 0;
  background: none;
}
.destination-showcase-overlay h3 {
  font-size: clamp(3.25rem, 8vw, 8.5rem);
  line-height: 0.9;
  text-transform: uppercase;
}
.destination-showcase-overlay p { font-size: 1rem; max-width: 48ch; }
.destination-showcase-overlay .detail-tag,
.destination-showcase-overlay .status-pill { background: rgba(33, 33, 35, 0.62); border-color: rgba(255,255,255,.25); color: #fff; }
.destination-showcase-body {
  position: absolute;
  z-index: 2;
  left: clamp(1.25rem, 7vw, 8rem);
  bottom: 1.5rem;
  width: min(680px, calc(100% - 2rem));
  padding: 0;
  color: #fff;
}
.destination-body-copy { display: none; }
.destination-showcase-body .section-toolbar h3,
.destination-showcase-body .eyebrow { color: #fff; }
.destination-showcase-body .landing-forecast-current,
.destination-showcase-body .landing-forecast-day,
.destination-showcase-body .landing-forecast-day span { color: rgba(255,255,255,.88); }
.destination-showcase-body .landing-forecast-day { border-color: rgba(255,255,255,.28); }

.discover-spotlight-rail {
  right: clamp(1.25rem, 4vw, 4.5rem);
  bottom: clamp(1.5rem, 5vw, 4rem);
  width: min(470px, calc(100% - 2rem));
}

.experience-story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  min-height: 620px;
  margin: 0 calc(50% - 50vw) 5rem;
  background: var(--surface);
}
.experience-story-image {
  min-height: 620px;
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,.12)),
    var(--experience-image) center / cover no-repeat;
}
.experience-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
  padding: clamp(2rem, 6vw, 7rem);
}
.experience-story-copy h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(2.2rem, 4.2vw, 5rem);
  line-height: .98;
  text-transform: uppercase;
}
.experience-story-copy p:not(.eyebrow) { color: var(--muted); line-height: 1.8; }
.discover-rail-card {
  background: rgba(33, 33, 35, 0.78) !important;
  border-color: rgba(255,255,255,.3) !important;
  color: #fff !important;
}
.discover-rail-card .eyebrow,
.discover-rail-card h3,
.discover-rail-card .status-pill { color: #fff !important; }
.discover-rail-card .destination-chip { color: #fff; }
.topbar { background: transparent !important; }
.destination-chip img { border-radius: 0; }

.section-heading { padding-top: 4rem; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 4rem); text-transform: uppercase; }
.card,
.metric-card,
.metric,
.pilot-admin-card,
.pilot-editor-section,
.assignment-row,
.day-toggle,
.meta-block,
.review-box,
.review-panel {
  border-radius: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: none;
  backdrop-filter: none;
}
.card { padding: clamp(1rem, 2vw, 2rem); }
.card::before { display: none; }
.button {
  border-radius: var(--control-radius);
  padding: 0.85rem 1.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.button-primary { background: var(--accent); box-shadow: none; }
.button-primary:hover { background: var(--accent-strong); }
.button-danger { background: #a34c45; color: #fff; border: 1px solid #8d3f39; }
.button-danger:hover { background: #8d3f39; }
.button-secondary,
.button-ghost,
.tiny-button { background: #fff; border: 1px solid var(--accent); color: var(--accent-strong); }
.button-ghost { border-color: var(--line-strong); color: var(--text); }
.field input,
.field select,
.field textarea { border-radius: var(--control-radius); border-color: var(--line-strong); background: #fff; }
.status-pill,
.filter-pill { border-radius: 999px; }
.status-ok { background: var(--green); color: #fff; }
.status-info { background: var(--accent); color: #fff; }
.status-soft { background: var(--bg-soft); color: var(--text); }
.booking-card::before,
.booked-card::before,
.ops-preview::before { background: var(--accent); }
.booked-flight-card { border-left-color: var(--accent); background: #fff; }
.takeoff-card { border-radius: 0; background: #fff; box-shadow: none; }
.takeoff-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.takeoff-card-media img,
.detail-hero { border-radius: 0; }
.pilot-admin-card:hover,
.pilot-admin-card.is-selected { border-color: var(--accent); box-shadow: var(--shadow-md); }
.route-hidden { display: none !important; }
.community-gallery { padding: clamp(3rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem); background: var(--bg-soft); }
.community-gallery-head { max-width: 76rem; margin: 0 auto 1.5rem; align-items: end; }
.community-gallery-head h2 { margin: 0; font-size: clamp(2rem, 5vw, 4.5rem); text-transform: uppercase; }
.public-media-gallery { max-width: 76rem; margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; overflow-x: auto; }
.public-media-card { min-width: 10rem; background: #fff; position: relative; overflow: hidden; aspect-ratio: .78; }
.public-media-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.public-media-card:hover img { transform: scale(1.04); }
.public-media-card-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem .8rem .8rem; color: #fff; display: grid; gap: .2rem; background: linear-gradient(transparent, rgba(33,33,35,.85)); }
.public-media-card-copy span { font-size: .72rem; opacity: .85; }
.flight-lesson-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0; }
.flight-lesson { position: relative; padding: 1rem 0 0; border-top: 1px solid rgba(33,33,35,.24); }
.flight-lesson::after { content: ''; position: absolute; top: -.22rem; left: 0; width: .42rem; height: .42rem; border-radius: 50%; background: var(--accent); animation: flight-pulse 2.8s ease-in-out infinite; }
.flight-lesson:nth-child(2)::after { animation-delay: .55s; }
.flight-lesson:nth-child(3)::after { animation-delay: 1.1s; }
.flight-lesson-icon { display: block; margin-bottom: .65rem; color: var(--accent-strong); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.flight-lesson strong { display: block; font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.flight-lesson p { margin: .45rem 0 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.destination-access { padding: 1.25rem; border: 1px solid var(--line); background: var(--bg-soft); }
.destination-access h3 { margin: 0; }
.access-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1.25rem; }
.access-facts div { display: grid; gap: .25rem; }
.access-facts span { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.access-facts strong { font-size: .92rem; line-height: 1.45; }
.access-note { margin: 1rem 0 0; }
@keyframes flight-pulse { 0%, 100% { transform: scale(.8); opacity: .55; } 50% { transform: scale(1.7); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .flight-lesson::after { animation: none; } }


/* Orchestrated staging direction: keep navigation visually inside the first
   image-led surface and make the gift path discoverable without competing
   with the primary exploration action. */
.nav-voucher-link {
  color: #fff !important;
  background: rgba(239, 120, 88, .92) !important;
  border: 1px solid rgba(255,255,255,.34) !important;
  box-shadow: 0 8px 20px rgba(8, 25, 31, .18);
}
.nav-voucher-link:hover,
.nav-voucher-link:focus-visible { background: #f28b62 !important; color: #fff !important; transform: translateY(-1px); }
.button-voucher {
  color: #fff;
  background: rgba(239, 120, 88, .94);
  border-color: rgba(255,255,255,.32);
  box-shadow: 0 12px 28px rgba(6, 24, 30, .18);
}
.button-voucher:hover,
.button-voucher:focus-visible { color: #fff; background: #f28b62; transform: translateY(-2px); }
body[data-active-page="explore"] .hero-shell { position: absolute; inset: 0 0 auto; z-index: 10; padding: 0; }
body[data-active-page="explore"] .topbar { background: linear-gradient(180deg, rgba(12,33,39,.78), transparent); border-bottom-color: transparent; }
body[data-active-page="explore"] .brand,
body[data-active-page="explore"] .brand .eyebrow,
body[data-active-page="explore"] .brand-copy,
body[data-active-page="explore"] .nav-link { color: #fff; }
body[data-active-page="explore"] .nav-link.is-active { color: #fff; background: rgba(255,255,255,.1); }
body[data-active-page="explore"] .route-intro { margin-top: 0; padding-top: clamp(6.5rem, 12vw, 9rem); }

/* Booking focus is a light reading surface, not the image-led Explore hero.
   Keep the shared tabs visible when a deep link lands directly on the booking
   form; the previous white-on-white overlay made the other routes appear gone. */
body.booking-focus .hero-shell {
  position: relative;
  inset: auto;
  z-index: 10;
  padding: 0;
}
body.booking-focus .topbar {
  background: var(--surface) !important;
  border-bottom: 1px solid var(--line) !important;
}
body.booking-focus .brand,
body.booking-focus .brand .eyebrow,
body.booking-focus .brand-copy,
body.booking-focus .nav-link {
  color: var(--text) !important;
}
body.booking-focus .nav-link.is-active {
  color: var(--accent-strong) !important;
  background: transparent !important;
}
body.booking-focus .language-switch {
  border-color: var(--line-strong);
  background: var(--surface);
}

.flight-five-steps {
  width: min(100% - 2rem, 86rem);
  margin: 0 auto clamp(3rem, 7vw, 7rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  color: #fff;
  background: #17303a;
  position: relative;
  overflow: hidden;
}
.flight-five-steps::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 90% 12%, rgba(239,120,88,.32), transparent 28%), linear-gradient(135deg, rgba(255,255,255,.08), transparent 45%);
}
.flight-five-steps-heading,
.flight-five-steps-track,
.flight-five-steps-link { position: relative; z-index: 1; }
.flight-five-steps-heading { display: grid; gap: .75rem; max-width: 46rem; }
.flight-five-steps-heading .eyebrow { color: #b8d8ca; }
.flight-five-steps-heading h2 { margin: 0; max-width: 12ch; color: #fff; font-size: clamp(2.4rem, 6vw, 5.8rem); line-height: .92; text-transform: uppercase; }
.flight-five-steps-heading p:not(.eyebrow) { margin: 0; max-width: 48ch; color: rgba(255,255,255,.76); line-height: 1.65; }
.flight-five-steps-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: clamp(2.5rem, 6vw, 5rem) 0 2rem; border-top: 1px solid rgba(255,255,255,.35); }
.flight-five-step { position: relative; min-height: 14rem; padding: 1.25rem 1rem 0 0; border-right: 1px solid rgba(255,255,255,.18); }
.flight-five-step:not(:first-child) { padding-left: 1rem; }
.flight-five-step:last-child { border-right: 0; }
.flight-five-step::before { content: ''; position: absolute; top: -.34rem; left: 0; width: .62rem; height: .62rem; border-radius: 50%; background: #ef7858; box-shadow: 0 0 0 .35rem rgba(239,120,88,.16); animation: flight-five-pulse 2.8s ease-in-out infinite; }
.flight-five-step:nth-child(2)::before { animation-delay: .35s; }
.flight-five-step:nth-child(3)::before { animation-delay: .7s; }
.flight-five-step:nth-child(4)::before { animation-delay: 1.05s; }
.flight-five-step:nth-child(5)::before { animation-delay: 1.4s; }
.flight-five-step-number { display: block; color: #b8d8ca; font: 800 .72rem/1 var(--font-body); letter-spacing: .16em; }
.flight-five-step-icon { margin: 2.2rem 0 .8rem; color: #ef7858; font-size: 1.5rem; }
.flight-five-step h3 { margin: 0; max-width: 13ch; color: #fff; font-size: 1rem; line-height: 1.08; text-transform: uppercase; }
.flight-five-step p { margin: .7rem 1rem 0 0; color: rgba(255,255,255,.68); font-size: .86rem; line-height: 1.55; }
.flight-five-steps-link { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }
.flight-five-steps-link:hover { color: #ef7858; }
@keyframes flight-five-pulse { 0%,100% { transform: scale(.8); opacity: .55; } 50% { transform: scale(1.25); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .flight-five-step::before { animation: none; } }
@media (max-width: 900px) { .flight-five-steps-track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.5rem; } .flight-five-step:nth-child(3) { border-right: 0; } .flight-five-step:nth-child(4) { border-top: 1px solid rgba(255,255,255,.18); padding-top: 1.25rem; } .flight-five-step:nth-child(5) { border-top: 1px solid rgba(255,255,255,.18); padding-top: 1.25rem; } }
@media (max-width: 600px) { .premium-home-hero-actions { align-items: stretch; flex-direction: column; } .premium-home-hero-actions .button { width: 100%; } .flight-five-steps { width: calc(100% - 2rem); padding: 1.5rem 1rem 2rem; } .flight-five-steps-track { grid-template-columns: 1fr; border-top: 0; gap: 0; } .flight-five-step, .flight-five-step:not(:first-child) { min-height: 0; padding: 1rem 0 1.2rem; border-right: 0; border-top: 1px solid rgba(255,255,255,.18); } .flight-five-step:first-child { border-top: 1px solid rgba(255,255,255,.18); } .flight-five-step::before { top: -.3rem; } .flight-five-step-icon { margin-top: .9rem; } }
.discover-spotlight { padding: 0; border: 0; background: transparent; }
.discover-spotlight-layout { display: block; }
.discover-spotlight-media { padding: 0; border: 0; background: transparent; }
.destination-showcase { background: transparent; }
.destination-showcase-media { min-height: min(74vh, 760px); }
.destination-showcase-media .detail-hero { display: block; width: 100%; height: min(74vh, 760px); min-height: 520px; object-fit: cover; }
.destination-showcase-overlay { padding: clamp(2rem, 5vw, 5rem); }
.destination-showcase-overlay h3 { max-width: 10ch; font-size: clamp(3rem, 7vw, 7rem); line-height: .92; text-transform: uppercase; }
.destination-showcase-overlay p { max-width: 38rem; font-size: 1.05rem; }
.destination-kicker { color: rgba(255,255,255,.9); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.destination-showcase-body { position: static; display: grid; gap: 2.5rem; width: min(100% - 2rem, 86rem); margin: 0 auto; padding: clamp(2rem, 5vw, 5rem) 0; color: var(--text); background: transparent; }
.destination-showcase-body .eyebrow, .destination-showcase-body .section-toolbar h3 { color: var(--text); }
.destination-showcase-body .landing-forecast-current, .destination-showcase-body .landing-forecast-day, .destination-showcase-body .landing-forecast-day span { color: var(--text); }
.destination-showcase-body .landing-forecast-day { border-color: var(--line); }
.destination-detail-intro { max-width: 58rem; }
.destination-body-copy { margin: .4rem 0 0; max-width: 62ch; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.7; }
.destination-fact-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.destination-fact-strip div { display: grid; gap: .35rem; padding: 1.15rem 1rem; border-right: 1px solid var(--line); }
.destination-fact-strip div:last-child { border-right: 0; }
.destination-fact-strip span { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.destination-fact-strip strong { font-size: 1.05rem; }
.destination-detail-columns { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(14rem, .72fr); gap: 1.5rem; align-items: start; }
.destination-access, .destination-weather, .destination-extra-slot { min-height: 100%; padding: 1.5rem; border: 1px solid var(--line); background: #fff; }
.destination-extra-slot { background: var(--bg-soft); }
.destination-extra-slot h3 { margin: .35rem 0 .75rem; font-size: 1.35rem; }
.destination-extra-slot p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.destination-access .access-facts { grid-template-columns: 1fr; }
.paragliding-news { padding: clamp(3rem, 8vw, 8rem) max(1rem, 5vw); background: var(--bg-soft); }
.news-heading { max-width: 86rem; margin: 0 auto 2rem; align-items: end; }
.news-heading h2 { margin: 0; font-size: clamp(2rem, 5vw, 5rem); text-transform: uppercase; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; max-width: 86rem; margin: 0 auto; background: var(--line); border: 1px solid var(--line); }
.news-card { display: flex; min-height: 20rem; flex-direction: column; padding: clamp(1.25rem, 2vw, 2rem); color: var(--text); background: #fff; text-decoration: none; transition: background .2s ease, color .2s ease; }
.news-card:hover { background: var(--accent); color: #fff; }
.news-card-label, .news-card-link { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.news-card-label { color: var(--accent-strong); }
.news-card:hover .news-card-label { color: #fff; }
.news-card h3 { margin: 3rem 0 1rem; font-size: clamp(1.45rem, 2.2vw, 2.15rem); line-height: 1.02; text-transform: uppercase; }
.news-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.news-card:hover p { color: rgba(255,255,255,.85); }
.news-card-link { margin-top: auto; padding-top: 2rem; }
.pilot-portal-workspace { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; width: 100%; grid-column: 1 / -1; }
.pilot-portal-workspace > .pilot-push-card { grid-column: 1 / -1; }
.pilot-push-card { display: flex; align-items: center; gap: 1rem; min-height: 0; padding: .65rem 1rem !important; }
.pilot-push-card .section-toolbar { flex: 1 1 auto; margin: 0; }
.pilot-push-card .section-toolbar h3 { font-size: .95rem; }
.pilot-push-card > .helper-copy,
.pilot-push-card > .inline-feedback { display: none; }
.pilot-push-card .inline-actions { flex: 0 0 auto; margin: 0; }
.pilot-push-card .inline-actions .button { padding: .45rem .7rem; font-size: .7rem; }
#pilotPushCard::before { display: none; }
.pilot-portal-workspace .pilot-proposal-card { grid-column: 1 / -1; }
.pilot-inbox-card { grid-column: 1 / -1; }
.pilot-inbox-card #pilotInbox { width: 100%; }
.pilot-inbox-available-grid > .pilot-inbox-card { grid-column: 1 / -1; grid-row: auto; }
.pilot-inbox-available-grid > .pilot-ledger-card { grid-column: 1 / -1; grid-row: auto; }
.pilot-inbox-available-grid > .pilot-assigned-takeoffs-card { grid-column: 1 / -1; grid-row: auto; }
.pilot-inbox-available-grid > .pilot-available-takeoffs-card { grid-column: 1 / -1; grid-row: auto; }
.pilot-flight-board { width: 100%; min-width: 0; }
.pilot-board-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.pilot-board-heading h3 { margin: .2rem 0 0; }
.pilot-board-columns { display: grid; grid-template-columns: repeat(7, minmax(230px, 1fr)); width: max-content; min-width: 100%; gap: .75rem; overflow-x: auto; padding: .15rem .1rem .65rem; scroll-snap-type: x proximity; }
.pilot-board-column { min-height: 270px; display: flex; flex-direction: column; gap: .75rem; padding: .8rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(248,246,239,.72); scroll-snap-align: start; }
.pilot-board-column > header { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line); }
.pilot-board-column h4 { margin: 0; font-size: .9rem; }
.pilot-board-column header p { margin: .25rem 0 0; color: var(--muted); font-size: .7rem; line-height: 1.35; }
.pilot-board-count { display: grid; place-items: center; min-width: 1.6rem; height: 1.6rem; border-radius: 999px; background: var(--surface-ink); color: #fff; font-size: .72rem; font-weight: 800; }
.pilot-board-column-active { border-color: rgba(217,111,43,.45); background: linear-gradient(180deg, rgba(255,247,237,.95), rgba(248,246,239,.72)); }
.pilot-board-column-active .pilot-board-count { background: var(--accent-strong); }
.pilot-board-column-warning { border-color: rgba(193,139,42,.45); }
.pilot-board-column-complete { border-color: rgba(31,123,103,.35); }
.pilot-board-cards { display: grid; gap: .65rem; align-content: start; min-height: 150px; }
.pilot-board-card { padding: .8rem; gap: .55rem; box-shadow: 0 8px 18px rgba(24,39,43,.05); }
.pilot-board-card header { gap: .5rem; }
.pilot-board-card .pilot-avatar { width: 2rem; height: 2rem; }
.pilot-board-card > p { margin: 0; font-size: .76rem; line-height: 1.4; }
.pilot-board-card .ai-handoff-summary { display: none; }
.pilot-board-card .pilot-sector-choice { padding: .55rem; font-size: .75rem; }
.pilot-board-card .booking-row-actions { gap: .35rem; }
.pilot-board-card .tiny-button { padding: .38rem .52rem; font-size: .7rem; }
.pilot-board-card.is-awaiting-ops { opacity: .55; filter: saturate(.65); background: rgba(229,232,228,.72); }
.pilot-board-card.is-awaiting-ops::after { content: 'Pilot nema akciju dok Ops ne odobri'; display: block; color: var(--muted); font-size: .68rem; font-weight: 800; }
.pilot-board-next-step { padding: .5rem .6rem; border-left: 3px solid var(--accent); background: rgba(217,111,43,.08); color: var(--muted); }
.pilot-board-empty { min-height: 100px; display: grid; place-items: center; padding: 1rem; border: 1px dashed var(--line-strong); border-radius: .75rem; color: var(--muted); font-size: .75rem; text-align: center; }
.pilot-board-shell {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1rem, 3vw, 3rem) clamp(1.25rem, 3vw, 2rem) !important;
  border: 0 !important;
  border-top: 4px solid #d86b31 !important;
  border-radius: 0 !important;
  background: linear-gradient(135deg, #e6f0ed 0%, #f7f0e5 56%, #e9eff0 100%) !important;
  box-shadow: inset 0 1px 0 rgba(24,39,43,.08), inset 0 -1px 0 rgba(24,39,43,.08) !important;
}
.pilot-board-shell > .section-toolbar {
  width: min(100%, 118rem);
  margin: 0 auto 1rem;
  padding: .1rem 0 .9rem;
  border-bottom: 1px solid rgba(24,39,43,.13);
}
.pilot-board-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 118rem);
  margin: 0 auto .9rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(24,39,43,.12);
  border-radius: .55rem;
  background: #fff;
  box-shadow: 0 2px 5px rgba(24,39,43,.06);
}
.pilot-board-toolbar .pilot-board-heading { margin: 0; }
.pilot-board-toolbar .pilot-board-heading h3 { margin: .15rem 0 .2rem; color: #172d35; font-size: 1.2rem; }
.pilot-board-subtitle { margin: 0; color: #65757b; font-size: .78rem; }
.pilot-board-toolbar-meta { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; color: #65757b; font-size: .72rem; font-weight: 700; }
.pilot-board-toolbar-meta > span { display: inline-flex; align-items: center; gap: .3rem; min-height: 1.85rem; padding: .25rem .55rem; border: 1px solid #d8dee1; border-radius: .35rem; background: #f8fafb; }
.pilot-board-toolbar-meta strong { color: #172d35; }
.pilot-board-toolbar-controls { display: flex; align-items: end; justify-content: flex-end; flex-wrap: wrap; gap: .65rem; }
.pilot-board-search,
.pilot-board-filter,
.pilot-board-time-basis { display: grid; gap: .2rem; color: #65757b; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.pilot-board-search { min-width: 16rem; flex: 1 1 16rem; }
.pilot-board-search input,
.pilot-board-filter select,
.pilot-board-time-basis select { box-sizing: border-box; min-height: 2.45rem; height: 2.45rem; padding: .38rem .65rem; border-radius: .35rem; background: #fff; border: 1px solid #c8d3d6; color: #17343c; font-size: .76rem; font-weight: 700; }
.pilot-board-time-basis { min-width: 17rem; margin: 0; padding: .3rem .55rem .45rem; border: 1px solid rgba(216,107,49,.32); border-radius: .4rem; background: #fffaf2; }
.pilot-board-time-basis legend { padding: 0 .15rem; color: #65757b; font-size: .63rem; letter-spacing: .05em; }
.pilot-board-time-basis-options { display: flex; align-items: center; gap: .7rem; min-height: 1.35rem; }
.pilot-board-time-basis-options label { display: inline-flex; align-items: center; gap: .28rem; color: #40535a; font-size: .68rem; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.pilot-board-time-basis-options input { accent-color: #d86b31; }
.pilot-board-time-basis select { min-width: 100%; background: #fff; }
.ops-flight-board .pilot-board-time-basis-options { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .7rem; }
.ops-flight-board .pilot-board-time-basis-current { align-self: center; color: #40535a; font-size: .68rem; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.ops-flight-board .pilot-board-time-basis select { min-width: 0; width: 100%; }
.pilot-board-search input,
.pilot-board-filter select,
.pilot-board-time-basis select { height: 2.45rem !important; min-height: 2.45rem !important; box-sizing: border-box; }
.pilot-board-range { display: grid; gap: .2rem; color: #65757b; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.pilot-board-range select { min-width: 10.5rem; min-height: 2rem; padding: .38rem .65rem; border-radius: .35rem; background: #fffaf2; border-color: rgba(216,107,49,.42); color: #17343c; font-size: .76rem; font-weight: 800; }
.pilot-board-range-note { width: min(100%, 118rem); margin: -.35rem auto .75rem; color: #6b7b82; font-size: .72rem; font-weight: 700; }
.pilot-board-view-label { color: #54666d !important; background: #eef5f3 !important; border-color: #c8ded7 !important; }
.pilot-board-columns { scrollbar-color: #aebcc0 #dfe5e7; }
.pilot-board-column { min-height: 21rem; padding: .65rem; border: 1px solid rgba(155,170,170,.55); border-radius: .55rem; background: rgba(247,249,247,.78); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 .5rem 1.2rem rgba(23,52,60,.035); }
.pilot-board-column > header { position: sticky; top: 0; z-index: 1; margin: -.05rem -.05rem 0; padding: .45rem .4rem .65rem; background: rgba(247,249,247,.92); }
.pilot-board-column h4 { color: #273b43; font-size: .82rem; letter-spacing: .01em; }
.pilot-board-column header p { max-width: 17rem; color: #6c7c82; }
.pilot-board-count { min-width: 1.45rem; height: 1.45rem; border-radius: .3rem; background: #dfe5e7; color: #40525a; }
.pilot-board-column-active .pilot-board-count { background: #d86b31; color: #fff; }
.pilot-board-column-warning .pilot-board-count { background: #e7bd61; color: #3b2d12; }
.pilot-board-column-complete .pilot-board-count { background: #8dc9b9; color: #123b36; }
.pilot-board-card { position: relative; overflow: hidden; padding: .78rem .78rem .7rem; border: 1px solid #d8dee1; border-left: 4px solid #9eacb1; border-radius: .42rem; background: #fff; box-shadow: 0 2px 4px rgba(24,39,43,.1), 0 7px 14px rgba(24,39,43,.04); }
.pilot-board-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: #a8b5b9; }
.pilot-board-card > header { align-items: flex-start; flex-direction: column; }
.pilot-board-card .pilot-inbox-identity { width: 100%; min-width: 0; }
.pilot-board-card .pilot-inbox-identity > div { min-width: 0; }
.pilot-board-card .pilot-inbox-identity p { overflow-wrap: anywhere; white-space: normal; }
.pilot-board-card > header > .status-pill { align-self: flex-start; }
.pilot-board-column-active .pilot-board-card { border-left-color: #d86b31; }
.pilot-board-column-active .pilot-board-card::before { background: #d86b31; }
.pilot-board-column-warning .pilot-board-card { border-left-color: #c18b2a; }
.pilot-board-column-warning .pilot-board-card::before { background: #e1b34f; }
.pilot-board-column-scheduled .pilot-board-card { border-left-color: #328a7b; }
.pilot-board-column-scheduled .pilot-board-card::before { background: #328a7b; }
.pilot-board-column-complete .pilot-board-card { border-left-color: #1f7b67; }
.pilot-board-column-complete .pilot-board-card::before { background: #1f7b67; }
.pilot-board-card-key { display: block; margin-bottom: .18rem; color: #6b7b82; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pilot-board-card .pilot-inbox-identity strong { color: #172d35; font-size: .78rem; }
.pilot-board-card .pilot-inbox-identity p { margin-top: .18rem; color: #5b6c73; font-size: .7rem; }
.pilot-board-card-meta { display: flex; flex-wrap: wrap; gap: .3rem; margin: .15rem 0 .5rem; }
.pilot-board-card-meta span { padding: .18rem .35rem; border-radius: .22rem; background: #f0f3f4; color: #586a71; font-size: .63rem; line-height: 1.2; }
.booking-feedback-summary { display: grid; gap: .28rem; margin: .35rem 0 .5rem; padding: .45rem .55rem; border: 1px solid rgba(216,107,49,.22); border-radius: .4rem; background: #fff9f2; color: #52656a; }
.booking-feedback-summary.is-empty { border-style: dashed; background: #f7f8f6; color: #77868a; font-size: .67rem; }
.booking-feedback-rating { display: flex; align-items: center; gap: .45rem; }
.booking-feedback-stars { display: inline-flex; gap: .05rem; letter-spacing: .02em; }
.booking-feedback-star { font-size: .82rem; line-height: 1; }
.booking-feedback-star.is-filled { color: #d86b31; }
.booking-feedback-star.is-empty { color: #c8d0d0; }
.booking-feedback-rating strong { color: #17343c; font-size: .68rem; }
.booking-feedback-comment { display: -webkit-box; overflow: hidden; color: #5d6d72; font-size: .68rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.booking-feedback-comment::before { content: '“'; color: #d86b31; font-weight: 800; margin-right: .08rem; }
.booking-feedback-comment.is-expanded { display: block; -webkit-line-clamp: unset; }

.pilot-board-card .status-pill { border-radius: .25rem; font-size: .6rem; }
.pilot-board-card .button-detail { border-color: #b9c8cc; background: #f4f7f7; color: #31515a; }
.pilot-board-card .button-detail:hover,
.pilot-board-card .button-detail:focus-visible { border-color: #d86b31; background: #fff4e8; color: #a84b20; }
.pilot-share-control { display: grid; grid-template-columns: minmax(0, 1fr) minmax(8rem, 12rem); gap: .3rem .55rem; align-items: center; width: min(100%, 25rem); margin: -.1rem 0 .35rem auto; padding: .45rem .55rem; border: 1px solid #b8ddd3; border-radius: .45rem; background: linear-gradient(135deg, #edf8f4, #f7fbf8); }
.pilot-share-control label { display: inline-flex; align-items: center; gap: .35rem; min-width: 0; color: #23665b; font-size: .68rem; font-weight: 800; line-height: 1.15; }
.pilot-share-control label span { overflow-wrap: anywhere; }
.pilot-share-control input { accent-color: #2e8b78; }
.pilot-share-control select { min-height: 2rem; width: 100%; padding: .3rem .45rem; border: 1px solid #a8d0c5; border-radius: .35rem; background: #fff; color: #245b52; font-size: .7rem; font-weight: 700; }
.pilot-share-control small { grid-column: 1 / -1; color: #5e7e78; font-size: .62rem; line-height: 1.25; }
.pilot-board-card.is-awaiting-ops { opacity: .62; filter: saturate(.55); background: #edf0f1; }
.pilot-board-card.is-awaiting-ops::after { right: .65rem; bottom: .55rem; }
.pilot-board-next-step { border-left-width: 2px; border-radius: .2rem; font-size: .7rem !important; }
.pilot-board-empty { min-height: 8rem; border: 1px dashed #c7d0d3; border-radius: .4rem; color: #829096; background: rgba(255,255,255,.38); }
@media (min-width: 1200px) {
  .pilot-board-columns { grid-template-columns: repeat(7, minmax(0, 1fr)); width: 100%; overflow-x: visible; }
  .pilot-board-column { min-width: 0; }
}
@media (max-width: 760px) {
  .pilot-push-card { align-items: flex-start; flex-wrap: wrap; gap: .45rem .75rem; }
  .pilot-push-card .section-toolbar { min-width: 12rem; }
  .pilot-push-card .section-toolbar .status-pill { display: none; }
  .pilot-push-card .inline-actions { margin-left: auto; }
  .pilot-board-shell { padding-inline: .75rem !important; }
  .pilot-board-shell > .section-toolbar { align-items: flex-start; flex-wrap: wrap; }
  .pilot-board-toolbar { align-items: flex-start; flex-direction: column; padding: .8rem; }
  .pilot-board-toolbar-controls { width: 100%; align-items: stretch; justify-content: stretch; flex-direction: column; }
  .pilot-board-range select { width: 100%; }
  .pilot-board-search,
  .pilot-board-filter,
  .pilot-board-time-basis { width: 100%; min-width: 0; }
  .pilot-board-time-basis-options { justify-content: flex-start; }
  .pilot-board-toolbar-meta { justify-content: flex-start; }
  .pilot-board-columns { grid-template-columns: repeat(7, minmax(84vw, 1fr)); margin-right: 0; padding-right: .25rem; }
  .pilot-available-slides { grid-template-columns: 1.25rem minmax(0, 1fr) 1.25rem; gap: .3rem; }
  .pilot-available-slide { padding: .7rem; }
  .pilot-available-slide.is-neighbor { overflow: hidden; }
  .pilot-available-slide.is-neighbor { min-width: 0; padding: .35rem; }
  .pilot-available-slide.is-neighbor > span { display: none; }
  .pilot-available-slide.is-neighbor strong,
  .pilot-available-slide.is-neighbor small,
  .pilot-available-slide.is-neighbor .assignment-role-badge { opacity: .25; }
  .pilot-available-slide.is-current strong { font-size: 1rem; }
}

/* Compact semantic fields: short operational values should not consume the
   same vertical space as an editorial description. */
.pilot-takeoff-edit-form { gap: .55rem; }
.pilot-takeoff-edit-form .field-grid { gap: .65rem; align-items: start; }
.pilot-takeoff-edit-form .field { gap: .25rem; }
.pilot-takeoff-edit-form .field span { font-size: .76rem; color: #52676d; text-transform: capitalize; }
.pilot-takeoff-edit-form textarea { min-height: 2.45rem; padding: .48rem .62rem; line-height: 1.35; resize: vertical; }
.pilot-takeoff-edit-form .field-summary,
.pilot-takeoff-edit-form .field-description { grid-column: 1 / -1; }
.pilot-takeoff-edit-form .field-summary textarea { min-height: 3.2rem; }
.pilot-takeoff-edit-form .field-description textarea { min-height: 5rem; }
.pilot-takeoff-edit-form .field-short textarea { min-height: 2.2rem; resize: none; }
.pilot-takeoff-edit-form .field-medium textarea { min-height: 3rem; }
.pilot-proposal-card .field textarea { min-height: 3rem; padding: .58rem .7rem; }
.pilot-proposal-card .field textarea[name="description"] { min-height: 5rem; }
.pilot-form-shell { gap: .8rem; }
.pilot-form-section { display: grid; gap: .8rem; padding: 1rem; border: 1px solid rgba(23,52,60,.12); border-radius: .85rem; background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(247,240,229,.46)); }
.pilot-form-section-heading { display: flex; align-items: center; gap: .7rem; padding-bottom: .65rem; border-bottom: 1px solid rgba(23,52,60,.1); }
.pilot-form-section-heading > div { display: grid; gap: .15rem; }
.pilot-form-section-heading strong { color: #17343c; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.pilot-form-section-heading small { color: #64757b; font-size: .72rem; line-height: 1.35; }
.pilot-form-section-index { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; flex: 0 0 auto; border-radius: .45rem; background: #d86b31; color: #fff9ef; font-size: .7rem; font-weight: 900; }
.pilot-form-section .field-grid { gap: .65rem; }
.pilot-form-section .field { gap: .25rem; }
.pilot-form-section .field > span { color: #52676d; font-size: .74rem; font-weight: 800; }
.pilot-form-section textarea,
.pilot-form-section input { border-color: rgba(23,52,60,.18); background: rgba(255,255,255,.8); }
.pilot-form-section-tracklog { background: linear-gradient(145deg, rgba(255,248,237,.92), rgba(232,241,238,.72)); }
.pilot-form-section-tracklog .pilot-tracklog-dropzone { margin: 0; }
.pilot-takeoff-preview-form .pilot-form-section { padding: .7rem; gap: .55rem; }
.pilot-takeoff-preview-form .pilot-form-section-heading { gap: .4rem; padding-bottom: .4rem; }
.pilot-takeoff-preview-form .pilot-form-section-heading strong { font-size: .64rem; }
.pilot-takeoff-preview-form .pilot-form-section-heading small { display: none; }
.pilot-takeoff-preview-form .pilot-form-section-index { width: 1.35rem; height: 1.35rem; font-size: .58rem; }
.pilot-takeoff-preview-form textarea { min-height: 2.2rem !important; padding: .35rem .45rem; font-size: .72rem; }
#launchEditorSection textarea { min-height: 3rem; }
#launchEditorSection textarea[name="description"] { min-height: 4.5rem; }

/* Homepage hybrid rhythm: broad canvas, but the decision path sits in a
   centered editorial frame instead of stretching text edge-to-edge. */
body[data-active-page="discover"] .booking-journey {
  position: relative;
  width: 100%;
  max-width: none;
  padding: clamp(2.5rem, 5vw, 5.5rem) max(1rem, calc((100vw - 86rem) / 2));
  background: linear-gradient(135deg, rgba(232,241,238,.82), rgba(255,250,244,.96) 58%, rgba(241,226,202,.65));
  border-top: 1px solid rgba(23,52,60,.12);
  border-bottom: 1px solid rgba(23,52,60,.12);
}
body[data-active-page="discover"] .booking-journey::before { content: 'LET U 06 KORAKA'; position: absolute; top: 1.1rem; right: max(1rem, calc((100vw - 86rem) / 2)); color: #c85f2b; font-size: .62rem; font-weight: 900; letter-spacing: .16em; }
body[data-active-page="discover"] .booking-journey .section-toolbar { width: min(100%, 48rem); margin-bottom: 2rem; }
body[data-active-page="discover"] .booking-journey .section-toolbar h2 { max-width: 15ch; color: #17343c; }
body[data-active-page="discover"] .booking-journey-grid { width: min(100%, 86rem); margin: 0 auto 1.5rem; }
body[data-active-page="discover"] .booking-journey-grid article { min-height: 10rem; background: rgba(255,255,255,.74); box-shadow: 0 .8rem 1.8rem rgba(23,52,60,.06); }
body[data-active-page="discover"] .booking-journey > .button { margin-left: max(0rem, calc((100% - min(100%, 86rem)) / 2)); }
@media (max-width: 760px) {
  body[data-active-page="discover"] .booking-journey { padding-inline: 1rem; }
  body[data-active-page="discover"] .booking-journey::before { right: 1rem; }
  body[data-active-page="discover"] .booking-journey > .button { margin-left: 0; }
}
.pilot-carousel { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem; gap: .8rem; align-items: center; min-width: 0; }
.pilot-carousel-nav { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; color: var(--muted); font-size: .78rem; font-weight: 800; }
.pilot-carousel-nav { display: contents; }
.pilot-carousel-nav .carousel-arrow:first-child { grid-column: 1; grid-row: 1; }
.pilot-carousel-nav span { grid-column: 2; grid-row: 2; justify-self: center; margin-top: -.35rem; }
.pilot-carousel-nav .carousel-arrow:last-child { grid-column: 3; grid-row: 1; }
.carousel-arrow { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border: 1px solid var(--line-strong); border-radius: 50%; background: #fff; color: var(--surface-ink); cursor: pointer; font-size: 1.1rem; }
.carousel-arrow:hover:not(:disabled) { border-color: var(--accent); color: var(--accent-strong); transform: translateY(-1px); }
.carousel-arrow:disabled { opacity: .35; cursor: not-allowed; }
.pilot-carousel-card { grid-column: 2; grid-row: 1; min-width: 0; width: 100%; }
.pilot-carousel-track {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  gap: .8rem;
  min-width: 0;
  max-width: 100%;
  padding: .15rem .15rem .8rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(23,52,60,.1);
  -webkit-overflow-scrolling: touch;
}
.pilot-carousel-track > .is-rail-card {
  flex: 0 0 min(100%, 48rem);
  width: min(100%, 48rem);
  min-width: 0;
  scroll-snap-align: center;
}
.pilot-carousel-track > .is-active { scroll-snap-align: center; }
.pilot-carousel-track > .pilot-carousel-neighbor { min-height: 12rem; }
.pilot-carousel-track > .pilot-available-slide {
  display: grid;
  flex: 0 0 min(100%, 30rem);
  width: min(100%, 30rem);
  min-height: 7.5rem;
  align-content: center;
  scroll-snap-align: center;
}
.pilot-carousel-track::-webkit-scrollbar { height: .42rem; }
.pilot-carousel-track::-webkit-scrollbar-thumb { border-radius: 999px; background: var(--accent); }
.pilot-carousel-featured { grid-template-columns: minmax(5.5rem, .62fr) minmax(0, 1.8fr) minmax(5.5rem, .62fr); align-items: stretch; }
.pilot-carousel-neighbor { display: flex; flex-direction: column; justify-content: center; grid-row: 1; min-width: 0; align-self: stretch; min-height: 100%; padding: .9rem .75rem; border: 1px solid rgba(23,52,60,.18); border-radius: .75rem; background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(231,241,237,.72)); color: inherit; text-align: left; opacity: .7; filter: saturate(.72); transform: scale(.96); overflow: hidden; cursor: pointer; transition: opacity .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; font: inherit; }
.pilot-carousel-neighbor:hover,
.pilot-carousel-neighbor:focus-visible { opacity: 1; filter: saturate(1); transform: scale(.98); border-color: var(--accent); box-shadow: 0 .65rem 1.3rem rgba(23,52,60,.12); outline: none; }
.pilot-carousel-neighbor-previous { grid-column: 1; }
.pilot-carousel-neighbor-next { grid-column: 3; }
.pilot-carousel-neighbor strong { display: block; color: #17343c; font-size: .82rem; line-height: 1.05; }
.pilot-carousel-neighbor small { display: block; margin-top: .35rem; color: #64757b; font-size: .68rem; line-height: 1.3; }
.pilot-carousel-neighbor-action { display: block; margin-top: auto; padding-top: .7rem; color: var(--accent-strong); font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.pilot-carousel-neighbor-spacer { grid-row: 1; }
.assigned-takeoff-card { border: 1px solid rgba(23,52,60,.22); border-radius: var(--radius-lg); background: #fff !important; box-shadow: 0 1rem 2rem rgba(23,52,60,.08); }
.pilot-takeoff-preview-form { pointer-events: none; }
.pilot-takeoff-preview-form textarea { background: rgba(255,255,255,.72); color: var(--text); }
.pilot-assigned-takeoffs-card .assigned-takeoff-row { max-height: none; overflow: visible; }
.assigned-takeoff-name { display: block; color: var(--surface-ink); font-size: clamp(1.35rem, 2.8vw, 2.4rem); line-height: .98; letter-spacing: -.035em; }
.assigned-takeoff-location { margin-top: .35rem; color: var(--muted); font-size: clamp(.85rem, 1.3vw, 1.05rem); font-weight: 700; }
.pilot-available-slides { display: grid !important; grid-template-columns: minmax(7rem, .72fr) minmax(0, 1.55fr) minmax(7rem, .72fr); gap: .65rem; align-items: stretch; overflow: hidden; }
.pilot-available-slide { min-width: 0; min-height: 7rem; align-items: flex-start; padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; background: #fff; transition: opacity .2s ease, transform .2s ease, filter .2s ease; }
.pilot-available-slide.is-current { min-height: 9.5rem; border: 2px solid var(--editorial-coral); background: linear-gradient(145deg, #fffdf8, #e8f1ee); box-shadow: 0 1rem 2rem rgba(23,52,60,.1); }
.pilot-available-slide.is-current strong { font-size: 1.15rem; color: var(--surface-ink); }
.pilot-available-slide.is-neighbor { opacity: .5; filter: saturate(.62); transform: scale(.94); }
.pilot-available-slide.is-neighbor strong { font-size: .8rem; }
.pilot-available-slide small { display: block; margin-top: .25rem; line-height: 1.35; }
/* Available takeoffs use the same touch rail as assigned takeoffs; this
   comes after the legacy three-column carousel rules above. */
.pilot-available-slides {
  display: flex !important;
  grid-template-columns: none !important;
  gap: .8rem;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto !important;
  overflow-y: hidden;
  padding: .15rem .15rem .8rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(23,52,60,.1);
  -webkit-overflow-scrolling: touch;
}
.pilot-available-slides > .pilot-available-slide {
  flex: 0 0 min(100%, 30rem);
  width: min(100%, 30rem);
}
.pilot-available-slides::-webkit-scrollbar { height: .42rem; }
.pilot-available-slides::-webkit-scrollbar-thumb { border-radius: 999px; background: var(--accent); }
.pilot-available-takeoffs-card .assignment-grid { display: block; }
.proposal-row,
.proposal-review-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.proposal-row:last-child,
.proposal-review-row:last-child { border-bottom: 0; }
.operational-review-row { align-items: center; }
.operational-review-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.operational-confirm-form { display: grid; gap: .75rem; margin-top: 1rem; padding: 1rem; border: 1px dashed var(--line-strong); background: rgba(246,243,235,.55); }
.operational-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem .9rem; }
.operational-checklist label { display: flex; gap: .45rem; align-items: flex-start; color: var(--text); font-size: .92rem; }
.operational-checklist input { margin-top: .2rem; accent-color: var(--accent); }
@media (max-width: 760px) { .operational-review-row { align-items: flex-start; } .operational-review-actions { justify-content: flex-start; } .operational-checklist { grid-template-columns: 1fr; } }
.proposal-row p,
.proposal-review-row p { margin: .25rem 0; color: var(--muted); }

/* Staging design direction: Concept 01 Premium Adventure Editorial
   with Concept 02's practical orientation layer. Public-only shell. */
.premium-home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100vw;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  min-height: 1048px;
  overflow: hidden;
  color: #fff;
  background: var(--surface-ink);
}
.premium-home-hero-media,
.premium-home-hero-media::after {
  position: absolute;
  inset: 0;
}
.premium-home-hero-media::after {
  content: '';
  background: linear-gradient(90deg, rgba(12, 33, 39, .94) 0%, rgba(12, 33, 39, .72) 42%, rgba(12, 33, 39, .08) 78%), linear-gradient(0deg, rgba(12, 33, 39, .68), transparent 42%);
}
.premium-home-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.premium-home-hero-content {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(100%, 1260px);
  margin: 0 auto;
  padding: clamp(7rem, 16vw, 13rem) clamp(1.25rem, 7vw, 8rem) clamp(2.25rem, 7vw, 6rem);
}
.premium-home-hero .eyebrow {
  color: #b8d8ca;
  letter-spacing: .18em;
}
.premium-home-hero h1 {
  max-width: 10ch;
  margin: 1rem 0 1.2rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 600;
  line-height: .88;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.premium-home-hero-lead {
  max-width: 42rem;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}
.premium-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.65rem;
}
.premium-home-hero-actions .button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .2);
}
.premium-home-hero-secondary {
  border-color: rgba(255,255,255,.58) !important;
  color: #fff !important;
  background: rgba(255,255,255,.08) !important;
}
.premium-home-hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(7rem, 1fr));
  width: min(100%, 34rem);
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,.34);
}
.premium-home-hero-trust span {
  display: grid;
  gap: .25rem;
  padding: .9rem 1rem .1rem 0;
  border-right: 1px solid rgba(255,255,255,.2);
}
.premium-home-hero-trust span + span { padding-left: 1rem; }
.premium-home-hero-trust span:last-child { border-right: 0; }
.premium-home-hero-trust strong { font-size: .72rem; letter-spacing: .14em; color: #e6b56e; }
.premium-home-hero-trust small { color: rgba(255,255,255,.78); font-size: .72rem; letter-spacing: .04em; }
body[data-active-page="discover"] .premium-home-hero { margin: 0; }
body[data-active-page="discover"] .booking-journey {
  width: min(100% - 2rem, 86rem);
  margin: 0 auto 5rem;
  padding: clamp(2rem, 5vw, 5rem) 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}
body[data-active-page="discover"] .booking-journey .section-toolbar { margin-bottom: 1.5rem; }
body[data-active-page="discover"] .booking-journey-grid article {
  min-height: 11rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: rgba(255, 250, 244, .72);
}
body[data-active-page="discover"] .booking-journey-grid article span {
  display: inline-grid;
  place-items: center;
  min-width: 3.4rem;
  min-height: 1.9rem;
  padding: .35rem .65rem;
  border: 1px solid rgba(255, 198, 132, .72);
  border-radius: .35rem .8rem .35rem .8rem;
  color: #fff8ed;
  background: linear-gradient(135deg, #c85f2b, #f19b45 58%, #8c3d28);
  box-shadow: 4px 4px 0 rgba(31, 63, 63, .15), inset 0 1px 0 rgba(255,255,255,.3);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  transform: rotate(-2deg);
}

/* Adventure-style header actions: social links sit beside language controls on
   the image-led public routes without competing with the main navigation. */
body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"]) .public-hero-shell .header-actions {
  display: flex;
  grid-column: 3;
  justify-self: end;
  align-items: center;
  gap: .55rem;
}
.social-links { display: flex; align-items: center; gap: .3rem; }
.social-links a {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: #fff8ed;
  border: 1px solid rgba(255, 207, 148, .62);
  border-radius: .4rem .75rem .4rem .75rem;
  background: rgba(191, 79, 37, .72);
  box-shadow: 2px 3px 0 rgba(17, 42, 46, .22);
  transition: transform .2s ease, background .2s ease;
}
.social-links a:hover, .social-links a:focus-visible { color: #fff; background: #d86b31; transform: translateY(-2px) rotate(-3deg); }
.social-links svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-links svg path { fill: currentColor; stroke: none; }
body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"]) .public-hero-shell .header-actions .language-switch { grid-column: auto; justify-self: auto; }

@media (max-width: 760px) {
  body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"]) .public-hero-shell .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    gap: .3rem;
  }
  .social-links { position: absolute; top: 3.55rem; right: 1rem; }
  .social-links a { width: 1.8rem; height: 1.8rem; }
  .social-links svg { width: .95rem; height: .95rem; }
}

/* Social links belong to the spacious footer, where they are a clear secondary
   action instead of competing with the language selector in the hero. */
.footer-social-links {
  position: static !important;
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: 1.5rem;
}
.footer-social-links a {
  width: 3.15rem;
  height: 3.15rem;
  border-color: rgba(255, 207, 148, .75);
  border-radius: .55rem 1rem .55rem 1rem;
  background: linear-gradient(145deg, #c85f2b, #8c3d28);
  box-shadow: 4px 5px 0 rgba(7, 25, 30, .24);
}
.footer-social-links a:hover, .footer-social-links a:focus-visible { background: #e17a3b; transform: translateY(-3px) rotate(-3deg); }
.footer-social-links svg { width: 1.55rem; height: 1.55rem; }
@media (max-width: 760px) {
  .footer-social-links { position: static !important; margin-top: 1.25rem; }
  .footer-social-links a { width: 2.8rem; height: 2.8rem; }
  .footer-social-links svg { width: 1.35rem; height: 1.35rem; }
}
@media (max-width: 700px) {
  .premium-home-hero { min-height: 720px; }
  .premium-home-hero-media::after { background: linear-gradient(180deg, rgba(12, 33, 39, .2), rgba(12, 33, 39, .9) 70%); }
  .premium-home-hero-content { padding: 11rem 1.25rem 2rem; }
  .premium-home-hero h1 { max-width: 9ch; font-size: clamp(3.4rem, 16vw, 5.4rem); }
  .premium-home-hero-trust { margin-top: 2.25rem; }
  .premium-home-hero-trust span { padding-right: .45rem; }
  .premium-home-hero-trust span + span { padding-left: .45rem; }
  .premium-home-hero-trust small { font-size: .64rem; }
}
/* The shared public shell is a flex column; keep the editorial hero truly full bleed. */
body[data-active-page="discover"] .premium-home-hero {
  width: 100vw !important;
  max-width: none !important;
  flex: 0 0 auto;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
.proposal-review-row small { color: var(--muted); }
@media (max-width: 960px) { .destination-detail-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } .destination-extra-slot { grid-column: 1 / -1; min-height: auto; } .news-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .pilot-portal-workspace { grid-template-columns: 1fr; } .pilot-portal-workspace .pilot-proposal-card { grid-column: auto; } .proposal-row, .proposal-review-row { flex-direction: column; } }
@media (max-width: 760px) {
  .pilot-board-heading { align-items: flex-start; flex-direction: column; }
  .pilot-board-columns { grid-template-columns: repeat(7, minmax(82vw, 1fr)); margin-right: -1rem; padding-right: 1rem; }
  .pilot-board-column { min-height: 250px; }
  .pilot-board-card .booking-row-actions { flex-direction: column; align-items: stretch; }
  .pilot-board-card .tiny-button { width: 100%; }
  .pilot-carousel-nav { margin-top: .25rem; }
  .pilot-inbox-available-grid > .pilot-inbox-card,
  .pilot-inbox-available-grid > .pilot-ledger-card,
  .pilot-inbox-available-grid > .pilot-assigned-takeoffs-card,
  .pilot-inbox-available-grid > .pilot-available-takeoffs-card { grid-column: 1; grid-row: auto; }
}
@media (max-width: 760px) { .destination-showcase-media, .destination-showcase-media .detail-hero { min-height: 72vh; height: 72vh; } .destination-showcase-overlay { left: 0; bottom: 0; padding: 1.25rem; } .destination-showcase-overlay h3 { font-size: clamp(2.8rem, 15vw, 5rem); } .destination-showcase-body { width: min(100% - 2rem, 86rem); padding-top: 2rem; } .destination-fact-strip { grid-template-columns: repeat(2, 1fr); } .destination-fact-strip div:nth-child(2n) { border-right: 0; } .destination-detail-columns { grid-template-columns: 1fr; } .destination-access, .destination-weather, .destination-extra-slot { padding: 1.1rem; } }
.admin-media-list { display: grid; gap: .7rem; }
.admin-media-row { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 1rem; align-items: center; padding: .7rem; background: #fff; border: 1px solid var(--line); }
.admin-media-row img { width: 4.5rem; height: 4.5rem; object-fit: cover; }
.admin-media-row p, .admin-media-row small { margin: .2rem 0 0; color: var(--muted); }
@media (max-width: 760px) { .public-media-gallery { grid-template-columns: repeat(5, minmax(9rem, 1fr)); } .admin-media-row { grid-template-columns: 3.5rem 1fr; } .admin-media-row .inline-actions { grid-column: 1 / -1; } }

/* Pilot registration reference layout: once the profile form is active,
   promote the auth card to the full route canvas so the live booking preview
   occupies the open right-hand side instead of being trapped in the left portal
   column. Keep the form readable and stack both surfaces on small screens. */
body[data-active-page="pilot"] .pilot-portal-grid:has(#pilotRegistrationLayout:not(.hidden)) > #pilotAuthCard {
  grid-column: 1 / -1 !important;
}
body[data-active-page="pilot"] #pilotRegistrationLayout:not(.hidden) {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  width: 100%;
  max-width: none;
}
body[data-active-page="pilot"] #pilotRegistrationLayout:not(.hidden) > #pilotRegistrationForm {
  width: 100%;
}
@media (max-width: 900px) {
  body[data-active-page="pilot"] #pilotRegistrationLayout:not(.hidden) {
    grid-template-columns: 1fr;
  }
}

/* Full-width route prototype: use the screen as the canvas, while cards and
   readable copy keep their own internal rhythm. Hero/map/board surfaces gain
   room; forms are not stretched into unreadable single-line fields. */
body:is([data-active-page="discover"], [data-active-page="about"], [data-active-page="explore"], [data-active-page="book"], [data-active-page="customer"], [data-active-page="pilot"], [data-active-page="ops"]) main.page > section {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box;
  padding-left: clamp(1rem, 4vw, 4rem);
  padding-right: clamp(1rem, 4vw, 4rem);
}
body[data-active-page="pilot"] main.page > .pilot-portal-grid,
body[data-active-page="customer"] main.page > .customer-portal-grid,
body[data-active-page="ops"] main.page > .ops-shell {
  background: linear-gradient(180deg, rgba(232,241,238,.76), rgba(247,243,234,.42));
  padding-top: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(2rem, 5vw, 5rem);
}
body[data-active-page="pilot"] main.page > #flightTrackShowcase {
  padding-top: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 4rem);
}
body[data-active-page="about"] main.page > .about-page-shell {
  padding-top: 0;
  padding-bottom: clamp(2rem, 5vw, 5rem);
}
body[data-active-page="explore"] main.page > .explore-grid,
body[data-active-page="book"] main.page > .booking-grid {
  padding-top: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(2rem, 5vw, 5rem);
}

@media (max-width: 760px) {
  .topbar { padding: 1rem; }
  .brand-copy { display: none; }
  .nav-links { gap: 0; }
  .nav-link { padding-left: 0.4rem; padding-right: 0.4rem; font-size: 0.65rem; }
  .destination-showcase,
  .destination-showcase-media,
  .discover-spotlight-media .detail-hero { min-height: 86vh; }
  .destination-showcase-overlay { left: 1rem; bottom: 9rem; }
  .destination-showcase-overlay h3 { font-size: clamp(2.8rem, 16vw, 5rem); }
  .destination-showcase-body { left: 1rem; bottom: 1rem; width: calc(100% - 2rem); }
  .discover-spotlight-rail { padding: 0; right: 1rem; bottom: 3.2rem; width: calc(100% - 2rem); }
  .destination-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .destination-chip { padding: 0.35rem; gap: 0.4rem; }
  .destination-chip img { height: 58px; }
  .destination-chip strong { font-size: 0.72rem; }
  .destination-chip small { font-size: 0.6rem; }
  .experience-story { grid-template-columns: 1fr; min-height: 0; margin-bottom: 3rem; }
  .experience-story-image { min-height: 60vh; }
  .experience-story-copy { padding: 2rem 1rem 3rem; }
  .route-intro { grid-template-columns: 1fr; margin-bottom: 2rem; }
  .route-intro-copy { padding: 2rem 1rem; }
  .route-intro-image { min-height: 42vh; }
}

/* Final homepage precedence: these rules intentionally come after legacy mobile overrides. */
.destination-showcase { min-height: 0; }
.topbar { position: relative; z-index: 3; }
.discover-spotlight-rail { position: absolute; z-index: 2; top: 5.25rem; right: clamp(1rem, 4vw, 4.5rem); bottom: auto; width: min(340px, calc(100% - 2rem)); }
.discover-rail-card { padding: .55rem .65rem; border-color: rgba(255,255,255,.2); background: rgba(20, 30, 35, .18); box-shadow: 0 10px 24px rgba(7,16,20,.1); backdrop-filter: blur(8px); }
.discover-rail-card .section-toolbar { gap: .5rem; }
.discover-rail-card .eyebrow { font-size: .58rem; letter-spacing: .12em; }
.discover-rail-card h3 { font-size: .92rem; }
.discover-rail-card .status-pill { display: none; }
.destination-rail { gap: .45rem; }
.destination-chip { grid-template-columns: 2.8rem 1fr; gap: .55rem; padding: .3rem; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.destination-chip img { width: 2.8rem; height: 2.8rem; }
.destination-chip strong { font-size: .68rem; line-height: 1.05; }
.destination-chip small { font-size: .56rem; }
.destination-showcase-media { min-height: 0; background: #dbe8ed; }
.destination-showcase-media .detail-hero { width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: auto; object-fit: contain; object-position: center; }
.destination-showcase-overlay { bottom: clamp(1.5rem, 5vw, 4.5rem); }
.destination-showcase-overlay h3 { max-width: 11ch; }
.destination-body-copy { display: block; }
.experience-story { width: 100%; max-width: var(--content-max); margin: 0 auto 5rem; min-height: 0; grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr); }
.experience-story-image { min-height: 100%; background-size: cover; background-position: center; }
.experience-story-copy { padding: clamp(2rem, 4vw, 5rem); }
.experience-story-copy h2 { max-width: 13ch; }
.flight-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin: 2.5rem 0; }
.flight-guide-grid article { padding-top: 1rem; border-top: 1px solid var(--line); }
.flight-guide-grid h3 { margin: 0 0 .55rem; font-size: 1rem; text-transform: uppercase; }
.flight-guide-grid p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.65; }
@media (max-width: 960px) { .experience-story { grid-template-columns: 1fr; } .experience-story-image { min-height: 25rem; } .flight-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .discover-spotlight-rail { position: relative; top: auto; right: auto; width: calc(100% - 1.5rem); margin: .75rem auto 0; } .discover-rail-card .section-toolbar > div h3 { display: none; } .discover-rail-card .section-toolbar { margin-bottom: .2rem; } .destination-chip { grid-template-columns: 2rem 1fr; min-height: 2.5rem; } .destination-chip img { width: 2rem; height: 2rem; } .destination-chip strong { font-size: .6rem; } .destination-chip small { font-size: .5rem; } .destination-showcase-overlay { position: absolute; left: 1rem; right: 1rem; bottom: .75rem; } .destination-showcase-overlay h3 { font-size: clamp(1.8rem, 9vw, 2.4rem); line-height: .92; } .destination-showcase-overlay p { display: none; } .destination-showcase-body { left: auto; bottom: auto; width: min(100% - 2rem, 86rem); } .destination-showcase-media, .destination-showcase-media .detail-hero { min-height: 0; height: auto; } .experience-story { width: calc(100% - 2rem); } .experience-story-image { min-height: 17rem; } .experience-story-copy { padding: 1.5rem 1rem 2.5rem; } .flight-guide-grid { grid-template-columns: 1fr; } }

/* Flight experience is an editorial guide, not a destination-card background. */
.experience-story { display: block; }
.experience-story-image { position: static; width: 100%; min-height: 0; height: auto; background: #dbe8ed; overflow: hidden; }
.experience-story-image img { display: block; width: 100%; height: auto; object-fit: contain; object-position: center; }
.experience-story-copy { min-width: 0; max-width: none; }
.experience-story-copy h2 { max-width: 22ch; }
.experience-story-copy > p:not(.eyebrow) { max-width: 70ch; }
.route-intro { width: 100%; max-width: var(--content-max); margin: 0 auto clamp(2.5rem, 6vw, 5rem); }
.route-intro-copy { min-height: 34rem; }
.section-heading.compact { width: min(100% - 2rem, 86rem); margin: 0 auto; }
.booking-grid, .explore-grid, .nearby-grid, .portal-grid, .ops-layout { width: 100%; max-width: var(--content-max); margin-left: auto; margin-right: auto; }
.ops-preview { display: flex; min-height: 100%; flex-direction: column; justify-content: center; }
.ops-preview h3 { max-width: 18ch; font-size: clamp(1.5rem, 2.2vw, 2.25rem); line-height: 1.05; }
main.page { display: flex; flex-direction: column; min-width: 0; }
#communityGallery { min-width: 0; }
#communityGallery { width: 100%; }
#communityGallery .public-media-gallery { width: 100%; min-width: 0; }
#launchEditorSection { order: 0; }
@media (max-width: 760px) { .experience-story-image { min-height: 0; height: auto; } .experience-story-image img { width: 100%; height: auto; } }
@media (max-width: 760px) { .community-gallery-head, .news-heading { align-items: stretch; } }

/* Homepage memory gallery: compact carousel with the same layered frame language as the other premium sections. */
#communityGallery {
  position: relative;
  isolation: isolate;
  overflow: visible;
  width: min(calc(100% - 2rem), var(--content-max));
  max-width: var(--content-max);
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border: 1px solid rgba(31, 123, 103, .2);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 252, 247, .95), rgba(239, 249, 244, .94) 58%, rgba(232, 220, 194, .78));
  box-shadow: 0 .75rem 0 -.35rem rgba(31, 82, 77, .16), var(--shadow-md);
  transform: translateZ(0);
}
#communityGallery::before {
  content: '';
  position: absolute;
  inset: .45rem -.45rem -.45rem .45rem;
  z-index: -1;
  border: 1px solid rgba(31, 123, 103, .18);
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255,255,255,.42), rgba(201,149,61,.12));
  box-shadow: 0 1.4rem 2.8rem rgba(35, 52, 58, .12);
  transform: rotateX(1.2deg) rotateY(-.35deg);
  pointer-events: none;
}
#communityGallery::after {
  content: '';
  position: absolute;
  inset: .45rem;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: calc(var(--radius-xl) - .45rem);
  pointer-events: none;
}
#communityGallery .community-gallery-head {
  width: 100%;
  max-width: none;
  margin: 0 0 1rem;
  align-items: end;
}
#communityGallery .community-gallery-head h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.65rem, 3.4vw, 3.2rem);
  line-height: .98;
  text-transform: uppercase;
}
#communityGallery .public-media-gallery {
  width: 100%;
  max-width: none;
  margin: 0;
  display: block;
  overflow: visible;
}
#communityGallery .public-media-carousel { display: grid; gap: .7rem; min-width: 0; }
#communityGallery .public-media-carousel-viewport {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 123, 103, .22);
  border-radius: calc(var(--radius-lg) - .15rem);
  background: rgba(255, 255, 255, .45);
  box-shadow: inset 0 .1rem .8rem rgba(35, 52, 58, .08), 0 .75rem 1.6rem rgba(35, 52, 58, .08);
}
#communityGallery .public-media-carousel-track {
  display: flex;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
}
#communityGallery .public-media-carousel-track::-webkit-scrollbar { display: none; }
#communityGallery .public-media-card {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  height: clamp(17rem, 31vw, 24rem);
  aspect-ratio: auto;
  overflow: hidden;
  border: 1px solid rgba(31, 123, 103, .18);
  border-radius: calc(var(--radius-lg) - .15rem);
  background: #dbece6;
  box-shadow: 0 .8rem 1.4rem rgba(23, 51, 58, .14);
  scroll-snap-align: start;
  transform: translateZ(0);
}
#communityGallery .public-media-card img,
#communityGallery .public-media-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
}
#communityGallery .public-media-card:hover img,
#communityGallery .public-media-card:hover video { transform: scale(1.035); }
#communityGallery .public-media-card-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: .2rem;
  padding: 4rem clamp(1rem, 3vw, 1.75rem) 1rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(16, 42, 48, .9));
}
#communityGallery .public-media-card-copy strong { font-size: clamp(1rem, 1.8vw, 1.35rem); }
#communityGallery .public-media-card-copy span { font-size: .75rem; opacity: .86; }
#communityGallery .public-media-card-copy small { font-size: .82rem; opacity: .92; }
#communityGallery .public-media-carousel-footer { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .7rem; align-items: center; }
#communityGallery .public-media-carousel-status { color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .12em; white-space: nowrap; }
#communityGallery .public-media-carousel-controls { display: grid; grid-template-columns: 2.35rem minmax(0, 1fr) 2.35rem; gap: .55rem; align-items: center; }
#communityGallery .public-media-carousel-arrow { width: 2.35rem; height: 2.35rem; padding: 0; }
#communityGallery .public-media-carousel-dots { display: flex; justify-content: center; align-items: center; gap: .15rem; min-width: 0; }
#communityGallery .public-media-carousel-dot { position: relative; width: 2.1rem; height: 2.1rem; padding: 0; border: 0; border-radius: 999px; background: transparent; cursor: pointer; }
#communityGallery .public-media-carousel-dot::before { content: ''; position: absolute; top: 50%; left: 50%; width: .48rem; height: .48rem; border: 1px solid rgba(31, 123, 103, .52); border-radius: 50%; background: rgba(255, 255, 255, .68); transform: translate(-50%, -50%); transition: width .2s ease, background .2s ease, box-shadow .2s ease; }
#communityGallery .public-media-carousel-dot.is-active::before { width: .68rem; height: .68rem; border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 .24rem rgba(217, 111, 43, .14); }
#communityGallery .public-media-carousel-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
@media (max-width: 760px) {
  #communityGallery { width: min(calc(100% - 1rem), var(--content-max)); padding: 1.15rem; border-radius: var(--radius-lg); }
  #communityGallery::before { inset: .3rem -.3rem -.3rem .3rem; border-radius: var(--radius-lg); }
  #communityGallery::after { inset: .3rem; border-radius: calc(var(--radius-lg) - .3rem); }
  #communityGallery .community-gallery-head { margin-bottom: .75rem; }
  #communityGallery .community-gallery-head h2 { font-size: clamp(1.5rem, 7vw, 2.25rem); }
  #communityGallery .public-media-card { height: clamp(15rem, 66vw, 20rem); }
  #communityGallery .public-media-card-copy { padding: 3.5rem 1rem .9rem; }
  #communityGallery .public-media-carousel-footer { grid-template-columns: 1fr; gap: .45rem; }
  #communityGallery .public-media-carousel-status { justify-self: center; order: 2; }
  #communityGallery .public-media-carousel-controls { grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem; order: 1; }
  #communityGallery .public-media-carousel-arrow { width: 2.75rem; min-width: 2.75rem; height: 2.75rem; min-height: 2.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  #communityGallery .public-media-card img, #communityGallery .public-media-card video { transition: none; }
  #communityGallery .public-media-carousel-dot::before { transition: none; }
}
.customer-publication-choice { display: grid; gap: .45rem; margin-top: .8rem; padding: .8rem; border: 1px solid var(--line); border-radius: .85rem; background: var(--bg-soft); }
.customer-publication-choice .checkbox-row { margin: 0; padding: .35rem 0; }
@media (max-width: 900px) { #communityGallery .public-media-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { #communityGallery .public-media-gallery { grid-template-columns: 1fr; width: min(calc(100% - 1rem), 32rem); } #communityGallery .public-media-card { aspect-ratio: 5 / 6; } }
.ops-shell { width: 100%; max-width: var(--content-max); }
#adminAuthCard { width: min(100%, 42rem); margin: 0 auto; }
#adminPanel:not(.hidden) { display: grid; gap: 1rem; }
#adminPanel > .ops-header { margin: 0; }
#adminPanel > .ops-header.fade-in { animation: none; }
@media (max-width: 760px) {
  .admin-topbar-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .admin-topbar-actions .button { width: 100%; }
  .ops-tab-zone-heading { align-items: flex-start; flex-direction: column; gap: .15rem; }
  .ops-tab-zone-heading small { text-align: left; }
  .ops-tab-zone-families { overflow-x: auto; }
  .ops-tab-zone .ops-tab-family { flex: 0 0 auto; }
  .ops-primary-workspace { grid-template-columns: minmax(0, 1fr); }
  .ops-primary-workspace > .ops-primary-surface,
  .ops-primary-workspace > #adminBookedCard { grid-column: 1; grid-row: auto; }
}
.ops-section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  width: min(100% - 2rem, 86rem);
  margin: 0 auto 1.25rem;
  padding: .45rem;
  border: 1px solid rgba(23, 49, 61, .12);
  background: rgba(255,255,255,.38);
  box-shadow: 0 8px 20px rgba(35, 52, 58, .04);
  backdrop-filter: blur(12px);
  position: sticky;
  top: .75rem;
  z-index: 30;
}
.ops-section-tabs a {
  padding: .55rem .75rem;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.ops-section-tabs a:hover,
.ops-section-tabs a:focus-visible { color: var(--accent-strong); border-color: var(--accent); background: rgba(255,255,255,.55); }
.ops-tab-family { display: grid; gap: .28rem; min-width: 0; padding: .18rem .3rem; border-right: 1px solid rgba(23,49,61,.12); }
.ops-tab-family:last-child { border-right: 0; }
.ops-tab-family-label { padding: 0 .45rem; color: var(--muted); font-size: .58rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.ops-tab-family-links { display: flex; flex-wrap: wrap; gap: .2rem; }
.ops-tab-badge { display: inline-grid; min-width: 1.2rem; height: 1.2rem; place-items: center; margin-left: .2rem; padding: 0 .25rem; border-radius: 999px; background: rgba(23,52,60,.12); color: var(--text); font-size: .58rem; letter-spacing: 0; }
.ops-section-tabs a.is-active .ops-tab-badge { background: #fff; color: var(--accent-strong); }
.ops-tab-zone {
  display: contents;
  min-width: 0;
}
.ops-tab-zone-work {
  flex: 1 1 42rem;
}
.ops-tab-zone-config {
  flex: 0 1 18rem;
}
.ops-tab-zone-families { display: contents; }
.ops-tab-zone .ops-tab-family { flex: 1 1 0; border-right: 0; border-left: 0; border-top: 2px solid rgba(45,159,135,.42); padding: .35rem .55rem .15rem; }
.ops-tab-zone-work .ops-tab-family:first-child { border-top-color: rgba(216,107,49,.7); }
.ops-tab-zone-work .ops-tab-family:last-child { border-top-color: rgba(45,159,135,.6); }
.ops-tab-zone-config .ops-tab-family { flex: 0 1 18rem; border-top-color: rgba(123,107,178,.62); }
.ops-tab-zone-config .ops-tab-family-label { color: #655891; }
.ops-tab-zone .ops-tab-family-links { margin-top: .18rem; }
.ops-primary-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.ops-primary-workspace > .ops-primary-surface { grid-column: 1; grid-row: 1; }
.ops-primary-workspace > #adminBookedCard { grid-column: 1; grid-row: 2; width: 100%; }
.ops-primary-workspace > :not(.ops-primary-surface):not(#adminBookedCard) { grid-column: 1 / -1; }
.ops-primary-workspace > .ops-primary-surface,
.ops-primary-workspace > #adminBookedCard {
  min-width: 0;
  height: 100%;
}
.ops-primary-surface { background: linear-gradient(145deg, rgba(255,250,244,.95), rgba(255,255,255,.78)); border-color: rgba(216,107,49,.28) !important; }
.ops-primary-workspace > #adminBookedCard { background: linear-gradient(145deg, rgba(232,241,238,.96), rgba(255,255,255,.8)); border-color: rgba(45,159,135,.3) !important; }
.ops-header-focus { margin: .2rem 0 0; color: var(--accent-strong); font-size: .82rem; font-weight: 850; }
.admin-notifications-dropdown-wrapper { padding: .25rem; border: 1px solid rgba(45,159,135,.28); border-radius: .8rem; background: rgba(232,241,238,.62); }
.admin-notifications-panel { border-color: rgba(45,159,135,.3); background: linear-gradient(145deg, #fffaf4, #eef8f4); }
.ops-settings-access-panel { border-left-color: rgba(123,107,178,.78) !important; background: rgba(247,244,255,.68) !important; }
body[data-active-page="ops"] #settingsSection .ops-settings-tabs [data-ops-settings-tab="settings-security"],
body[data-active-page="ops"] #settingsSection .ops-settings-tabs [data-ops-settings-tab="settings-access"] { color: #655891; }
body[data-active-page="ops"] #settingsSection .ops-settings-tabs [data-ops-settings-tab="settings-security"].is-active,
body[data-active-page="ops"] #settingsSection .ops-settings-tabs [data-ops-settings-tab="settings-access"].is-active { background: #7b6bb2; color: #fff; border-color: #7b6bb2; }
#adminPanel > .ops-header,
#adminBookedCard,
#pilotManagementSection,
#settingsSection,
#launchEditorSection,
#adminFlightMediaSection {
  border-color: rgba(23, 49, 61, .14);
  box-shadow: 0 14px 34px rgba(35, 52, 58, .06);
}
#adminPanel > .ops-header { background: rgba(255,255,255,.78); }
#adminPanel > .ops-layout {
  padding: 1rem;
  border: 1px solid rgba(23, 49, 61, .12);
  background: rgba(255,255,255,.3);
  grid-template-columns: minmax(0, 1fr);
}

#settingsSection .settings-group {
  border: 1px solid rgba(23, 49, 61, .16);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, .48);
}

body[data-active-page="ops"] #settingsSection .settings-group {
  border-left: 4px solid rgba(123, 107, 178, .72);
  background: rgba(247, 244, 255, .52);
}
body[data-active-page="ops"] #settingsSection .settings-group-ips {
  border-left-color: rgba(45, 159, 135, .72);
  background: rgba(239, 250, 246, .54);
}
body[data-active-page="ops"] #settingsSection .settings-group-platform {
  border-left: 4px solid rgba(70, 130, 167, .72);
  background: rgba(238, 247, 252, .62);
}
body[data-active-page="ops"] #settingsSection .settings-group-offer-policy {
  border-left: 4px solid rgba(224, 126, 76, .82);
  background: rgba(255, 246, 238, .72);
}
body[data-active-page="ops"] #settingsSection .settings-group-weather {
  border-left: 4px solid rgba(61, 147, 177, .82);
  background: rgba(238, 249, 253, .72);
}
body[data-active-page="ops"] #settingsSection .settings-group-offer-policy,
body[data-active-page="ops"] #settingsSection .settings-group-weather,
body[data-active-page="ops"] #settingsSection .settings-group-platform,
body[data-active-page="ops"] #settingsSection .settings-group-ips,
body[data-active-page="ops"] #settingsSection .settings-group-ai {
  transform: translateY(-1px);
  box-shadow: 0 10px 0 rgba(23, 49, 61, .045), 0 18px 30px rgba(35, 52, 58, .08);
}
body[data-active-page="ops"] #settingsSection .ai-config-card {
  border-left: 4px solid #7b6bb2;
  background: rgba(247, 244, 255, .7);
}
body[data-active-page="ops"] #settingsSection .email-status-card {
  border-left: 4px solid #4682a7;
  background: rgba(238, 247, 252, .7);
}

#settingsSection .settings-group-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: .9rem;
  color: var(--ink);
}

#settingsSection .settings-group-heading span {
  color: var(--muted);
  font-size: .78rem;
}

#settingsSection .settings-group .field-grid {
  align-items: start;
}

#settingsSection .settings-group .field {
  gap: .28rem;
}

#settingsSection .settings-group-ai .ai-config-card,
#settingsSection .settings-group-ips {
  border-color: rgba(23, 49, 61, .24);
  box-shadow: 0 8px 20px rgba(35, 52, 58, .05);
}

#settingsSection .settings-group-ai .ai-config-card {
  margin-top: .9rem;
}

#settingsSection .settings-group-ips .field-grid {
  margin-top: .25rem;
}
#customerSection { order: 3; width: 100%; max-width: var(--content-max); margin-left: auto; margin-right: auto; }
#launchEditorSection { width: 100%; max-width: var(--content-max); box-sizing: border-box; margin-left: auto; margin-right: auto; }
#launchEditorSection .stacked-form { gap: .65rem; }
#launchEditorSection .field-grid { gap: .7rem; }
#launchEditorSection input,
#launchEditorSection select,
#launchEditorSection textarea { padding: .62rem .75rem; }
#launchEditorSection textarea { min-height: 4.2rem; }
.takeoff-editor-group {
  margin: .85rem 0;
  padding: 1rem;
  border: 1px solid rgba(23, 49, 61, .16);
  border-left: 4px solid rgba(70, 130, 167, .7);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 10px 0 rgba(23, 49, 61, .045), 0 18px 30px rgba(35, 52, 58, .07);
  transform: translateY(-1px);
}
.takeoff-editor-group-identity { border-left-color: rgba(224, 126, 76, .8); background: rgba(255, 247, 241, .78); }
.takeoff-editor-group-copy { border-left-color: rgba(123, 107, 178, .78); background: rgba(248, 245, 255, .72); }
.takeoff-editor-group-flight { border-left-color: rgba(61, 147, 177, .8); background: rgba(240, 249, 253, .72); }
.takeoff-editor-group-assignments { border-left-color: rgba(44, 150, 137, .82); background: rgba(241, 250, 248, .82); }
.takeoff-editor-group-tracklog { border-left-color: rgba(77, 112, 183, .82); background: rgba(244, 247, 255, .82); }
.takeoff-editor-group-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin-bottom: .8rem; }
.takeoff-editor-group-heading strong { color: var(--ink); }
.takeoff-editor-group-heading span { color: var(--muted); font-size: .78rem; }
.tracklog-dropzone { display: grid; gap: .35rem; padding: 1.1rem; border: 1px dashed rgba(77,112,183,.55); border-radius: var(--radius-md); background: rgba(255,255,255,.76); cursor: pointer; text-align: center }
.tracklog-dropzone:hover, .tracklog-dropzone.is-dragover { border-color: var(--accent); background: #fff; }
.tracklog-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tracklog-preview { display: grid; gap: .9rem; margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.82) }
.tracklog-metrics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .35rem; padding: .55rem; border: 1px solid rgba(70, 130, 167, .16); border-radius: .75rem; background: rgba(239,244,252,.48); }
.tracklog-metrics-title { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; min-width: 0; }
.tracklog-metrics-title small { color: var(--muted); font-size: .7rem; }
.tracklog-metrics span { display: grid; gap: .1rem; min-width: 0; padding: .4rem .45rem; border-radius: .5rem; background: rgba(255,255,255,.72); font-size: .72rem; }
.tracklog-suggestions { display: grid; gap: .45rem; }
.tracklog-suggestion { display: flex; align-items: center; gap: .65rem; padding: .55rem .65rem; border: 1px solid var(--line); border-radius: .65rem; background: #fff }
.tracklog-suggestion input[type="checkbox"] { width: auto; flex: 0 0 auto; margin: 0; }
.tracklog-suggestion span { display: grid; flex: 1; gap: .15rem; }
.tracklog-suggestion b { font-size: .85rem; }
.tracklog-ai-panel { display: grid; gap: .75rem; min-width: 0; padding: 1rem; border: 1px solid rgba(70, 130, 167, .22); border-radius: .9rem; background: rgba(245, 249, 252, .82); }
.tracklog-ai-panel .tracklog-subheading { min-width: 0; }
.tracklog-ai-suggestion { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .65rem; }
.tracklog-ai-suggestion > span { min-width: 0; }
.tracklog-ai-suggestion textarea { display: block; min-width: 0; width: 100%; min-height: 3.2rem; margin-top: .35rem; resize: vertical; box-sizing: border-box; }
.tracklog-ai-panel .field-help { margin: 0; }
.takeoff-ai-panel { display: grid; gap: .85rem; margin: 1rem 0; padding: 1rem; border: 1px solid rgba(40, 127, 109, .28); border-radius: 1rem; background: linear-gradient(135deg, rgba(240, 248, 245, .95), rgba(249, 247, 241, .92)); }
.field-ai-checkbox { width: 1rem !important; min-width: 1rem; height: 1rem; margin: 0 .35rem 0 0; vertical-align: middle; accent-color: var(--accent); }
.field-ai-badge { display: inline-block; margin-left: .4rem; padding: .12rem .4rem; border-radius: 999px; color: #236453; background: rgba(40, 127, 109, .12); font-size: .68rem; font-style: normal; font-weight: 700; white-space: nowrap; }
.takeoff-ai-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.takeoff-ai-heading h4 { margin: .15rem 0 .35rem; }
.takeoff-ai-heading p { margin: 0; }
.takeoff-ai-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.takeoff-ai-actions button[disabled] { opacity: .78; cursor: wait; }
.ai-loading-spinner { display: inline-block; width: .85rem; height: .85rem; margin-right: .3rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -.12rem; animation: ai-spinner .7s linear infinite; }
.form-loading-spinner { display: inline-block; width: .82rem; height: .82rem; flex: 0 0 auto; margin-inline-end: .45rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -.12rem; animation: form-spinner .65s linear infinite; }
.button.is-busy { cursor: wait; }
.async-loading-indicator { display: flex; align-items: center; gap: .45rem; margin: .6rem 0; color: var(--accent-strong, #286d61); font-size: .82rem; font-weight: 700; }
.async-loading-indicator .form-loading-spinner { width: .78rem; height: .78rem; margin-inline-end: 0; }
[aria-busy="true"] { cursor: wait; }
.destination-forecast-slot[aria-busy="true"],
.booking-offer-groups[aria-busy="true"],
.voucher-booking-context[aria-busy="true"] { min-height: 3rem; }
.customer-flight-only-card:focus { outline: 3px solid rgba(40, 127, 109, .42); outline-offset: 4px; }
.takeoff-ai-actions-detail { padding: .65rem .75rem; border: 1px solid rgba(40, 127, 109, .18); border-radius: .75rem; background: rgba(255,255,255,.65); }
.takeoff-ai-actions-detail summary { cursor: pointer; font-weight: 700; }
.takeoff-ai-actions-detail ol { display: grid; gap: .35rem; margin: .65rem 0 0; padding-left: 1.2rem; }
.takeoff-ai-actions-detail li { display: flex; justify-content: space-between; gap: .75rem; }
.takeoff-ai-actions-detail li small { color: var(--muted, #64756f); text-align: right; }
.takeoff-ai-findings { flex: 1 1 100%; display: grid; gap: .25rem; margin: .35rem 0 0; padding-left: 1rem; }
.takeoff-ai-findings li { display: grid; gap: .12rem; }
.takeoff-ai-findings a { font-weight: 600; }
.takeoff-ai-findings span { color: var(--muted, #64756f); font-size: .82rem; line-height: 1.35; }
.tracklog-ai-found { display: grid; gap: 14px; margin-top: 16px; padding: 16px; border: 1px solid rgba(40, 109, 97, .2); border-radius: 14px; background: rgba(237, 246, 242, .72); }
.tracklog-ai-found > div { display: grid; gap: 6px; }
.tracklog-ai-found ul { display: grid; gap: 7px; margin: 0; padding-left: 20px; }
.tracklog-ai-found li { display: grid; gap: 2px; }
.tracklog-ai-found a { color: var(--accent-strong, #286d61); font-weight: 700; }
.tracklog-ai-found small { color: var(--muted, #66716d); font-size: .84rem; }
.tracklog-ai-found-category { color: var(--muted, #66716d); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.ops-collapsible { overflow: clip; }
.pilot-ops-accordion { margin: .9rem 0; padding: .1rem .85rem .85rem; border: 1px solid rgba(40,127,109,.2); border-radius: .7rem; background: linear-gradient(145deg, rgba(240,249,245,.86), rgba(255,250,242,.78)); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.pilot-ops-accordion summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 3.25rem; cursor: pointer; list-style: none; color: #17343c; }
.pilot-ops-accordion summary::-webkit-details-marker { display: none; }
.pilot-ops-accordion summary::before { content: '⌄'; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border: 1px solid rgba(40,127,109,.28); border-radius: 999px; color: #286d61; background: rgba(240,249,245,.86); font-weight: 900; transition: transform .2s ease; }
.pilot-ops-accordion:not([open]) summary::before { transform: rotate(-90deg); }
.pilot-ops-accordion summary > span:first-child { display: grid; gap: .15rem; margin-right: auto; }
.pilot-ops-accordion summary strong { font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.pilot-ops-accordion summary small { color: #64757b; font-size: .7rem; }
.pilot-training-card { border-left-color: #287f6d; background: linear-gradient(145deg, #f1faf6, #fff); }
.pilot-training-card::before { background: #287f6d; }
.pilot-training-card .pilot-board-next-step { border-left-color: #287f6d; background: rgba(40,127,109,.08); }
.ops-collapsible > .section-toolbar { align-items: center; min-height: 3.4rem; }
.ops-collapsible.is-collapsed>:not(.section-toolbar):not(.ops-collapse-control-row){display:none!important}
.ops-collapse-control-row { display: flex; justify-content: flex-end; align-items: center; min-height: 2rem; margin-top: .7rem; padding-top: .55rem; border-top: 1px solid rgba(40, 127, 109, .12); }
.ops-collapse-toggle { flex: 0 0 auto; display: inline-grid; place-items: center; width: 1.8rem; min-width: 1.8rem; height: 1.8rem; padding: 0 0 .08rem; border: 1px solid rgba(40, 127, 109, .28); border-radius: .45rem; color: var(--accent-strong, #286d61); background: rgba(240, 249, 245, .86); font-size: 1rem; font-weight: 800; line-height: 1; transition: transform .2s ease, background .2s ease, color .2s ease; }
.ops-collapse-toggle:hover { color: #fff; background: var(--accent, #287f6d); }
.ops-collapsible:not(.is-collapsed) .ops-collapse-toggle { transform: rotate(90deg); }
@media (max-width: 760px) {
  .ops-collapse-control-row { margin-top: .55rem; padding-top: .45rem; }
  .ops-collapse-toggle { width: 1.65rem; min-width: 1.65rem; height: 1.65rem; font-size: .9rem; }
}
.ops-section-tabs a.hidden { display: none; }
@keyframes ai-spinner { to { transform: rotate(360deg); } }
@keyframes form-spinner { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .form-loading-spinner { animation-duration: 1.4s; } }
.takeoff-ai-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.takeoff-ai-field { min-width: 0; padding: .75rem; border: 1px solid rgba(40, 127, 109, .18); border-radius: .75rem; background: rgba(255, 255, 255, .72); }
.takeoff-ai-field .field { gap: .35rem; }
.takeoff-ai-field .field span { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.takeoff-ai-field em { color: #287f6d; font-size: .72rem; font-style: normal; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.takeoff-ai-field small { display: block; margin: .45rem 0; color: var(--muted, #64756f); overflow-wrap: anywhere; }
@media (max-width: 720px) { .takeoff-ai-heading { display: grid; } .takeoff-ai-fields { grid-template-columns: 1fr; } }
.tracklog-source-summary { display: grid; gap: .35rem; padding: .65rem .75rem; border: 1px solid rgba(44, 150, 137, .2); border-radius: .7rem; background: rgba(239, 250, 246, .62); }
.tracklog-source-summary .field-help { margin: 0; }
.tracklog-missing { padding: .75rem; border-radius: .65rem; background: rgba(255,247,235,.8); color: var(--text); }
.tracklog-missing ul { margin: .45rem 0; padding-left: 1.2rem; }
.tracklog-route { display: grid; gap: .35rem; }
.tracklog-route svg { width: 100%; max-height: 10rem; border: 1px solid var(--line); border-radius: .75rem; }
@media (max-width: 680px) { .tracklog-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tracklog-metrics-title { display: grid; gap: .15rem; } }
.takeoff-pilot-assignment-panel { min-height: 2.8rem; }
.takeoff-pilot-assignment-list { display: grid; gap: .55rem; }
.takeoff-pilot-assignment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .7rem .8rem;
  border: 1px solid rgba(44, 150, 137, .22);
  border-radius: .8rem;
  background: rgba(255, 255, 255, .78);
}
.takeoff-pilot-assignment-identity { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.takeoff-pilot-assignment-identity > div:last-child { min-width: 0; }
.takeoff-pilot-assignment-identity strong,
.takeoff-pilot-assignment-identity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.takeoff-pilot-assignment-identity small { margin-top: .15rem; color: var(--muted); font-size: .74rem; }
.takeoff-pilot-assignment-avatar {
  display: grid;
  flex: 0 0 2.2rem;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #176d78, #2d9b88);
  font-family: var(--display-font, inherit);
  font-weight: 800;
}
.takeoff-pilot-assignment-controls { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(9rem, .8fr) auto; gap: .7rem; align-items: end; margin-top: .85rem; }
.takeoff-pilot-assignment-controls .button { min-height: 2.55rem; white-space: nowrap; }
.takeoff-pilot-assignment-remove { flex: 0 0 auto; }
@media (max-width: 760px) {
  .takeoff-pilot-assignment-controls { grid-template-columns: 1fr; }
  .takeoff-pilot-assignment-controls .button { width: 100%; }
  .takeoff-pilot-assignment { align-items: flex-start; }
}
.booking-transfer-info { display: flex; gap: .6rem; align-items: flex-start; margin-top: .9rem; padding-top: .75rem; border-top: 1px solid rgba(23,49,61,.12); }
.booking-transfer-info > span { font-size: 1.3rem; }
.booking-transfer-info p { margin: .15rem 0; color: var(--text); font-size: .88rem; }
.booking-transfer-info small { color: var(--muted); }
#customerSection { grid-template-columns: minmax(0, 1fr); }
#adminFlightMediaSection { width: 100%; grid-column: 1 / -1; }
#adminBookings { max-width: none; }
#adminBookedCard { padding: 1rem 1.25rem; }
#adminBookedCard .empty-state { padding: .15rem 0; }
#adminBookedCard .empty-state h3 { margin: .35rem 0; }
#adminBookedCard .empty-state p { margin: .25rem 0; }
.admin-booking-row {
  max-width: none;
  padding: .55rem .75rem;
  border-radius: .75rem;
  box-shadow: 0 6px 16px rgba(35, 52, 58, .045);
}
.admin-booking-row header { align-items: center; gap: .75rem; }
.admin-booking-row header strong { font-size: .95rem; }
.admin-booking-row header p { margin: .2rem 0 0; font-size: .78rem; }
.admin-booking-row > .helper-copy { margin: .35rem 0; font-size: .68rem; }
.admin-booking-row .booking-detail-grid { gap: .55rem; }
.admin-booking-row .review-box { padding: .45rem .6rem; }
.admin-booking-row .review-box strong { font-size: .72rem; }
.admin-booking-row .review-box p { margin: .2rem 0 0; font-size: .72rem; line-height: 1.35; }
.admin-booking-row > p:not(.helper-copy) { margin: .35rem 0; font-size: .72rem; }
.admin-booking-row .detail-tags { gap: .35rem; }
.admin-booking-row .detail-tag { padding: .3rem .45rem; font-size: .64rem; }
.booked-flight-card .booking-detail-grid { align-items: stretch; }
.booked-flight-card .review-box {
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
  font-size: .94rem;
  line-height: 1.45;
}
.booked-flight-card .review-box strong { font-size: .88rem; }
.booked-flight-card .review-box p {
  margin: .35rem 0 0;
  font-size: .94rem;
  line-height: 1.45;
}
.finance-review-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  column-gap: .8rem;
  align-items: start;
}
.finance-review-box > strong { grid-column: 1; grid-row: 1; align-self: start; }
.finance-review-box .finance-review-copy { grid-column: 1; grid-row: 2; min-width: 0; }
.finance-review-box .finance-review-copy p { margin: .35rem 0 0; }
.finance-review-box .ips-qr-block {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: -.15rem 0 0;
  align-self: start;
  justify-items: end;
  text-align: right;
}
.finance-review-box .ips-qr-block > span { font-size: .62rem; line-height: 1.1; }
.ips-qr-thumb {
  display: grid;
  gap: .3rem;
  width: min(100%, 92px);
  margin: 0;
  padding: .25rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: #fff;
  color: var(--muted);
  cursor: zoom-in;
  text-align: center;
}
.ips-qr-thumb:hover { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(36, 93, 136, .12); }
.ips-qr-thumb .ips-qr-image { display: block; width: 100%; max-width: none; padding: 0; border: 0; }
.ips-qr-thumb small { font-size: .68rem; line-height: 1.1; }
.booking-follow-up {
  margin: .55rem 0;
  padding: .65rem .8rem;
  border: 1px solid rgba(154, 91, 0, .28);
  border-radius: .65rem;
  background: rgba(255, 246, 221, .72);
  color: var(--text);
  font-size: .82rem;
}
.booking-follow-up strong { display: block; margin-bottom: .25rem; }
.booking-follow-up ul { margin: .25rem 0 0 1.15rem; padding: 0; }
.booking-follow-up li + li { margin-top: .2rem; }
@media (max-width: 760px) {
  .finance-review-box { display: block; }
  .booked-flight-card .review-box { height: auto; }
  .finance-review-box .ips-qr-block { margin-top: .75rem; }
  .finance-review-box .ips-qr-image { width: min(100%, 280px); }
  .ips-qr-thumb { width: min(100%, 92px); }
}

@media (max-width: 760px) {
  .admin-notifications-panel {
    top: 4.75rem;
    right: 1rem;
    left: 1rem;
    width: auto;
    max-height: calc(100vh - 6rem);
    margin-top: 0;
    z-index: 1100;
  }
}
.admin-booking-window-tabs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem; }
.admin-booking-window-tabs button {
  padding: .38rem .55rem;
  border: 1px solid rgba(23,49,61,.14);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
}
.admin-booking-window-tabs button:hover,
.admin-booking-window-tabs button.is-active { color: var(--text); border-color: var(--accent); background: rgba(36,93,136,.08); }
.admin-booking-pagination { display: flex; align-items: center; justify-content: flex-start; gap: .65rem; max-width: none; margin-top: .7rem; }
.admin-booking-pagination button { padding: .35rem .6rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: transparent; font: inherit; font-size: .68rem; font-weight: 800; cursor: pointer; }
.admin-booking-pagination button:disabled { cursor: not-allowed; opacity: .35; }
.admin-booking-pagination span { color: var(--muted); font-size: .68rem; font-weight: 700; }
#adminFlightMediaSection,
#adminFlightMediaSection.portal-card-media {
  color: var(--text) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,239,227,.9)) !important;
}
#adminFlightMediaSection::before { background: linear-gradient(90deg, var(--accent), var(--gold), var(--green)); opacity: .45; }
#adminFlightMediaSection .eyebrow,
#adminFlightMediaSection h3,
#adminFlightMediaSection h4,
#adminFlightMediaSection strong { color: var(--text) !important; }
#adminFlightMediaSection .helper-copy,
#adminFlightMediaSection p { color: var(--muted) !important; }
#adminFlightMediaSection .status-pill { color: var(--text) !important; background: var(--bg-soft) !important; border-color: var(--line) !important; }
#adminFlightMediaSection .admin-media-row { background: rgba(255,255,255,.78); }
#adminFlightMediaSection .admin-media-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Keep the assignment summary inside its pilot card. Without a formatting
   context, the first/last helper paragraph margins can collapse through the
   card and the next pilot row can paint over the launch names. */
.pilot-admin-list { grid-auto-rows: max-content; }
.pilot-admin-card { display: flow-root; min-height: max-content; }
.pilot-admin-card .helper-copy {
  margin: .7rem 0 0;
  overflow-wrap: anywhere;
}

.booked-flight-card .review-box p {
  overflow-wrap: anywhere;
}

.email-status-card { margin-top: 1rem; }
.email-test-grid { align-items: end; }
.email-test-actions { align-items: end; flex-wrap: wrap; }
.email-test-actions .button { flex: 1 1 12rem; }
@media (max-width: 760px) {
  .pilot-admin-carousel { gap: .35rem; }
  .pilot-admin-carousel-button { width: 2rem; height: 2rem; }
  .pilot-admin-list .pilot-admin-card { flex-basis: 84%; }
  .ops-section-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
  .ops-tab-family { flex: 0 0 auto; }
  .ops-tab-family-links { flex-wrap: nowrap; }
  .ops-section-tabs a { flex: 0 0 auto; }
  #adminPanel > .ops-layout { padding: .65rem; }
  .admin-booking-row { padding: .6rem; }
  .admin-booking-window-tabs { justify-content: flex-start; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .admin-booking-window-tabs button { flex: 0 0 auto; }
  #adminFlightMediaSection .admin-media-list { grid-template-columns: 1fr; }
}

/* Final shared-width contract. Keep this block last so route-specific legacy
   overrides cannot quietly reintroduce uneven page edges. */
.section-heading.compact,
.route-intro,
.nearby-grid,
.explore-grid,
.booking-grid,
.portal-grid,
.ops-layout,
.ops-shell,
.ops-section-tabs,
#customerSection,
#launchEditorSection,
.experience-story,
.destination-showcase-body,
.community-gallery-head,
.public-media-gallery,
.news-heading,
.news-grid {
  width: 100%;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

.nearby-grid {
  grid-template-columns: 1fr;
}

.nearby-grid > * {
  grid-column: 1 / -1;
  width: 100%;
}

.page > section:not(.discover-spotlight) {
  max-width: var(--content-max);
}

#communityGallery {
  width: 100%;
  max-width: none;
}

#communityGallery .community-gallery-head,
#communityGallery .public-media-gallery {
  width: 100%;
  max-width: var(--content-max);
}

/* The visible “Iz vazduha” panel must share the same outer frame, not only
   its inner gallery content. */
#communityGallery {
  box-sizing: border-box;
  width: min(calc(100% - 2rem), 74rem);
  max-width: 74rem;
  margin-left: auto;
  margin-right: auto;
}

/* Booking B variant: solid editorial artwork replacing the old inline SVG. */
.booking-policy-card .paragliding-illustration {
  position: relative;
  isolation: isolate;
  height: clamp(12rem, 22vw, 19rem);
  margin: -.35rem -.35rem 1rem;
  border-radius: 1.15rem;
  background: #dbe8ed;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(23,49,61,.08);
}

.booking-illustration-image {
  display: block;
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  animation: bookingSceneDrift 24s ease-in-out infinite alternate;
  will-change: transform;
}

/* A visible cinematic light pass makes the solid artwork feel alive without
   turning the booking panel into a distracting animation. */
.booking-policy-card .paragliding-illustration::before,
.booking-policy-card .paragliding-illustration::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.booking-policy-card .paragliding-illustration::before {
  inset: -35% -25%;
  background: linear-gradient(112deg,
    transparent 34%,
    rgba(255, 248, 211, .06) 42%,
    rgba(255, 249, 219, .42) 50%,
    rgba(255, 229, 173, .12) 56%,
    transparent 65%);
  transform: translateX(-72%) rotate(7deg);
  mix-blend-mode: screen;
  animation: bookingLightSweep 9s cubic-bezier(.4, 0, .2, 1) infinite;
}

.booking-policy-card .paragliding-illustration::after {
  inset: 0;
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 243, 196, .28), transparent 24%),
    radial-gradient(circle at 78% 72%, rgba(126, 221, 221, .14), transparent 32%);
  opacity: .52;
  mix-blend-mode: screen;
  animation: bookingAtmosphere 12s ease-in-out infinite alternate;
}

@keyframes bookingLightSweep {
  0%, 18% { transform: translateX(-72%) rotate(7deg); opacity: 0; }
  31% { opacity: 1; }
  62% { transform: translateX(72%) rotate(7deg); opacity: .78; }
  100% { transform: translateX(112%) rotate(7deg); opacity: 0; }
}

@keyframes bookingAtmosphere {
  from { opacity: .3; transform: scale(1); }
  to { opacity: .7; transform: scale(1.08); }
}

@keyframes bookingSceneDrift {
  from { transform: scale(1.035) translate3d(-.5%, 0, 0); }
  to { transform: scale(1.09) translate3d(1.5%, -1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .booking-illustration-image { animation: none; transform: scale(1.05); }
  .booking-policy-card .paragliding-illustration::before,
  .booking-policy-card .paragliding-illustration::after { animation: none; }
}

.booking-empty-state { display: grid; gap: .7rem; padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px dashed rgba(112,90,59,.35); background: #fffaf0; color: #5d5145; }
.booking-empty-state strong { color: var(--editorial-ink); font-size: 1.35rem; }
.booking-empty-state p { max-width: 52ch; margin: 0; line-height: 1.6; }
.booking-empty-state .button { justify-self: start; }
.booking-experience .button:disabled { cursor: not-allowed; opacity: .48; filter: saturate(.35); }
.booking-experience .package-summary:empty { display: none; }

@media (max-width: 760px) {
  body.booking-focus #bookingSection { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  body.booking-focus #bookingSection .booking-input-layout { display: flex; flex-direction: column; }
  body.booking-focus #bookingSection .booking-date-column { order: -1; width: 100%; }
  body.booking-focus #bookingSection .booking-card form > button[type="submit"] { position: sticky; bottom: .75rem; z-index: 5; box-shadow: 0 10px 24px rgba(23,52,60,.2); }
}

.explore-detail-section { padding: clamp(2rem, 5vw, 5rem) 0 1rem; }
.explore-detail-card { overflow: hidden; border: 1px solid var(--editorial-line); border-radius: 1.4rem; background: #fff; box-shadow: var(--editorial-shadow); }
.explore-detail-visual { position: relative; min-height: clamp(24rem, 42vw, 38rem); background: var(--editorial-ink); }
.explore-detail-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,35,40,.82), rgba(10,35,40,.12) 72%), linear-gradient(0deg, rgba(10,35,40,.5), transparent 55%); pointer-events: none; }
.explore-detail-visual img { display: block; width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.explore-detail-visual-copy { position: absolute; z-index: 1; left: clamp(1.2rem, 5vw, 5rem); bottom: clamp(1.5rem, 5vw, 4.5rem); max-width: 48rem; color: #fff; }
.explore-detail-visual-copy .eyebrow { color: #a8e1d1; }
.explore-detail-visual-copy h2 { margin: .35rem 0 1rem; color: #fff; font-size: clamp(3.5rem, 9vw, 8.5rem); line-height: .82; letter-spacing: -.06em; }
.explore-detail-visual-copy p:last-child { max-width: 50ch; color: rgba(255,255,255,.84); line-height: 1.65; }
.explore-detail-content { padding: clamp(1.2rem, 4vw, 3.5rem); }
.explore-detail-heading { display: flex; align-items: start; justify-content: space-between; gap: 1.5rem; }
.explore-detail-heading h3 { max-width: 18ch; margin: .35rem 0 0; font-size: clamp(2rem, 4vw, 4rem); line-height: .9; letter-spacing: -.045em; }
.explore-detail-status { flex: 0 0 auto; padding-top: .3rem; }
.detail-status { display: inline-flex; padding: .55rem .8rem; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.detail-status-ready { color: #155c4e; background: #cfeee1; }
.detail-status-review { color: #704a22; background: #f7e4bf; }
.detail-status-muted { color: #5c6668; background: #e9eded; }
.explore-detail-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 2rem 0; border-top: 1px solid var(--editorial-line); border-bottom: 1px solid var(--editorial-line); }
.explore-detail-facts div { display: grid; gap: .45rem; min-height: 6.8rem; padding: 1rem; border-right: 1px solid var(--editorial-line); }
.explore-detail-facts div:last-child { border-right: 0; }
.explore-detail-facts small { color: #6a7779; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.explore-detail-facts strong { color: var(--editorial-ink); font-size: 1rem; line-height: 1.35; }
.explore-detail-sectors { margin: 1.5rem 0; }
.explore-detail-sectors > div { display: flex; flex-wrap: wrap; gap: .5rem; }
.explore-detail-sectors span { padding: .55rem .75rem; border: 1px solid var(--editorial-line); border-radius: 999px; color: var(--editorial-teal); font-size: .8rem; font-weight: 800; }
.explore-detail-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--editorial-line); }
.explore-detail-footer p { margin: 0; color: #5d6b6e; line-height: 1.5; }
.detail-action-note { max-width: 28rem; color: #765a3b; font-size: .85rem; line-height: 1.5; }

@media (max-width: 760px) {
  .explore-detail-visual { min-height: 29rem; }
  .explore-detail-visual-copy { left: 1.2rem; right: 1.2rem; bottom: 1.5rem; }
  .explore-detail-visual-copy h2 { font-size: clamp(3.2rem, 17vw, 5.6rem); }
  .explore-detail-heading { display: block; }
  .explore-detail-status { margin-top: 1rem; }
  .explore-detail-facts { grid-template-columns: 1fr 1fr; }
  .explore-detail-facts div:nth-child(2) { border-right: 0; }
  .explore-detail-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--editorial-line); }
  .explore-detail-footer { align-items: stretch; flex-direction: column; }
  .explore-detail-footer .button { width: 100%; }
}

@media (max-width: 760px) {
  .booking-policy-card .paragliding-illustration { height: 12rem; }
  .booking-illustration-image { object-position: 58% center; }
}

@media (max-width: 760px) {
  #communityGallery {
    width: calc(100% - 2rem);
    max-width: none;
  }
}

/* Booking context follows the homepage composition: the artwork is a quiet,
   transparent field behind the useful facts, and the context appears before
   the form when a takeoff is selected. */
#bookingSection .booking-side-panel {
  display: contents;
}

#bookingSection #bookingWizardCard {
  grid-column: 1 / -1;
  grid-row: 2;
}

#bookingSection .booking-policy-card {
  position: relative;
  grid-column: 1 / -1;
  grid-row: 1;
  overflow: hidden;
  background: rgba(255, 255, 255, .56);
  border-color: rgba(219, 232, 229, .78);
}

#bookingSection .booking-policy-card .paragliding-illustration {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: auto;
  margin: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
  opacity: .2;
}

#bookingSection .booking-policy-card .booking-illustration-image {
  opacity: 1;
  filter: saturate(.9) contrast(.96);
}

#bookingSection .booking-policy-card .paragliding-illustration::before {
  opacity: .62;
}

#bookingSection .booking-policy-card .paragliding-illustration::after {
  opacity: .3;
}

#bookingSection .booking-policy-card > .section-toolbar,
#bookingSection .booking-policy-card > #bookingPolicy {
  position: relative;
  z-index: 2;
}

#bookingSection .booking-policy-card > .section-toolbar {
  border-bottom-color: rgba(219, 232, 229, .8);
}

#bookingSection .booking-policy-card .policy-stack > * {
  background: rgba(255, 255, 255, .72);
}

@media (max-width: 760px) {
  #bookingSection #bookingWizardCard,
  #bookingSection .booking-policy-card {
    grid-column: 1;
  }
}

/* Let the background artwork read through while keeping text on calm,
   translucent surfaces instead of opaque white panels. */
#bookingSection .booking-policy-card {
  background: rgba(255, 255, 255, .28);
}

#bookingSection .booking-policy-card .paragliding-illustration {
  opacity: .42;
}

#bookingSection .booking-policy-card > .section-toolbar {
  padding: .7rem .85rem .85rem;
  border-radius: .85rem .85rem 0 0;
  background: rgba(255, 255, 255, .48);
  text-shadow: 0 1px 2px rgba(255, 255, 255, .85);
}

#bookingSection .booking-policy-card .policy-stack > * {
  background: rgba(255, 255, 255, .56);
  backdrop-filter: blur(2px);
}

#bookingSection .booking-policy-card .policy-stack > .booking-policy-badges,
#bookingSection .booking-policy-card .policy-stack > .booking-policy-grid {
  background: rgba(255, 255, 255, .25);
}

/* No white cards over the artwork: use one dark translucent editorial layer
   so the illustration stays visible and the Serbian copy remains readable. */
#bookingSection .booking-policy-card {
  background: transparent;
  color: #fff;
}

#bookingSection .booking-policy-card .paragliding-illustration {
  opacity: .78;
}

#bookingSection .booking-policy-card > .section-toolbar {
  background: rgba(14, 45, 56, .42);
  border-bottom-color: rgba(255, 255, 255, .28);
  text-shadow: 0 1px 4px rgba(0, 0, 0, .48);
}

#bookingSection .booking-policy-card > .section-toolbar h3,
#bookingSection .booking-policy-card > .section-toolbar .context-icon {
  color: #fff;
}

#bookingSection .booking-policy-card .policy-stack > .booking-policy-badges,
#bookingSection .booking-policy-card .policy-stack > .booking-policy-grid {
  background: transparent;
}

#bookingSection .booking-policy-card .booking-policy-badges span,
#bookingSection .booking-policy-card .booking-policy-grid .policy-block,
#bookingSection .booking-policy-card .booking-policy-grid .policy-note {
  background: rgba(14, 45, 56, .46) !important;
  border-color: rgba(255, 255, 255, .24) !important;
  color: rgba(255, 255, 255, .96);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .42);
}

#bookingSection .booking-policy-card .booking-policy-grid .policy-block p,
#bookingSection .booking-policy-card .booking-policy-grid .policy-note p,
#bookingSection .booking-policy-card .booking-policy-badges span {
  color: rgba(255, 255, 255, .9);
}

/* Final transparent treatment: no white or grey text rectangles at all. */
#bookingSection .booking-policy-card .paragliding-illustration {
  opacity: 1;
}

#bookingSection .booking-policy-card > .section-toolbar,
#bookingSection .booking-policy-card .policy-stack > .booking-policy-badges,
#bookingSection .booking-policy-card .policy-stack > .booking-policy-grid,
#bookingSection .booking-policy-card .booking-policy-badges span,
#bookingSection .booking-policy-card .booking-policy-grid .policy-block,
#bookingSection .booking-policy-card .booking-policy-grid .policy-note {
  background: transparent !important;
}

#bookingSection .booking-policy-card > .section-toolbar {
  border-bottom-color: rgba(255, 255, 255, .58);
}

#bookingSection .booking-policy-card .booking-policy-badges span,
#bookingSection .booking-policy-card .booking-policy-grid .policy-block,
#bookingSection .booking-policy-card .booking-policy-grid .policy-note {
  border-color: rgba(255, 255, 255, .54) !important;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .82), 0 0 2px rgba(0, 0, 0, .76);
}

#bookingSection .booking-policy-card .booking-policy-grid .policy-block p,
#bookingSection .booking-policy-card .booking-policy-grid .policy-note p,
#bookingSection .booking-policy-card .booking-policy-badges span {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .82), 0 0 2px rgba(0, 0, 0, .76);
}

#bookingSection .booking-policy-card > #bookingPolicy,
#bookingSection .booking-policy-card > #bookingPolicy .policy-stack,
#bookingSection .booking-policy-card > #bookingPolicy .booking-policy-badges,
#bookingSection .booking-policy-card > #bookingPolicy .booking-policy-grid {
  background: transparent !important;
}

/* One continuous contrast veil is more legible than separate text boxes and
   keeps the landscape visible as one editorial image. */
#bookingSection .booking-policy-card {
  position: relative;
  isolation: isolate;
}

#bookingSection .booking-policy-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(7, 37, 49, .48) 0%,
    rgba(7, 37, 49, .2) 34%,
    rgba(7, 37, 49, .38) 72%,
    rgba(7, 37, 49, .58) 100%);
}

#bookingSection .booking-policy-card > .section-toolbar,
#bookingSection .booking-policy-card > #bookingPolicy {
  z-index: 2;
}

#bookingSection .booking-policy-card > .section-toolbar {
  text-shadow: 0 2px 4px rgba(0, 0, 0, .82), 0 0 3px rgba(0, 0, 0, .65);
}

#bookingSection .booking-policy-card .booking-policy-badges span,
#bookingSection .booking-policy-card .booking-policy-grid .policy-block,
#bookingSection .booking-policy-card .booking-policy-grid .policy-block p,
#bookingSection .booking-policy-card .booking-policy-grid .policy-note,
#bookingSection .booking-policy-card .booking-policy-grid .policy-note p {
  text-shadow: 0 2px 4px rgba(0, 0, 0, .92), 0 0 3px rgba(0, 0, 0, .78);
}

/* Final typography pass: calm, static artwork and clean anti-aliased type. */
#bookingSection .booking-policy-card .booking-illustration-image {
  animation: none;
  transform: scale(1.04);
}

#bookingSection .booking-policy-card .paragliding-illustration::before {
  animation: none;
  background: linear-gradient(180deg,
    rgba(7, 37, 49, .58) 0%,
    rgba(7, 37, 49, .26) 38%,
    rgba(7, 37, 49, .46) 72%,
    rgba(7, 37, 49, .68) 100%);
}

#bookingSection .booking-policy-card .paragliding-illustration::after {
  animation: none;
  opacity: 0;
}

#bookingSection .booking-policy-card #bookingPolicy,
#bookingSection .booking-policy-card #bookingPolicy strong,
#bookingSection .booking-policy-card #bookingPolicy p,
#bookingSection .booking-policy-card #bookingPolicy span {
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke: 0;
}

#bookingSection #bookingPolicy .booking-policy-badges span {
  font-size: 1rem;
  line-height: 1.35;
}

#bookingSection #bookingPolicy .booking-policy-grid .policy-block strong {
  font-size: 1.2rem;
  line-height: 1.22;
}

#bookingSection #bookingPolicy .booking-policy-grid .policy-block p,
#bookingSection #bookingPolicy .booking-policy-grid .policy-note p {
  font-size: 1.08rem;
  line-height: 1.62;
  letter-spacing: .005em;
}

#bookingSection .booking-policy-card .booking-policy-badges span,
#bookingSection .booking-policy-card .booking-policy-grid .policy-block,
#bookingSection .booking-policy-card .booking-policy-grid .policy-block p,
#bookingSection .booking-policy-card .booking-policy-grid .policy-note,
#bookingSection .booking-policy-card .booking-policy-grid .policy-note p {
  text-shadow: 0 2px 4px rgba(0, 0, 0, .9);
}

@media (max-width: 760px) {
  #bookingSection #bookingPolicy .booking-policy-grid .policy-block p,
  #bookingSection #bookingPolicy .booking-policy-grid .policy-note p {
    font-size: 1rem;
  }
}

/* Compact, Manawa-inspired booking composition: one readable content column
   and a clearly emphasized date step instead of a wide empty form. */
body.booking-focus #bookingSection {
  width: min(calc(100% - 2rem), 74rem) !important;
  max-width: 74rem;
  margin-left: auto;
  margin-right: auto;
}

#bookingSection .booking-date-field {
  min-height: 100%;
  grid-column: 1 / -1;
  padding: 1rem;
  border: 1px solid rgba(45, 159, 135, .26);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(232, 242, 242, .86), rgba(255, 248, 237, .92));
}

#bookingSection .booking-date-field > span {
  color: var(--accent-strong);
  font-size: 1rem;
  font-weight: 800;
}

#bookingSection .booking-date-field input {
  min-height: 4.15rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(35, 141, 183, .35);
  border-radius: .8rem;
  background: rgba(255, 255, 255, .9);
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 700;
}

#bookingSection .booking-date-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(239, 120, 88, .16);
}

/* Make the booking-type choice as scannable as the calendar: it is a
   decision field, not a secondary checkbox hidden among contact inputs. */
#bookingSection .booking-voucher-fieldset {
  grid-column: 1 / -1;
  width: 100%;
  box-sizing: border-box;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid rgba(35, 141, 183, .35);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(232, 242, 242, .86), rgba(255, 248, 237, .92));
  box-shadow: 0 10px 22px rgba(24, 42, 34, .06);
}

#bookingSection .booking-voucher-fieldset legend {
  color: var(--accent-strong);
  font-size: 1rem;
  font-weight: 800;
}

#bookingSection .booking-voucher-fieldset .day-toggle {
  width: 100%;
  box-sizing: border-box;
  min-height: 2.65rem;
  padding: .55rem .7rem;
  border: 1px solid rgba(35, 141, 183, .24);
  border-radius: .7rem;
  background: rgba(255, 255, 255, .78);
}

#bookingSection .booking-voucher-fieldset:has(#bookingVoucherToggle:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(239, 120, 88, .16), 0 10px 22px rgba(24, 42, 34, .06);
}

#bookingSection #bookingWizardCard {
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

@media (max-width: 760px) {
  body.booking-focus #bookingSection {
    width: calc(100% - 1rem) !important;
  }

  #bookingSection .booking-date-field input {
    min-height: 3.6rem;
  }
}

/* The offer itself is the decision surface: three equal, populated facts
   summarize price, duration, and the requested cancellation notice. */
#bookingSection .booking-offer-highlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: -.15rem 0 .2rem;
  overflow: hidden;
  border: 1px solid rgba(45, 159, 135, .28);
  border-radius: .85rem;
  background: rgba(45, 159, 135, .22);
}

#bookingSection .booking-offer-highlight > div {
  display: grid;
  gap: .18rem;
  padding: .85rem .9rem;
  background: linear-gradient(145deg, rgba(232, 242, 242, .96), rgba(255, 248, 237, .96));
}

#bookingSection .booking-offer-highlight span,
#bookingSection .booking-offer-highlight small {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

#bookingSection .booking-offer-highlight .booking-offer-cancellation {
  background: linear-gradient(145deg, rgba(232, 242, 242, .96), rgba(255, 248, 237, .96));
  color: inherit;
}

#bookingSection .booking-offer-highlight .booking-offer-cancellation span,
#bookingSection .booking-offer-highlight .booking-offer-cancellation small {
  color: var(--muted);
  opacity: 1;
}

#bookingSection .booking-offer-highlight .booking-offer-cancellation strong {
  color: var(--surface-ink);
}

#bookingSection .booking-offer-highlight strong {
  color: var(--surface-ink);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1;
}

#bookingSection .booking-offer-highlight small {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

#bookingSection .booking-offer-bullets {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.25rem;
  font-size: .88rem;
  line-height: 1.4;
}

#bookingSection .booking-offer-option strong {
  font-size: 1.02rem;
}

#bookingSection .booking-offer-option small,
#bookingSection .booking-offer-addon small {
  font-size: .84rem;
  line-height: 1.4;
}

@media (max-width: 760px) {
  #bookingSection .booking-offer-highlight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #bookingSection .booking-offer-highlight .booking-offer-cancellation {
    grid-column: 1 / -1;
  }

  #bookingSection .booking-offer-highlight > div {
    padding: .7rem .55rem;
  }

  #bookingSection .booking-offer-highlight strong {
    font-size: 1.15rem;
  }

  #bookingSection .booking-offer-bullets {
    grid-template-columns: 1fr;
  }
}

/* Bring booking visuals into the homepage's softer teal/cream language. */
#bookingSection .booking-illustration-image {
  filter: saturate(.58) brightness(.9) contrast(.92);
}

#bookingSection .booking-policy-card .booking-illustration-image {
  filter: saturate(.58) brightness(.9) contrast(.92);
}

#bookingSection #bookingPolicy .booking-policy-badges span,
#bookingSection #bookingPolicy .booking-policy-grid .policy-block,
#bookingSection #bookingPolicy .booking-policy-grid .policy-note {
  font-size: .88rem;
}

#bookingSection #bookingPolicy .booking-policy-grid .policy-block strong {
  display: block;
  margin-bottom: .55rem;
  font-size: 1.12rem;
  line-height: 1.2;
}

#bookingSection #bookingPolicy .booking-policy-grid .policy-block p,
#bookingSection #bookingPolicy .booking-policy-grid .policy-note p {
  font-size: 1rem;
  line-height: 1.58;
}

#bookingSection .booking-offer-group {
  background: linear-gradient(145deg, rgba(232, 242, 242, .96), rgba(255, 248, 237, .96));
  border-color: rgba(45, 159, 135, .22);
}

#bookingSection .booking-offer-option,
#bookingSection .booking-offer-addon {
  background: rgba(255, 255, 255, .74);
  border-color: rgba(45, 159, 135, .2);
}

#bookingSection .booking-offer-addon:has(input:checked),
#bookingSection .booking-offer-option:has(input:checked) {
  border-color: var(--accent);
  background: rgba(255, 248, 237, .88);
}

@media (max-width: 760px) {
  #bookingSection #bookingPolicy .booking-policy-grid .policy-block p,
  #bookingSection #bookingPolicy .booking-policy-grid .policy-note p {
    font-size: .92rem;
  }
}

#bookingSection .booking-policy-card #bookingPolicy,
#bookingSection .booking-policy-card #bookingPolicy strong,
#bookingSection .booking-policy-card #bookingPolicy p,
#bookingSection .booking-policy-card #bookingPolicy span {
  color: #fff !important;
}

#bookingSection .booking-policy-card .booking-policy-badges span,
#bookingSection .booking-policy-card .booking-policy-grid .policy-block,
#bookingSection .booking-policy-card .booking-policy-grid .policy-block p,
#bookingSection .booking-policy-card .booking-policy-grid .policy-note,
#bookingSection .booking-policy-card .booking-policy-grid .policy-note p {
  text-shadow: 0 2px 3px rgba(0, 0, 0, .95), 0 0 5px rgba(0, 0, 0, .72);
  -webkit-text-stroke: .18px rgba(0, 0, 0, .28);
}

.booking-offers { display: grid; gap: 1rem; margin: 1.4rem 0; }
.booking-offer-groups { display: grid; gap: 1rem; }
.booking-offer-group { display: grid; gap: .7rem; padding: .9rem; border: 1px solid var(--line); border-radius: 1rem; background: color-mix(in srgb, var(--surface) 92%, var(--accent) 8%); box-shadow: 0 10px 24px rgba(24, 42, 34, .06); }
.booking-offer-group:has(input[name="pilot_offer"]:checked) { border-color: color-mix(in srgb, var(--accent) 68%, var(--line)); background: linear-gradient(145deg, rgba(236,247,244,.96), rgba(255,248,237,.98)); box-shadow: 0 12px 28px rgba(31,123,103,.12), 0 0 0 2px rgba(217,111,43,.12); }
.booking-offer-profile { display: flex; align-items: center; gap: .8rem; }
.pilot-offer-identity { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.pilot-offer-thumbnail { width: 3.4rem; height: 3.4rem; flex: 0 0 auto; border: 2px solid rgba(45,159,135,.24); border-radius: 50%; object-fit: cover; object-position: center 22%; background: var(--surface-muted); box-shadow: 0 6px 14px rgba(35,75,80,.12); }
.pilot-offer-header-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 16rem); gap: .45rem; align-items: start; }
.pilot-offer-header-grid .booking-offer-profile { display: grid; align-content: start; gap: .35rem; min-width: 0; align-self: start; padding: .1rem .15rem 0; }
.pilot-offer-header-grid .pilot-offer-badges { align-self: start; }
.pilot-offer-header-grid .pilot-offer-media-column { grid-column: 2; grid-row: 1; }
.pilot-offer-header-grid .booking-offer-profile h4, .pilot-offer-header-grid .booking-offer-profile p { margin: 0; }
.pilot-offer-header-grid .booking-offer-profile h4 { margin-top: .15rem; color: var(--surface-ink); font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: .95; text-transform: uppercase; }
.pilot-offer-header-grid .booking-offer-profile p { margin-top: .2rem; color: var(--muted); font-size: .9rem; line-height: 1.25; }
.pilot-offer-media-column { display: grid; gap: .55rem; justify-items: stretch; }
.pilot-offer-large-portrait { display: block; width: 100%; height: 8rem; object-fit: cover; object-position: center 24%; border: 3px solid rgba(255,255,255,.92); border-radius: .9rem; box-shadow: 0 8px 18px rgba(13,39,47,.16); background: var(--surface-muted); }
.pilot-offer-empty-image { display: grid; min-height: 8rem; box-sizing: border-box; place-items: center; align-content: center; gap: .35rem; padding: 1rem; border: 1px dashed rgba(81,105,111,.38); border-radius: .9rem; background: linear-gradient(145deg, rgba(232,238,235,.92), rgba(247,241,231,.96)); color: #51696f; text-align: center; }
.pilot-offer-empty-image > span { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; background: rgba(81,105,111,.12); font-size: 1rem; }
.pilot-offer-empty-image strong { max-width: 18ch; font-size: .82rem; line-height: 1.2; }
.pilot-offer-empty-image small { max-width: 28ch; color: rgba(81,105,111,.78); font-size: .68rem; line-height: 1.35; }
.pilot-offer-discount-badge { max-width: 18rem; min-height: 100%; box-sizing: border-box; padding: .72rem .9rem; border: 1px solid rgba(201,149,61,.42); border-radius: .75rem; background: linear-gradient(145deg, rgba(255,247,218,.96), rgba(255,238,185,.78)); color: #79531c; font-size: .78rem; font-weight: 800; line-height: 1.35; text-align: left; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(121,83,28,.08); }
.pilot-offer-discount-badge > span { display: grid; gap: .18rem; min-width: 0; }
.pilot-offer-discount-badge b { color: #624311; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.pilot-offer-discount-wrap { display: flex; min-width: 0; justify-content: stretch; }
.booking-offer-profile img { width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; background: var(--surface-muted); }
.booking-offer-profile h4, .booking-offer-profile p { margin: 0; }
.booking-offer-profile p { color: var(--muted); font-size: .9rem; }
.booking-offer-bullets { display: grid; gap: .25rem; margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .9rem; }
.pilot-offer-badges, .pilot-offer-included-badges { display: flex; flex-wrap: wrap; gap: .2rem; }
.pilot-offer-badges span, .pilot-offer-included-badges span { display: inline-flex; align-items: center; padding: .3rem .5rem; border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line)); border-radius: 999px; background: rgba(255,255,255,.7); color: var(--surface-ink); font-size: .72rem; font-weight: 700; line-height: 1.15; }
.booking-offer-options { display: grid; gap: .55rem; }
.booking-offer-options, .pilot-offer-included { max-width: 42rem; }
.booking-location-strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, .8fr); gap: 1rem; align-items: center; padding: .9rem 1rem; border: 1px solid rgba(36,93,136,.16); border-radius: 1rem; background: linear-gradient(135deg, rgba(232,242,242,.9), rgba(255,248,237,.95)); }
.booking-location-strip h4, .booking-location-strip p { margin: 0; }
.booking-location-strip h4 { color: var(--surface-ink); font-size: 1.05rem; }
.booking-location-strip p:not(.eyebrow) { max-width: 38rem; margin-top: .3rem; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.booking-location-strip a { display: inline-flex; margin-top: .55rem; color: var(--accent-strong); font-size: .78rem; font-weight: 800; }
.booking-location-map { min-height: 9rem; margin-top: 0; overflow: hidden; border: 1px solid rgba(36,93,136,.18); border-radius: .85rem; background: #dfeceb; }
.booking-location-map iframe { display: block; width: 100%; min-height: 9rem; height: 100%; border: 0; }
.booking-input-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.booking-contact-column { display: grid; gap: .8rem; align-content: start; min-width: 0; }
.booking-date-column { min-width: 0; }
.booking-secondary-grid { display: grid; grid-template-columns: minmax(6rem, 7.5rem) minmax(0, 1fr); gap: .8rem; align-items: start; }
.booking-secondary-grid .booking-voucher-fieldset { min-width: 0; }
.booking-secondary-grid .booking-party-field input { max-width: 7.5rem; }
.booking-secondary-grid .booking-voucher-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.booking-offer-option { display: flex; width: 100%; box-sizing: border-box; justify-content: flex-start; gap: .55rem; align-items: flex-start; padding: .58rem .7rem; border: 1px solid var(--line); border-radius: .75rem; cursor: pointer; background: var(--surface); text-align: left; }
.booking-offer-option input { flex: 0 0 auto; margin: .15rem 0 0; }
.booking-offer-option input[type="radio"], .booking-offer-addon input[type="checkbox"] { width: auto; }
.booking-offer-option:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 20%, transparent); }
.booking-offer-option span { display: grid; min-width: 0; flex: 1 1 auto; gap: .2rem; }
.booking-offer-option strong, .booking-offer-option small { min-width: 0; overflow-wrap: anywhere; }
.booking-offer-option small { color: var(--muted); }
.pilot-offer-addons { display: grid; grid-template-columns: 1fr; gap: .5rem; padding-top: .25rem; }
.pilot-offer-addons > .eyebrow { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .68rem; }

/* Keep the offer comparison grid balanced: optional extras belong to a real
   column in the same detail grid, never as a loose block below its sibling. */
.pilot-offer-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .8rem; align-items: stretch; }
.pilot-offer-detail-grid { grid-auto-rows: 1fr; }
.pilot-offer-detail-grid > * { min-width: 0; min-height: 100%; height: auto; align-self: stretch; }
.pilot-offer-detail-grid .pilot-offer-included,
.pilot-offer-detail-grid .pilot-offer-side-facts { min-height: 100%; height: auto; }
.pilot-offer-addons { align-content: start; height: 100%; }

.pilot-availability-fieldset,
.pilot-voucher-fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 1rem; display: grid; gap: .75rem; }
.pilot-availability-fieldset legend,
.pilot-voucher-fieldset legend { padding: 0 .35rem; font-weight: 700; }
.pilot-availability-grid { display: grid; gap: .5rem; }
.pilot-day-row { display: grid; grid-template-columns: minmax(7rem, 1fr) auto minmax(11rem, 1fr); align-items: center; gap: .65rem; padding: .45rem .55rem; border: 1px solid var(--line); border-radius: 10px; }
.pilot-day-row input { width: auto; }
.pilot-day-row select { min-width: 0; }
.pilot-admin-identity, .pilot-inbox-identity { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.pilot-avatar { width: 2.7rem; height: 2.7rem; border-radius: 50%; object-fit: cover; background: var(--surface-muted); flex: 0 0 auto; }
.pilot-reschedule-form { display: grid; grid-template-columns: auto auto minmax(12rem, 1fr) auto; gap: .45rem; margin-top: .5rem; padding: .55rem; border: 1px solid var(--line); border-radius: 10px; }
.customer-reschedule-proposal { margin: .75rem 0; padding: .8rem; border: 1px solid var(--accent); border-radius: 12px; background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
@media (max-width: 700px) { .pilot-day-row { grid-template-columns: auto 1fr; } .pilot-day-row select { grid-column: 1 / -1; width: 100%; } }
.booking-offer-addon { display: flex; align-items: flex-start; gap: .65rem; padding: .65rem .75rem; border: 1px solid color-mix(in srgb, var(--line) 75%, var(--accent) 25%); background: rgba(255,255,255,.72); cursor: pointer; }
.booking-offer-addon:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--surface) 88%, var(--accent) 12%); }
.booking-offer-addon span { display: grid; gap: .15rem; }
.booking-offer-addon small { color: var(--muted); }
.pilot-offer-included { padding: .58rem .7rem; border-radius: .75rem; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); }
.pilot-offer-included .eyebrow { margin: 0 0 .35rem; color: var(--muted); font-size: .68rem; }
.pilot-offer-included ul, .pilot-offer-details ul { display: grid; gap: .25rem; margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .88rem; }
.pilot-offer-included-badges span { background: rgba(255,255,255,.52); color: var(--muted); font-size: .72rem; }
.pilot-offer-profile-summary { display: grid; gap: .45rem; margin-top: .65rem; padding: .7rem .8rem; border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line)); border-radius: .8rem; background: rgba(255,255,255,.56); }
.pilot-offer-profile-summary > .eyebrow { margin: 0; }
.pilot-offer-bio { max-width: 62rem; margin: 0; color: var(--surface-ink); font-size: .86rem; line-height: 1.45; }
.pilot-offer-credentials, .pilot-offer-achievements { display: grid; gap: .28rem; }
.pilot-offer-credentials strong, .pilot-offer-achievements strong { color: var(--surface-ink); font-size: .74rem; }
.pilot-offer-profile-chips { display: flex; flex-wrap: wrap; gap: .25rem; }
.pilot-offer-profile-chips span { display: inline-flex; padding: .24rem .45rem; border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line)); border-radius: 999px; background: rgba(255,255,255,.72); color: var(--muted); font-size: .7rem; font-weight: 700; }
.pilot-offer-achievements ul { display: grid; gap: .18rem; margin: 0; padding-left: 1.05rem; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.pilot-offer-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .5rem; align-items: start; }
.pilot-offer-detail-grid .pilot-offer-included { max-width: none; height: auto; box-sizing: border-box; }
.pilot-offer-choice-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; gap: .5rem; align-items: stretch; }
.pilot-offer-choice-row .booking-offer-options { max-width: none; }
.pilot-offer-choice-row--single, .pilot-offer-detail-grid--single { grid-template-columns: minmax(0, 1fr); }
.pilot-offer-side-facts { display: grid; gap: .55rem; min-width: 0; }
.pilot-offer-meeting { display: grid; gap: .25rem; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: .7rem; background: rgba(255,255,255,.58); }
.pilot-offer-meeting strong, .pilot-offer-route strong { color: var(--surface-ink); font-size: .72rem; }
.pilot-offer-meeting span, .pilot-offer-route span { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.pilot-offer-meeting a { color: var(--accent-strong); font-weight: 800; white-space: nowrap; }
.pilot-offer-map { position: relative; display: grid; min-height: 5.5rem; margin-top: .35rem; overflow: hidden; place-items: center; border: 1px solid rgba(36,93,136,.2); border-radius: .55rem; background-color: #dbe9e8; background-image: linear-gradient(28deg, transparent 42%, rgba(255,255,255,.8) 43%, rgba(255,255,255,.8) 47%, transparent 48%), linear-gradient(145deg, transparent 48%, rgba(36,93,136,.18) 49%, rgba(36,93,136,.18) 52%, transparent 53%), repeating-linear-gradient(90deg, rgba(36,93,136,.08) 0 1px, transparent 1px 28px), repeating-linear-gradient(0deg, rgba(36,93,136,.08) 0 1px, transparent 1px 24px); }
.pilot-offer-map small { position: absolute; left: .55rem; bottom: .45rem; padding: .22rem .35rem; border-radius: .35rem; background: rgba(255,255,255,.88); color: var(--surface-ink); font-size: .62rem; line-height: 1.2; }
.pilot-offer-map a { position: absolute; right: .45rem; bottom: .45rem; padding: .3rem .45rem; border-radius: .4rem; background: var(--accent); color: #fff; font-size: .65rem; font-weight: 800; }
.pilot-offer-map-pin { position: absolute; top: 42%; left: 52%; z-index: 1; display: grid; width: 1.5rem; height: 1.5rem; place-items: center; transform: translate(-50%, -50%); border: 3px solid #fff; border-radius: 50% 50% 50% 0; background: var(--accent); color: #fff; box-shadow: 0 3px 8px rgba(23,49,61,.3); font-size: .55rem; }
.pilot-offer-map-road { position: absolute; display: block; width: 130%; height: .35rem; background: rgba(255,255,255,.72); transform: rotate(-22deg); }
.pilot-offer-map-road.road-one { top: 35%; left: -10%; }
.pilot-offer-map-road.road-two { top: 68%; left: -15%; transform: rotate(18deg); background: rgba(255,255,255,.5); }
.pilot-offer-map-placeholder { display: grid; min-height: 5.5rem; place-items: center; margin-top: .35rem; padding: .5rem; border-radius: .55rem; background: rgba(81,105,111,.08); color: var(--muted); font-size: .72rem; text-align: center; }
.pilot-offer-route { display: grid; gap: .2rem; padding: .65rem .75rem; border-left: 3px solid var(--accent); border-radius: .55rem; background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.pilot-offer-route span { font-size: .98rem; font-weight: 700; color: var(--surface-ink); }
.pilot-offer-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.pilot-offer-facts > div { display: grid; gap: .2rem; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: .7rem; background: rgba(255,255,255,.58); }
.pilot-offer-facts strong { font-size: .72rem; color: var(--surface-ink); }
.pilot-offer-facts span { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.pilot-offer-details { border-top: 1px solid var(--line); padding-top: .65rem; color: var(--muted); font-size: .88rem; }
.pilot-offer-details summary { cursor: pointer; color: var(--surface-ink); font-weight: 700; }
.booking-detail-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: .75rem; }
.booking-detail-columns strong { color: var(--surface-ink); }
.pilot-offer-details p { line-height: 1.45; }
.pilot-offer-cancellation-note { margin-top: .8rem; padding: .8rem .9rem; border-left: 3px solid var(--adventure-orange, #d96f2b); border-radius: .6rem; background: color-mix(in srgb, #d96f2b 8%, var(--surface)); color: var(--surface-ink); }
.pilot-offer-cancellation-note strong { display: block; margin-bottom: .25rem; }
.pilot-offer-cancellation-note p { margin: 0; color: var(--surface-ink); }
.pilot-offer-cancellation-note small { display: block; margin-top: .3rem; color: var(--muted); line-height: 1.45; }
.booking-activity-note { margin: .75rem 0; padding: .75rem .9rem; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); color: var(--muted); }
.booking-activity-note strong { color: var(--surface-ink); }
.booking-activity-note p { margin: .25rem 0 0; }
.package-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .35rem .8rem;
  margin: 1rem 0 .8rem;
  padding: .9rem 1rem;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--line));
  border-radius: .8rem;
  background: color-mix(in srgb, var(--surface) 88%, var(--accent) 12%);
}
.package-summary > strong { color: var(--surface-ink); font-size: .95rem; }
.package-summary .booking-price-value { display: inline-flex; align-items: baseline; gap: .35rem; color: var(--surface-ink); font-size: 1.05rem; white-space: nowrap; }
.package-summary .booking-price-value small { color: var(--muted); font-size: .72rem; font-weight: 600; }
.package-summary > small { grid-column: 1 / -1; color: var(--muted); line-height: 1.45; }
.pilot-offer-discounts { max-width: 32rem; padding: .65rem .75rem; border-left: 2px solid var(--accent); background: rgba(255,255,255,.48); }
.booking-details .section-toolbar { margin-bottom: .7rem; }
.booking-details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.booking-details-grid > div { min-height: 0; display: grid; align-content: start; }

/* Route hero artwork is owned by the canonical contract at the end of this
   file. Do not add route-specific !important backgrounds here: selected
   takeoff artwork is a runtime override and must remain visible. */
body[data-active-page="about"] .about-hero-art img { content: url('/assets/launch-alpine-ridge.webp'); object-position: 62% center; }
body[data-active-page="ops"] .ops-shell .card,
body[data-active-page="ops"] .ops-shell .ops-header,
body[data-active-page="ops"] .ops-shell .ops-section-tabs {
  border-radius: var(--radius-xl);
  border-color: rgba(45,159,135,.18);
  box-shadow: var(--shadow-md);
}
body[data-active-page="ops"] .ops-shell .ops-header {
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,250,246,.9));
}
.pilot-auth-card,
#adminAuthCard,
.admin-access-card { border: 1px solid rgba(45,159,135,.2); border-radius: var(--radius-xl); background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,250,246,.9)); box-shadow: var(--shadow-md); }
.pilot-auth-card .pilot-login-form,
.pilot-auth-card .pilot-registration-panel { border: 1px solid rgba(45,159,135,.18); border-radius: var(--radius-lg); background: rgba(255,255,255,.72); box-shadow: 0 8px 20px rgba(35,75,80,.05); }
.pilot-auth-card .pilot-login-form input,
.pilot-auth-card .pilot-registration-panel input,
#adminAuthCard input { border-radius: .8rem; background: rgba(255,255,255,.9); }
.pilot-auth-card .button,
#adminAuthCard .button,
.admin-access-card .button { border-radius: 999px; }
.ops-shell .ops-dashboard .card,
.ops-shell .ops-dashboard .ops-header,
.pilot-portal-grid .card { border-radius: var(--radius-lg); border-color: rgba(45,159,135,.18); }
@media (max-width: 700px) {
  .pilot-offer-header-grid .booking-offer-profile { display: contents; }
  .pilot-offer-header-grid .booking-offer-profile > div:first-child { grid-column: 1; grid-row: 1; align-self: start; padding: .1rem .15rem 0; }
  .pilot-offer-header-grid .booking-offer-badges { grid-column: 1 / -1; grid-row: 2; }
  .pilot-offer-header-grid { grid-template-columns: minmax(0, 1fr) 7rem; gap: .7rem; }
  .pilot-offer-header-grid .pilot-offer-badges { grid-column: auto; }
  .pilot-offer-header-grid .pilot-offer-media-column { grid-column: 2; grid-row: 1; }
  .pilot-offer-large-portrait { height: 5.5rem; }
  .pilot-offer-header-grid .booking-offer-profile { gap: .55rem; }
  .pilot-offer-thumbnail { width: 3rem; height: 3rem; }
  .pilot-offer-discount-wrap { justify-content: stretch; }
  .pilot-offer-discount-badge { max-width: none; width: 100%; box-sizing: border-box; }
  .pilot-offer-facts { grid-template-columns: 1fr; }
  .booking-detail-columns { grid-template-columns: 1fr; }
  .booking-input-layout, .booking-secondary-grid, .pilot-offer-detail-grid, .pilot-offer-choice-row, .booking-location-strip { grid-template-columns: 1fr; }
  .booking-secondary-grid .booking-party-field input { max-width: none; }
  .booking-secondary-grid .booking-voucher-fields { grid-template-columns: 1fr; }
  .pilot-offer-discount-badge { max-width: 100%; text-align: left; }
  .booking-offer-featured-portrait { grid-template-columns: 6.5rem minmax(0, 1fr); max-width: none; }
  .booking-offer-featured-portrait img { width: 6.5rem; height: 6.5rem; }
}

/* Public route contract: every visible route uses the same centered reading
   column, so booking, About Us and the homepage never jump between edges. */
.topbar,
.page > section,
.route-intro,
.experience-story,
.about-page-shell,
.booking-grid,
.explore-grid,
.nearby-grid,
.portal-grid,
.ops-shell,
#communityGallery,
#communityGallery .community-gallery-head,
#communityGallery .public-media-gallery { width: min(calc(100% - 2rem), var(--content-max)); max-width: var(--content-max); margin-left: auto; margin-right: auto; }
.page > section { box-sizing: border-box; }
.language-switch { display: inline-flex; gap: .15rem; padding: .18rem; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.78); }
.language-switch button { min-width: 2.55rem; padding: .38rem .42rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: .66rem; font-weight: 900; letter-spacing: .07em; cursor: pointer; }
.language-switch button:hover, .language-switch button:focus-visible { color: var(--accent-strong); }
.language-switch button.is-active { background: var(--surface-ink); color: #fff; box-shadow: 0 3px 8px rgba(35,75,80,.18); }
.about-page-shell { display: grid; gap: 1.15rem; padding: .5rem 0 3rem; }
body[data-active-page="about"] .page { padding-top: 7rem; }
.about-hero-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(17rem, .85fr); min-height: 24rem; overflow: hidden; border: 1px solid rgba(45,159,135,.2); border-radius: var(--radius-xl); background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(239,250,246,.9)); box-shadow: var(--shadow-md); }
.about-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 5vw, 4.5rem); }
.about-hero-copy h1 { max-width: 10ch; margin: .25rem 0 1rem; font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 5.8rem); line-height: .95; }
.about-lead { max-width: 48ch; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.65; }
.about-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 1.25rem; }
.about-email-link { color: var(--accent-strong); font-weight: 800; text-decoration: none; }
.about-hero-art { position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(155deg, #c9edf0, #eaf7ed 60%, #f8e5c4); }
.about-hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .72; filter: saturate(.72) contrast(.92) brightness(1.06); transform: scale(1.06); animation: aboutSceneDrift 18s ease-in-out infinite alternate; }
.about-hero-art::after { background: linear-gradient(135deg, rgba(255,255,255,.32), rgba(35,145,207,.12) 52%, rgba(31,123,103,.28)); mix-blend-mode: screen; }
.about-hero-art::before, .about-hero-art::after { content: ''; position: absolute; border-radius: 50%; filter: blur(2px); }
.about-hero-art::before { width: 22rem; height: 22rem; background: rgba(255,255,255,.56); top: -7rem; right: -4rem; }
.about-hero-art::after { width: 24rem; height: 8rem; background: rgba(45,159,135,.2); bottom: -2rem; left: -2rem; transform: rotate(-12deg); }
.about-hero-art span { position: relative; z-index: 2; display: block; width: 11rem; height: 5.8rem; border: 3px solid rgba(255,255,255,.86); border-bottom: 0; border-radius: 70% 70% 14% 14%; background: linear-gradient(135deg, rgba(35,145,207,.86), rgba(31,123,103,.76)); box-shadow: 0 1.5rem 3rem rgba(35,75,80,.18); transform: rotate(-8deg); animation: aboutCanopyFloat 4.8s ease-in-out infinite; }
.about-hero-art i, .about-hero-art b { position: absolute; z-index: 1; display: block; border-radius: 50%; border: 2px solid rgba(255,255,255,.76); }
.about-hero-art i { width: 13rem; height: 13rem; border-left-color: transparent; transform: rotate(24deg); }
.about-hero-art b { width: 17rem; height: 17rem; border-right-color: transparent; transform: rotate(-18deg); }
.about-value-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.about-value-card, .about-contact-card { padding: clamp(1.15rem, 2.5vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.82); box-shadow: 0 8px 20px rgba(35,75,80,.05); }
.about-value-icon { display: grid; width: 2.3rem; height: 2.3rem; place-items: center; margin-bottom: .9rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); font-size: 1.2rem; font-weight: 900; }
.about-value-card h2, .about-contact-card h2 { margin: 0 0 .55rem; font-size: 1.1rem; }
.about-value-card p, .about-contact-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.about-contact-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .72fr); gap: 1.25rem; align-items: start; background: linear-gradient(135deg, rgba(33,73,84,.96), rgba(35,115,95,.94)); color: #fff; }
.about-contact-card .eyebrow, .about-contact-card h2, .about-contact-card p, .about-contact-card a { color: #fff; }
.about-contact-details { padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius-md); background: rgba(255,255,255,.1); }
.about-contact-details summary { cursor: pointer; color: #fff; font-weight: 800; }
.about-contact-details[open] summary { margin-bottom: .9rem; }
.about-contact-details .field span { color: #fff; }
.about-contact-details input, .about-contact-details textarea { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.94); }
@media (max-width: 760px) { body[data-active-page="about"] .page { padding-top: 10.5rem; } .topbar, .page > section, .route-intro, .experience-story, .about-page-shell, .booking-grid, .explore-grid, .nearby-grid, .portal-grid, .ops-shell, #communityGallery { width: calc(100% - 1rem); } .nav-links { flex-wrap: wrap; justify-content: flex-end; } .about-hero-card { min-height: 0; } .about-hero-card, .about-contact-card, .about-value-grid { grid-template-columns: 1fr; } .about-hero-copy { display: block; padding-top: 2.25rem; padding-bottom: 2.25rem; } .about-hero-art { min-height: 14rem; } .about-contact-card { gap: 1rem; } }

@media (max-width: 760px) {
  body[data-active-page="explore"] .section-heading.compact { width: calc(100% - 1rem); }
}

@keyframes aboutSceneDrift { from { transform: scale(1.06) translate3d(-1%, 0, 0); } to { transform: scale(1.12) translate3d(1.5%, -1%, 0); } }
@keyframes aboutCanopyFloat { 0%, 100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(-5deg) translateY(-7px); } }

@media (min-width: 761px) {
  #bookingSection .booking-date-field { min-height: 0; }
}

/* Adventure editorial system — shared across public, pilot and operations
   surfaces. Photography leads; typography and badges provide the route map. */
:root {
  --font-body: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --adventure-ink: #202b2d;
  --adventure-teal: #167d73;
  --adventure-orange: #f47755;
  --adventure-cream: #f5efe4;
}

body {
  background:
    radial-gradient(circle at 8% 8%, rgba(22, 125, 115, .08), transparent 24%),
    radial-gradient(circle at 92% 12%, rgba(244, 119, 85, .10), transparent 22%),
    linear-gradient(180deg, #fbf7ef 0%, var(--adventure-cream) 100%);
}

.hero-copy h1,
.section-heading h2,
.section-toolbar h3,
.detail-card h3,
.booking-card h3,
.ops-shell h3,
.about-hero-copy h1,
.destination-showcase-overlay h3,
.community-gallery-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.035em;
}

/* The homepage destination title is a label, not a second hero image. */
.destination-showcase-overlay h3 {
  max-width: 8ch;
  font-size: clamp(2.65rem, 5.15vw, 5.4rem);
  line-height: .86;
  letter-spacing: -.045em;
  text-shadow: 0 3px 20px rgba(0, 0, 0, .28);
}
.destination-showcase-overlay p { max-width: 34rem; font-size: .98rem; line-height: 1.55; }
.destination-showcase-overlay .detail-tag,
.destination-showcase-overlay .status-pill { font-size: .66rem; letter-spacing: .09em; }

/* Pilot is the reference hero: reuse its dark editorial panel on the other
   route shells while preserving each route's own photography. */
.route-intro:not(.route-intro-light) .route-intro-copy {
  background: linear-gradient(145deg, #202528 0%, #293739 100%);
  color: #fff;
}
.route-intro:not(.route-intro-light) .route-intro-copy .eyebrow { color: #8ad6c6; }
.route-intro:not(.route-intro-light) .route-intro-copy p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.route-intro-copy h1 {
  max-width: 8ch;
  font-size: clamp(3rem, 5.2vw, 5.6rem);
  line-height: .88;
  text-transform: uppercase;
}
.route-intro-image-asset { animation: adventureImageDrift 18s ease-in-out infinite alternate; }
.route-intro-image::after { background: linear-gradient(90deg, rgba(18, 31, 34, .18), transparent 62%); }

.about-hero-copy {
  background: linear-gradient(145deg, #202528 0%, #293739 100%);
  color: #fff;
}
.about-hero-copy .eyebrow { color: #8ad6c6; }
.about-hero-copy .about-lead { color: rgba(255,255,255,.74); }
.about-hero-copy .about-email-link { color: #ffd09f; }
.about-hero-copy .button-primary { background: var(--adventure-orange); }

.detail-tag,
.status-pill,
.filter-pill,
.about-value-icon,
.context-icon {
  border-radius: 999px;
}
.detail-tag,
.filter-pill { border-color: rgba(22, 125, 115, .24); }
.about-value-icon { background: rgba(22, 125, 115, .12); color: var(--adventure-teal); }
.context-icon { display: inline-grid; place-items: center; min-width: 2rem; min-height: 2rem; }
.button-primary { background: var(--adventure-orange); }
.button-primary:hover { background: #db6043; }

@keyframes adventureImageDrift {
  from { transform: scale(1.02) translate3d(-.4%, 0, 0); }
  to { transform: scale(1.06) translate3d(.5%, -1%, 0); }
}

@media (max-width: 760px) {
  .destination-showcase-overlay h3 { max-width: 9ch; font-size: clamp(2.35rem, 12vw, 4rem); }
  .route-intro-copy h1 { font-size: clamp(2.75rem, 12vw, 4.2rem); }
}

/* Pilot profile editor: biography stays readable while the portrait occupies
   the visual space that used to be wasted beside the long text field. */
.pilot-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, .9fr); gap: 1rem; align-items: stretch; }
.pilot-profile-copy { min-width: 0; }
.pilot-profile-copy .pilot-title-field,
.pilot-profile-copy .pilot-bio-field { max-width: 30rem; }
#pilotImageUpload { width: 100%; max-width: 28rem; padding: .55rem; border: 1px dashed var(--line); border-radius: .7rem; background: rgba(255,255,255,.66); }
.pilot-profile-portrait { position: relative; min-height: 20rem; margin: 0; overflow: hidden; border: 1px solid rgba(22,125,115,.2); border-radius: var(--radius-lg); background: linear-gradient(145deg, #dbeeea, #f5e5d3); box-shadow: var(--shadow-sm); }
.pilot-profile-portrait img { display: block; width: 100%; height: 100%; min-height: 20rem; object-fit: cover; object-position: 68% center; }
.pilot-profile-portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 56%, rgba(19,35,38,.74)); pointer-events: none; }
.pilot-profile-portrait figcaption { position: absolute; right: .8rem; bottom: .7rem; left: .8rem; z-index: 1; color: rgba(255,255,255,.9); font-size: .68rem; line-height: 1.4; }

/* The homepage destination body is an editorial handoff, not a duplicate
   takeoff-information panel. Keep one useful statement and one next-step cue. */
.destination-editorial-summary { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(16rem, .75fr); gap: 1rem; align-items: stretch; margin: 0 auto 1.25rem; padding: clamp(1.25rem, 3vw, 2.2rem); border: 1px solid rgba(22,125,115,.16); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(238,247,243,.9)); box-shadow: 0 8px 22px rgba(35,75,80,.05); }
.destination-editorial-summary h3 { max-width: 18ch; margin: .2rem 0 .55rem; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: .96; letter-spacing: -.035em; }
.destination-editorial-summary p:not(.eyebrow) { max-width: 62ch; margin: 0; color: var(--muted); line-height: 1.65; }
.destination-editorial-note { display: grid; align-content: center; gap: .45rem; padding: 1rem 1.1rem; border-left: 2px solid var(--adventure-orange); border-radius: .75rem; background: rgba(244,119,85,.08); }
.destination-editorial-note .context-icon { width: 2.3rem; background: rgba(22,125,115,.12); color: var(--adventure-teal); }
.destination-editorial-note strong { color: var(--surface-ink); }
.destination-editorial-note small { color: var(--muted); line-height: 1.5; }

/* About is the strongest public route reference: use its sentence-case
   editorial voice everywhere instead of letting long uppercase words collide
   with the image column. */
.route-intro-copy { min-width: 0; overflow: hidden; }
.route-intro-copy h1 { max-width: 10ch; font-family: var(--font-display); font-size: clamp(2.8rem, 5.3vw, 5.8rem); line-height: .95; text-transform: none; overflow-wrap: anywhere; text-wrap: balance; }
@media (max-width: 760px) {
  .pilot-profile-layout, .destination-editorial-summary { grid-template-columns: 1fr; }
  .pilot-profile-portrait { min-height: 15rem; }
  .pilot-profile-portrait img { min-height: 15rem; }
  .destination-editorial-note { border-top: 2px solid var(--adventure-orange); border-left: 0; }
}

/* Exit-analysis polish: readable forecast rows, stronger takeoff badges and
   enough breathing room for compact headings at every viewport. */
.landing-forecast-days { gap: .45rem; }
.landing-forecast-day {
  display: grid;
  grid-template-columns: minmax(4.5rem, .7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: .55rem;
  padding: .65rem 0;
  font-size: .78rem;
  line-height: 1.35;
}
.landing-forecast-day strong { color: var(--surface-ink); font-size: .8rem; }
.landing-forecast-day .forecast-condition { color: var(--surface-ink); font-weight: 800; }
.forecast-metrics { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .25rem .8rem; color: var(--muted); }
.destination-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.destination-benefit { min-height: 4.7rem; padding: .8rem; }
.destination-benefit strong { font-size: .88rem; line-height: 1.15; }
.destination-benefit small { font-size: .76rem; line-height: 1.4; }
.destination-benefit-icon { flex-basis: 2.8rem; width: 2.8rem; height: 2.8rem; font-size: 1.35rem; }
.booking-offer-profile img { width: 4.6rem; height: 4.6rem; border: 2px solid rgba(45,159,135,.22); box-shadow: 0 8px 18px rgba(35,75,80,.12); }
.pilot-admin-card .pilot-avatar { width: 4rem; height: 4rem; border-radius: 1rem; }
.pilot-admin-card .pilot-admin-identity { align-items: center; }
.pilot-admin-card .pilot-admin-identity strong { font-size: 1rem; line-height: 1.08; }
.pilot-admin-card .pilot-admin-identity p { margin: .2rem 0 0; line-height: 1.25; }
.pilot-profile-portrait figcaption { display: none; }
.section-toolbar h3, .section-toolbar h4, .admin-activity-panel h3 { line-height: 1.08; text-wrap: balance; }
@media (max-width: 900px) {
  .destination-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .destination-benefits { grid-template-columns: 1fr; }
}

/* Public navigation is typography over the hero, never a framed tab. Keep
   this last so historical route-specific overrides cannot reintroduce pills. */
body[data-active-page="discover"] .public-hero-shell .nav-link,
body[data-active-page="explore"] .public-hero-shell .nav-link,
body[data-active-page="about"] .public-hero-shell .nav-link,
body[data-active-page="pilot"] .public-hero-shell .nav-link {
  appearance: none !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  padding-inline: .15rem !important;
}

body[data-active-page="discover"] .public-hero-shell .nav-link:hover,
body[data-active-page="discover"] .public-hero-shell .nav-link:focus-visible,
body[data-active-page="discover"] .public-hero-shell .nav-link.is-active,
body[data-active-page="explore"] .public-hero-shell .nav-link:hover,
body[data-active-page="explore"] .public-hero-shell .nav-link:focus-visible,
body[data-active-page="explore"] .public-hero-shell .nav-link.is-active,
body[data-active-page="about"] .public-hero-shell .nav-link:hover,
body[data-active-page="about"] .public-hero-shell .nav-link:focus-visible,
body[data-active-page="about"] .public-hero-shell .nav-link.is-active,
body[data-active-page="pilot"] .public-hero-shell .nav-link:hover,
body[data-active-page="pilot"] .public-hero-shell .nav-link:focus-visible,
body[data-active-page="pilot"] .public-hero-shell .nav-link.is-active {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .45rem;
}

.booking-calendar { margin-top: .45rem; padding: .55rem .65rem; border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); border-radius: .8rem; background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,248,237,.94)); box-shadow: 0 8px 18px rgba(24,42,34,.05); }
.booking-calendar-header { display: grid; grid-template-columns: 2rem 1fr 2rem; align-items: center; gap: .25rem; margin-bottom: .45rem; text-align: center; text-transform: capitalize; }
.booking-calendar-header strong { color: var(--surface-ink); font-size: 1.02rem; }
.booking-calendar-nav { width: 1.9rem; height: 1.9rem; border: 1px solid var(--line); border-radius: .55rem; background: var(--surface); color: var(--surface-ink); font-size: 1.15rem; line-height: 1; cursor: pointer; }
.booking-calendar-nav:hover { border-color: var(--accent); background: var(--accent-soft); }
.booking-calendar-weekdays, .booking-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .2rem; }
.booking-calendar-weekdays { margin-bottom: .2rem; color: var(--muted); font-size: .62rem; font-weight: 800; text-align: center; text-transform: uppercase; }
.booking-calendar-day { min-height: 2.15rem; border: 1px solid transparent; border-radius: .5rem; background: rgba(246,241,232,.7); color: var(--surface-ink); font-weight: 700; cursor: pointer; }
.booking-calendar-day:hover:not(:disabled) { border-color: var(--accent); background: var(--accent-soft); }
.booking-calendar-day.is-selected { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: 0 5px 12px rgba(217,111,43,.25); }
.booking-calendar-day:disabled { color: rgba(81,105,111,.32); cursor: not-allowed; background: rgba(240,236,229,.45); }
.booking-calendar-empty { min-height: 2.15rem; }
.booking-calendar-selection { margin: .4rem 0 0; color: var(--surface-ink); font-size: .76rem; font-weight: 700; }
#bookingSection .booking-date-field > input[type="date"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; clip-path: inset(50%); }
.pilot-offer-discounts span { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pilot-offer-discounts p { margin: .2rem 0 0; color: var(--muted); font-size: .84rem; }

.pilot-auth-card { width: 100%; grid-column: 1 / -1; }
#adminAuthCard { order: -1; }
.pilot-access-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(15rem, .85fr); gap: .85rem; align-items: start; margin-top: .85rem; }
.pilot-login-form, .pilot-registration-panel { min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: color-mix(in srgb, var(--surface) 94%, var(--accent) 6%); }
.pilot-login-form { align-self: start; }
.pilot-registration-panel { overflow: hidden; }
.pilot-registration-panel summary { display: flex; align-items: center; gap: .55rem; min-height: 2.8rem; cursor: pointer; list-style: none; }
.pilot-registration-panel summary::-webkit-details-marker { display: none; }
.pilot-registration-panel summary .eyebrow { margin: 0; color: var(--muted); }
.pilot-registration-panel summary strong { flex: 1; color: var(--surface-ink); font-size: .9rem; }
.pilot-registration-panel summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 4px; border-radius: .4rem; }
.disclosure-caret { color: var(--accent-strong); font-size: 1.25rem; line-height: 1; }
.pilot-registration-panel[open] .disclosure-caret { transform: rotate(45deg); }
.pilot-registration-content { display: grid; gap: .75rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.pilot-registration-content .helper-copy { margin: 0; }
.pilot-registration-panel form { margin: 0; }
.pilot-registration-panel .button { width: 100%; }

@media (max-width: 760px) {
  .pilot-access-grid { grid-template-columns: 1fr; gap: .65rem; margin-top: .65rem; }
  .pilot-login-form, .pilot-registration-panel { padding: .85rem; }
  .pilot-registration-panel summary { align-items: flex-start; flex-wrap: wrap; }
  .pilot-registration-panel summary .eyebrow { width: calc(100% - 2rem); }
  .pilot-registration-panel summary strong { flex-basis: calc(100% - 2rem); }
  .disclosure-caret { margin-left: auto; margin-top: -.1rem; }
}

@media (max-width: 1120px) {
  .nearby-grid,
  .explore-grid,
  .booking-grid,
  .portal-grid,
  .ops-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nearby-list {
    grid-template-columns: 1fr;
  }
}

/* Keep the public booking form usable on narrow screens even when legacy
   route-specific layout rules are loaded before this shared contract. */
@media (max-width: 1120px) {
  .booking-grid { grid-template-columns: minmax(0, 1fr) !important; }
}

.booking-journey,
.booking-details {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto var(--space-5);
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.booking-journey { background: color-mix(in srgb, var(--surface) 92%, var(--accent) 8%); }
.booking-journey-grid,
.booking-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 1.5rem 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.booking-journey-grid article,
.booking-details-grid > div {
  min-width: 0;
  padding: 1.1rem;
  background: var(--surface);
}
.booking-journey-grid article > span {
  display: block;
  margin-bottom: .8rem;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.booking-journey-grid h3 { margin: 0 0 .45rem; font-size: 1.05rem; }
.booking-journey-grid p,
.booking-details-grid p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.booking-journey-note {
  margin: 1rem 0 1.25rem;
  padding: .85rem 1rem;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--surface) 82%, var(--accent) 18%);
  color: var(--text);
}
.booking-details { margin-bottom: var(--space-3); }
.booking-details-grid { margin-bottom: 0; }
.booking-details-grid strong { display: block; margin-bottom: .35rem; }

@media (min-width: 1121px) {
  .booking-side-panel { display: contents; }
  .booking-weather-card { grid-column: 2; grid-row: 1; }
  .booking-policy-card { grid-column: 1 / -1; grid-row: 2; }
  .booking-policy-card .policy-stack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
  .booking-policy-card .policy-block,
  .booking-policy-card .policy-note { margin: 0; padding: 1rem; background: var(--surface); }
  .booking-policy-card .policy-note { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .booking-journey,
  .booking-details { width: calc(100% - 2rem); }
  .booking-journey-grid,
  .booking-details-grid { grid-template-columns: 1fr; }
}

/* Editorial density rule: on wide screens, pair the label with the copy and
   use the full detail width. The mobile composition remains intentionally
   linear and easy to scan. */
@media (min-width: 961px) {
  .destination-showcase-body { width: min(calc(100% - 2rem), var(--content-max)); }
  .destination-detail-intro {
    display: grid;
    grid-template-columns: minmax(12rem, .34fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    max-width: none;
    padding: 1.4rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .destination-detail-intro .eyebrow { margin-top: .25rem; font-size: .95rem; }
  .destination-body-copy { max-width: none; margin: 0; font-size: clamp(1.1rem, 1.5vw, 1.45rem); line-height: 1.5; }
  .multi-takeoff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .single-takeoff-info .multi-takeoff-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .single-takeoff-info .multi-takeoff-details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 2rem; }
}

/* Single-site information is an editorial panel, not a compressed data
   table. Give the heading, facts and arrival notes their own visual rhythm. */
.single-takeoff-info {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: color-mix(in srgb, var(--surface) 88%, var(--accent) 12%);
}
.single-takeoff-info > .eyebrow { margin: 0 0 .45rem; font-size: .8rem; }
.single-takeoff-info > h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -.03em;
}
.single-takeoff-info .multi-takeoff-specs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1.35rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.single-takeoff-info .multi-takeoff-specs > div {
  min-height: 4.6rem;
  padding: .8rem;
  background: color-mix(in srgb, var(--surface) 92%, var(--accent) 8%);
  border: 1px solid color-mix(in srgb, var(--line) 80%, var(--accent) 20%);
}
.single-takeoff-info .multi-takeoff-specs strong { font-size: 1rem; line-height: 1.25; }
.single-takeoff-info .multi-takeoff-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  padding-top: 1.25rem;
  border-top: 0;
}
.single-takeoff-info .multi-takeoff-details > div {
  min-height: 5.2rem;
  padding: .85rem;
  background: var(--surface);
  border: 1px solid var(--line);
}
.single-takeoff-info .multi-takeoff-details p { font-size: .9rem; line-height: 1.5; }
@media (max-width: 760px) {
  .single-takeoff-info .multi-takeoff-specs,
  .single-takeoff-info .multi-takeoff-details { grid-template-columns: 1fr; }
  .single-takeoff-info .multi-takeoff-specs > div,
  .single-takeoff-info .multi-takeoff-details > div { min-height: 0; }
}

/* The booking form is the primary action on Explore. Keep its context below
   it at every desktop width so the form itself owns the complete row. */
.booking-side-panel {
  display: grid;
  grid-column: 1 / -1;
  grid-row: 2;
}
.booking-policy-card {
  width: 100%;
}
.flight-feedback-card { margin-top: .9rem; padding: .85rem; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--accent) 5%, var(--surface)); }
.flight-feedback-form { display: grid; gap: .65rem; margin-top: .65rem; }
.feedback-rating { display: flex; gap: .4rem; flex-wrap: wrap; }
.feedback-rating label { cursor: pointer; }
.feedback-rating input { position: absolute; opacity: 0; pointer-events: none; }
.feedback-rating span { display: inline-block; padding: .3rem .55rem; border: 1px solid var(--line); border-radius: 999px; }
.feedback-rating input:checked + span { background: var(--accent); color: white; border-color: var(--accent); }
.feedback-saved { color: var(--accent); font-weight: 700; }
.partner-mapping-review { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }

/* Visual modernization: brighter editorial surfaces, destination facts inspired
   by Kumulus, and compact activity detail patterns inspired by Manawa. */
:root {
  --bg: #f4f8f6;
  --bg-soft: #e8f2f2;
  --surface: rgba(255, 255, 255, .94);
  --surface-strong: #fff;
  --accent: #ef7858;
  --accent-strong: #d9543b;
  --accent-soft: rgba(239, 120, 88, .14);
  --green: #2d9f87;
  --green-soft: rgba(45, 159, 135, .13);
  --blue: #238db7;
  --blue-soft: rgba(35, 141, 183, .13);
  --gold: #e6b34f;
  --line: #dbe8e5;
  --line-strong: #b9d2cf;
  --shadow-lg: 0 20px 55px rgba(35, 75, 80, .12);
  --shadow-md: 0 10px 24px rgba(35, 75, 80, .1);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

body {
  background:
    radial-gradient(circle at 6% 12%, rgba(87, 190, 197, .2), transparent 23%),
    radial-gradient(circle at 94% 26%, rgba(239, 120, 88, .16), transparent 24%),
    linear-gradient(180deg, #f8fcfa 0%, #eef6f3 48%, #f7f0e3 100%);
}

.topbar {
  background: rgba(248, 252, 250, .82);
  border-bottom: 1px solid rgba(45, 159, 135, .14);
  backdrop-filter: blur(18px);
}

.brand-mark {
  background: linear-gradient(135deg, var(--blue), var(--green) 55%, var(--accent));
  animation: softFloat 5s ease-in-out infinite;
}

.discover-spotlight {
  overflow: hidden;
  border: 1px solid rgba(45, 159, 135, .2);
  box-shadow: 0 26px 70px rgba(35, 75, 80, .16);
}

.destination-showcase-media .detail-hero { transition: transform 700ms cubic-bezier(.2,.7,.2,1), opacity .22s ease; }
.destination-showcase-media:hover .detail-hero { transform: scale(1.025); }
.destination-showcase-overlay { padding-bottom: clamp(1.5rem, 3vw, 3rem); background: linear-gradient(180deg, transparent 0%, rgba(13, 35, 42, .18) 20%, rgba(13, 35, 42, .86) 100%); }
.destination-showcase-overlay h3 { text-shadow: 0 4px 22px rgba(0, 0, 0, .22); }
.destination-showcase-overlay .detail-tag-positive { background: rgba(87, 207, 166, .92); border-color: rgba(255,255,255,.7); color: #123b35; }
.destination-showcase-body { background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,252,249,.96)); }

.destination-detail-intro { position: relative; padding: .25rem 0 .7rem; }
.destination-detail-intro::after { content: ""; display: block; width: 4.5rem; height: .25rem; margin-top: 1rem; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--gold), var(--green)); }

.activity-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: .15rem 0 1rem; }
.activity-badges span { display: inline-flex; align-items: center; gap: .4rem; padding: .48rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.78); color: var(--muted); font-size: .72rem; font-weight: 700; }
.activity-badges span:nth-child(1) { border-color: rgba(35,141,183,.28); background: var(--blue-soft); color: #176d8b; }
.activity-badges span:nth-child(2) { border-color: rgba(45,159,135,.28); background: var(--green-soft); color: #23735f; }
.activity-badges span:nth-child(3) { border-color: rgba(230,179,79,.34); background: rgba(230,179,79,.14); color: #86631e; }
.activity-badges span:nth-child(4) { border-color: rgba(239,120,88,.3); background: var(--accent-soft); color: #a64734; }
.activity-badges b { font-size: .95rem; line-height: 1; }

.destination-quick-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin: .2rem 0 1.2rem; }
.destination-quick-fact { display: flex; align-items: center; gap: .7rem; min-height: 5.8rem; padding: .85rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(145deg, #fff, #f1faf7); box-shadow: 0 8px 20px rgba(35, 75, 80, .06); animation: revealUp 520ms both; }
.destination-quick-fact:nth-child(2) { animation-delay: 80ms; }
.destination-quick-fact:nth-child(3) { animation-delay: 160ms; background: linear-gradient(145deg, #fff5ed, #fff); }
.destination-quick-fact:nth-child(4) { animation-delay: 240ms; }
.quick-fact-icon, .destination-benefit-icon { display: grid; place-items: center; flex: 0 0 2.45rem; width: 2.45rem; height: 2.45rem; border-radius: 50%; background: var(--blue-soft); font-size: 1.2rem; }
.destination-quick-fact:nth-child(2) .quick-fact-icon { background: var(--green-soft); }
.destination-quick-fact:nth-child(3) .quick-fact-icon { background: var(--accent-soft); }
.destination-quick-fact:nth-child(4) .quick-fact-icon { background: rgba(230,179,79,.18); }
.destination-quick-fact span:last-child, .destination-benefit span:last-child { display: grid; gap: .18rem; min-width: 0; }
.destination-quick-fact small, .destination-benefit small { color: var(--muted); font-size: .7rem; line-height: 1.35; }
.destination-quick-fact strong { font-size: 1rem; line-height: 1.1; }

.destination-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 1rem 0 1.15rem; }
.destination-benefit { display: flex; align-items: flex-start; gap: .65rem; min-height: 4.3rem; padding: .7rem; border: 1px solid rgba(45, 159, 135, .18); border-radius: var(--radius-sm); background: linear-gradient(135deg, rgba(233, 248, 244, .92), rgba(255, 255, 255, .9)); }
.destination-benefit:nth-child(2) .destination-benefit-icon { background: rgba(230,179,79,.2); }
.destination-benefit:nth-child(3) .destination-benefit-icon { background: rgba(239,120,88,.16); }
.destination-benefit:nth-child(4) .destination-benefit-icon { background: rgba(126,104,201,.14); }
.destination-benefit strong { font-size: .82rem; }

.destination-access, .destination-weather, .destination-extra-slot { border-radius: var(--radius-lg); box-shadow: 0 10px 24px rgba(35, 75, 80, .06); }
.destination-access { background: linear-gradient(150deg, #edf9f5, #fff); }
.destination-weather { background: linear-gradient(150deg, #eef7fc, #fff); }

.booking-journey { border: 1px solid rgba(35, 141, 183, .16); background: linear-gradient(145deg, rgba(235,249,249,.94), rgba(255,247,235,.94)); }
.booking-journey-grid article { border-radius: var(--radius-md); border: 1px solid rgba(35, 141, 183, .12); background: rgba(255,255,255,.72); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.booking-journey-grid article:hover { transform: translateY(-4px); border-color: rgba(239,120,88,.42); box-shadow: var(--shadow-md); }
.booking-journey-grid article > span { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--green)); color: white; font-weight: 800; }
.booking-journey-grid article:nth-child(1) > span { background: linear-gradient(135deg, #f07858, #c84d3e); box-shadow: 0 8px 18px rgba(200, 77, 62, .24); }
.booking-journey-grid article:nth-child(2) > span { background: linear-gradient(135deg, #e9a23b, #c66b25); box-shadow: 0 8px 18px rgba(198, 107, 37, .22); }
.booking-journey-grid article:nth-child(3) > span { background: linear-gradient(135deg, #2391cf, #12649d); box-shadow: 0 8px 18px rgba(18, 100, 157, .22); }
.booking-journey-grid article:nth-child(4) > span { background: linear-gradient(135deg, #50a06b, #28734d); box-shadow: 0 8px 18px rgba(40, 115, 77, .22); }
.booking-journey-grid article:nth-child(5) > span { background: linear-gradient(135deg, #7a6bc4, #4b3c91); box-shadow: 0 8px 18px rgba(75, 60, 145, .22); }
.booking-journey-grid article:nth-child(6) > span { background: linear-gradient(135deg, #d77b3f, #9f4e2a); box-shadow: 0 8px 18px rgba(159, 78, 42, .22); }
.flight-lesson, .news-card { transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.flight-lesson-section { margin-top: 2.25rem; }
.flight-lesson-section > .eyebrow { margin: 0 0 .9rem; color: var(--accent-strong); font-weight: 800; }
.flight-lesson:hover { transform: translateY(-3px); background: rgba(255,255,255,.68); box-shadow: 0 8px 20px rgba(35,75,80,.06); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); z-index: 1; }

@keyframes revealUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes softFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes twinkle { 0%,100% { opacity: .45; transform: rotate(0deg) scale(1); } 50% { opacity: 1; transform: rotate(12deg) scale(1.12); } }

@media (max-width: 960px) { .destination-quick-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .destination-quick-facts, .destination-benefits { grid-template-columns: 1fr; } .destination-quick-fact { min-height: 4.8rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* Homepage art-direction implementation: the public links float directly on
   the hero, while the first journey surface continues at the same edge. */
body[data-active-page="discover"] .public-hero-shell .brand { display: none; }
body[data-active-page="discover"] .public-hero-shell .topbar { justify-content: flex-end; }
body[data-active-page="discover"] .public-hero-shell .nav-links { width: 100%; justify-content: flex-end; }
body[data-active-page="discover"] .premium-home-hero { min-height: 1048px; }
body[data-active-page="discover"] .premium-home-hero-content { padding-top: clamp(9rem, 17vw, 14rem); }
body[data-active-page="discover"] .flight-five-steps {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: clamp(3rem, 7vw, 7rem);
  padding-left: max(1.25rem, calc((100vw - var(--content-max)) / 2));
  padding-right: max(1.25rem, calc((100vw - var(--content-max)) / 2));
}
.flight-five-steps-motion {
  position: relative;
  min-height: clamp(9rem, 19vw, 15rem);
  margin: clamp(2rem, 4vw, 3.5rem) 0 .5rem;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.24);
  border-bottom: 1px solid rgba(255,255,255,.24);
  background: #dfe8e3;
}
.flight-five-steps-motion::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23,48,58,.45), transparent 38%, rgba(23,48,58,.12));
  pointer-events: none;
}
.flight-five-steps-motion video {
  display: block;
  width: 100%;
  height: clamp(9rem, 19vw, 15rem);
  object-fit: cover;
  object-position: center;
  filter: saturate(.82) contrast(1.04);
}
.flight-five-steps-motion-label {
  position: absolute;
  left: 1rem;
  bottom: .8rem;
  z-index: 1;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.flight-five-step-art {
  position: relative;
  width: 7.5rem;
  height: 4rem;
  margin: 1.5rem 0 .9rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.42);
}
.flight-five-step-art::before {
  content: '';
  position: absolute;
  left: -.5rem;
  right: 1rem;
  bottom: .55rem;
  height: 1.3rem;
  border-top: 1px solid rgba(184,216,202,.7);
  border-radius: 50%;
  transform: rotate(-8deg);
}
.flight-five-step-art i,
.flight-five-step-art b,
.flight-five-step-art em { position: absolute; display: block; font-style: normal; }
.flight-five-step-art i { left: 1.2rem; top: .55rem; width: 4.8rem; height: 1.6rem; border: 2px solid #ef7858; border-bottom: 0; border-radius: 70% 70% 12% 12%; transform: rotate(-7deg); animation: step-canopy 3.8s ease-in-out infinite; }
.flight-five-step-art b { left: 3.4rem; top: 2rem; width: .22rem; height: 1rem; background: #f3d4a4; transform: rotate(-8deg); transform-origin: top; animation: step-pilot 3.8s ease-in-out infinite; }
.flight-five-step-art em { left: .25rem; top: 1.25rem; width: 1.7rem; height: .35rem; border-top: 1px solid #b8d8ca; border-radius: 50%; animation: step-air 3.8s ease-in-out infinite; }
.flight-five-step:nth-child(2) .flight-five-step-art i { transform: rotate(4deg) scale(.78); border-color: #e6b56e; }
.flight-five-step:nth-child(3) .flight-five-step-art i { left: 1.8rem; transform: rotate(-12deg) scale(.9); border-color: #b8d8ca; }
.flight-five-step:nth-child(4) .flight-five-step-art i { transform: rotate(-2deg) scale(1.1); }
.flight-five-step:nth-child(5) .flight-five-step-art i { transform: rotate(8deg) scale(.72); border-color: #f3d4a4; }
@keyframes step-canopy { 0%,100% { transform: translateY(2px) rotate(-7deg); } 50% { transform: translateY(-4px) rotate(-3deg); } }
@keyframes step-pilot { 0%,100% { transform: rotate(-8deg) translateY(1px); } 50% { transform: rotate(4deg) translateY(-3px); } }
@keyframes step-air { 0%,100% { opacity: .25; transform: translateX(0); } 50% { opacity: 1; transform: translateX(.7rem); } }
@media (prefers-reduced-motion: reduce) { .flight-five-steps-motion video { visibility: hidden; } .flight-five-step-art i, .flight-five-step-art b, .flight-five-step-art em { animation: none; } }

/* Explore uses the destination image as its hero. The shared header must sit
   on that image instead of creating a second, visible strip above it. */
body[data-active-page="explore"] .public-hero-shell,
body[data-active-page="book"] .public-hero-shell {
  position: absolute !important;
  inset: 0 0 auto !important;
  z-index: 20;
  width: 100%;
  padding: 0 !important;
  pointer-events: none;
}
body[data-active-page="explore"] .public-hero-shell .topbar,
body[data-active-page="book"] .public-hero-shell .topbar {
  position: absolute !important;
  inset: 0 0 auto !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  width: 100%;
  max-width: none;
  min-height: 6.5rem;
  padding: 1rem max(1rem, calc((100vw - var(--content-max)) / 2)) 2.2rem;
  background: linear-gradient(180deg, rgba(9, 25, 32, .78), rgba(9, 25, 32, .18) 70%, transparent) !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  pointer-events: auto;
}
body[data-active-page="explore"] .public-hero-shell .brand,
body[data-active-page="book"] .public-hero-shell .brand {
  display: flex !important;
  align-self: start;
  color: #fff !important;
}
body[data-active-page="explore"] .public-hero-shell .brand-mark,
body[data-active-page="book"] .public-hero-shell .brand-mark {
  width: 3.2rem;
  height: 3.2rem;
  padding: .42rem;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: .9rem;
  background: rgba(248,244,233,.94);
  box-shadow: 0 8px 24px rgba(5,20,26,.24);
}
body[data-active-page="explore"] .public-hero-shell .brand-mark img,
body[data-active-page="book"] .public-hero-shell .brand-mark img { display: block; width: 100%; height: 100%; }
body[data-active-page="explore"] .public-hero-shell .brand .eyebrow,
body[data-active-page="explore"] .public-hero-shell .brand-copy,
body[data-active-page="explore"] .public-hero-shell .brand-name,
body[data-active-page="book"] .public-hero-shell .brand .eyebrow,
body[data-active-page="book"] .public-hero-shell .brand-copy,
body[data-active-page="book"] .public-hero-shell .brand-name { color: rgba(255,255,255,.9) !important; }
body[data-active-page="explore"] .public-hero-shell .nav-links,
body[data-active-page="book"] .public-hero-shell .nav-links {
  grid-column: 2;
  justify-content: center;
  align-items: center;
  align-self: start;
  gap: .25rem;
  width: max-content;
}
body[data-active-page="explore"] .public-hero-shell .language-switch,
body[data-active-page="book"] .public-hero-shell .language-switch { grid-column: 3; justify-self: end; }
body[data-active-page="explore"] .destination-showcase-overlay,
body[data-active-page="book"] .destination-showcase-overlay { z-index: 3; }
.destination-hero-actions { align-items: center; flex-wrap: wrap; gap: .6rem; margin: .7rem 0 .8rem; }
.destination-hero-actions .takeoff-unavailable-message { max-width: 30rem; }
.destination-informational-note { display: grid; max-width: 30rem; gap: .2rem; padding: .65rem .8rem; border: 1px solid rgba(217, 111, 43, .28); border-radius: .8rem; background: rgba(255, 248, 235, .86); color: #6b4a2a; line-height: 1.3; }
.destination-informational-note strong { font-size: .78rem; }
.destination-informational-note span { font-size: .7rem; }

/* Make the mark readable on image-led public surfaces and retain the brand
   copy at the start of the header on mobile, where it is still useful context. */
body[data-active-page="discover"] .public-hero-shell .brand,
body[data-active-page="about"] .public-hero-shell .brand { display: flex !important; }
body[data-active-page="discover"] .public-hero-shell .brand-mark,
body[data-active-page="about"] .public-hero-shell .brand-mark {
  width: 3.2rem;
  height: 3.2rem;
  padding: .42rem;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: .9rem;
  background: rgba(248,244,233,.94);
  box-shadow: 0 8px 24px rgba(5,20,26,.24);
}
body[data-active-page="discover"] .public-hero-shell .brand-mark img,
body[data-active-page="about"] .public-hero-shell .brand-mark img { display: block; width: 100%; height: 100%; }
body[data-active-page="discover"] .public-hero-shell .topbar { justify-content: space-between; }
body[data-active-page="discover"] .public-hero-shell .nav-links { width: auto; justify-content: center; }

@media (max-width: 760px) {
  body[data-active-page="explore"] .public-hero-shell .topbar,
  body[data-active-page="book"] .public-hero-shell .topbar {
    grid-template-columns: 1fr auto;
    min-height: 7.8rem;
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    padding: .7rem 1rem 1.25rem;
  }
  body[data-active-page="explore"] .public-hero-shell .brand-copy,
  body[data-active-page="book"] .public-hero-shell .brand-copy { display: block; font-size: .58rem; line-height: 1.25; }
  body[data-active-page="explore"] .public-hero-shell .brand .eyebrow,
  body[data-active-page="book"] .public-hero-shell .brand .eyebrow { font-size: .66rem; }
  body[data-active-page="explore"] .public-hero-shell .nav-links,
  body[data-active-page="book"] .public-hero-shell .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    width: 100%;
    gap: .05rem;
  }
  body[data-active-page="explore"] .public-hero-shell .language-switch,
  body[data-active-page="book"] .public-hero-shell .language-switch { grid-column: 2; grid-row: 1; }
  body[data-active-page="discover"] .public-hero-shell .brand-copy,
  body[data-active-page="about"] .public-hero-shell .brand-copy { display: block; font-size: .58rem; line-height: 1.25; }
  body[data-active-page="discover"] .public-hero-shell .nav-links { gap: .05rem; }
  body[data-active-page="discover"] .public-hero-shell .topbar { align-items: start; }
  .destination-hero-actions { margin-top: .5rem; }
}
@media (max-width: 760px) {
  body[data-active-page="discover"] .public-hero-shell .topbar { padding: 1rem 1.25rem; }
  body[data-active-page="discover"] .public-hero-shell .nav-links { justify-content: space-between; gap: .1rem; }
  body[data-active-page="discover"] .public-hero-shell .nav-voucher-link { display: none; }
  body[data-active-page="discover"] .premium-home-hero { min-height: 948px; }
  body[data-active-page="discover"] .flight-five-steps { padding-left: 1.25rem; padding-right: 1.25rem; }
  .flight-five-steps-motion, .flight-five-steps-motion video { min-height: 10rem; height: 10rem; }
  .flight-five-steps-motion-label { font-size: .55rem; }
  .flight-five-step-art { margin-top: .9rem; }
}

/* Destination hierarchy pass: no sticky hero/content overlap, one rounded
   surface language, and a larger AI decision area beside a quiet forecast. */
.discover-spotlight,
.destination-showcase,
.destination-showcase-body { position: static; }
.destination-showcase-media { position: relative; }
/* Editorial full-bleed hero: the image is the one intentionally square surface;
   the rounded language is reserved for information cards below it. */
.destination-showcase-media { overflow: hidden; border-radius: 0; }
.destination-showcase-body { width: min(100% - 2rem, 86rem); margin: 0 auto; }
.destination-tools-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(15rem, .65fr); gap: 1.25rem; align-items: stretch; }
.destination-tools-grid .destination-weather { min-height: 0; padding: 1.15rem; }
.destination-tools-grid .destination-weather h3 { font-size: 1rem; }
.destination-tools-grid .landing-forecast-day { font-size: .75rem; }
.destination-tools-grid .landing-forecast-current { font-size: .8rem; }

.sector-summary { padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid rgba(45,159,135,.2); border-radius: var(--radius-lg); background: linear-gradient(145deg, #effaf6, #fff6ee); }
.sector-summary h3 { margin: .2rem 0 .3rem; }
.sector-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: .85rem; }
.sector-card { display: grid; gap: .55rem; padding: .8rem; border: 1px solid rgba(45,159,135,.2); border-radius: var(--radius-md); background: rgba(255,255,255,.88); }
.sector-card.is-default { border-color: rgba(239,120,88,.5); box-shadow: 0 0 0 2px rgba(239,120,88,.1); }
.sector-card header { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.sector-card p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.sector-badges { display: flex; flex-wrap: wrap; gap: .3rem; }
.sector-badges span { padding: .28rem .42rem; border-radius: 999px; background: var(--blue-soft); color: #176d8b; font-size: .66rem; font-weight: 700; }
.sector-card-muted { border-color: #d9dddd; background: #edf0ef; filter: saturate(.45); }
.sector-card-muted .sector-badges span { background: #e2e7e5; color: #6f7978; }
.informative-sectors { margin-top: .9rem; border-top: 1px solid rgba(33,33,35,.12); padding-top: .65rem; }
.informative-sectors summary { cursor: pointer; color: var(--muted); font-size: .78rem; font-weight: 800; }

.destination-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.destination-benefit { min-height: 4.65rem; }
.destination-benefit a { color: var(--accent-strong); font-weight: 800; text-decoration: none; }
.destination-benefit a:hover { text-decoration: underline; }
.booking-policy-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: .8rem 0 1rem; }
.booking-policy-badges span { display: block; padding: .55rem .65rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: linear-gradient(135deg, #effaf7, #fff); color: var(--muted); font-size: .7rem; font-weight: 700; line-height: 1.35; }
.paragliding-illustration { margin: -.35rem -.35rem .8rem; overflow: hidden; border-radius: var(--radius-md); background: linear-gradient(180deg, #dff4f5, #fff3de); }
.paragliding-illustration svg { display: block; width: 100%; height: auto; }
.illustration-cloud { fill: rgba(255,255,255,.86); }
.illustration-mountain.back { fill: #a5d3cb; }
.illustration-mountain.front { fill: #4eaa91; }
.illustration-line { fill: none; stroke: #236d73; stroke-width: 3; stroke-linecap: round; }
.illustration-wing { fill: #ef7858; stroke: #a94736; stroke-width: 2; }
.illustration-pilot { fill: #223f49; }
.illustration-sun { fill: #f2bd58; opacity: .85; }

.card, .metric-card, .takeoff-card, .booking-card, .booked-card, .auth-card,
.portal-card, .ops-preview, .booking-context-card, .experience-story,
.news-card, .destination-access, .destination-weather, .destination-extra-slot,
.sector-summary, .multi-takeoff-info { border-radius: var(--radius-lg); }
.takeoff-card-media img, .detail-hero, .destination-showcase-media .detail-hero { border-radius: var(--radius-lg); }
.destination-showcase-media .detail-hero { border-radius: 0; }
.discover-spotlight-rail { border-radius: var(--radius-lg); }

/* The Explore hero is full-bleed. Do not let the generic .card skin add a
   stray top rule or inset spacing above the photograph. */
.page > .discover-spotlight.card {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

/* Keep the sky clean at the top of the Explore hero. The lower fade remains
   for title contrast, but no grey/black veil should cover the upper sky. */
.destination-showcase-media::after {
  background: linear-gradient(180deg, transparent 0%, transparent 58%, rgba(17, 28, 33, .16) 78%, rgba(17, 28, 33, .7) 100%);
}

@media (max-width: 960px) {
  .destination-tools-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .destination-showcase-media { border-radius: 0; }
  .destination-benefits, .sector-card-grid, .booking-policy-badges { grid-template-columns: 1fr; }
  .destination-showcase-body { width: calc(100% - 2rem); }
  .discover-spotlight-rail { position: absolute; }
}

/* Calm Kumulus-inspired page field: one stable warm-white canvas around the
   image-led content. Do not use a vertical green gradient that changes as the
   visitor scrolls through the homepage. */
body {
  background: #f4f0e8;
  background-attachment: fixed;
}

.discover-spotlight { box-shadow: none; border-color: rgba(23, 49, 61, .08); }
.destination-showcase-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(17, 36, 43, .68) 0%, rgba(17, 36, 43, .24) 38%, transparent 72%);
}
.destination-showcase-overlay { background: none; }
.destination-showcase-overlay h3,
.destination-showcase-overlay p,
.destination-showcase-overlay .destination-kicker { text-shadow: 0 3px 18px rgba(0, 0, 0, .34); }
.destination-showcase-body { background: #fff; }
.experience-story { border-radius: 0; background: #fff; }

/* Kumulus-inspired editorial detail rhythm: image first, then an open white
   information field with compact rules instead of dashboard-like tiles. */
.destination-detail-intro { max-width: 58rem; margin-inline: auto; text-align: center; }
.destination-detail-intro::after { margin-inline: auto; }
.activity-badges { justify-content: center; }
.destination-quick-facts {
  max-width: 74rem;
  margin: 1.5rem auto 2rem;
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.destination-quick-fact {
  min-height: 6rem;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  padding: 1rem 1.15rem;
}
.destination-quick-fact:last-child { border-right: 0; }
.destination-quick-fact:nth-child(n) { background: #fff; }
.destination-benefits {
  max-width: 74rem;
  margin: 1rem auto 2.5rem;
  gap: .35rem 0;
  border-top: 1px solid var(--line);
}
.destination-benefit {
  min-height: 5.6rem;
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: .65rem;
  background: #fff;
  padding: 1rem;
}
.destination-benefit-icon { background: #e5f2f7; }
.destination-benefit:nth-child(2) .destination-benefit-icon { background: #fff0d9; }
.destination-benefit:nth-child(3) .destination-benefit-icon { background: #fbe7de; }
.destination-benefit:nth-child(4) .destination-benefit-icon { background: #e9e5f6; }
.destination-benefit strong { font-size: 1rem; line-height: 1.2; }
.destination-benefit small { font-size: .86rem; line-height: 1.45; }
.destination-benefit-icon { flex-basis: 3.15rem; width: 3.15rem; height: 3.15rem; font-size: 1.55rem; }
.destination-tools-grid { max-width: 74rem; margin-inline: auto; }
.destination-tools-grid .destination-weather { border-radius: 0; box-shadow: none; border: 1px solid var(--line); }

/* Keep the “Iz vazduha” editorial block aligned with the destination content column. */
.experience-story {
  width: min(calc(100% - 2rem), 74rem);
  max-width: 74rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 760px) {
  .experience-story {
    width: calc(100% - 2rem);
    max-width: none;
  }
}

/* One editorial content width for the homepage's main sections. */
.destination-showcase-body,
#bookingJourney,
.paragliding-news,
.experience-story {
  width: min(calc(100% - 2rem), 74rem);
  max-width: 74rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 760px) {
  .destination-showcase-body,
  #bookingJourney,
  .paragliding-news,
  .experience-story {
    width: calc(100% - 2rem);
    max-width: none;
  }
}
.destination-flight-illustration { max-width: 52rem; margin: .25rem auto 1rem; overflow: hidden; background: linear-gradient(180deg, #eaf6f7, #fffaf0); }
.destination-flight-illustration svg { display: block; width: 100%; height: auto; }

/* The destination information field uses the illustration as a large,
   quiet visual layer instead of a small standalone thumbnail. */
.destination-detail-intro::after { display: none; }
.destination-showcase-body { position: relative; isolation: isolate; }
.destination-showcase-body > .destination-detail-intro,
.destination-showcase-body > .activity-badges,
.destination-showcase-body > .destination-quick-facts { position: relative; z-index: 1; }
.destination-flight-illustration {
  position: absolute;
  z-index: 0;
  top: 7.5rem;
  left: 50%;
  width: min(78rem, calc(100% + 3rem));
  max-width: none;
  margin: 0;
  transform: translateX(-50%);
  border-radius: 0;
  opacity: .24;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.destination-flight-illustration svg { min-height: 20rem; object-fit: cover; }
.destination-showcase-body > .activity-badges { margin-top: 2.4rem; }
.destination-showcase-body > .activity-badges span { background: rgba(255,255,255,.9); }
.destination-showcase-body > .destination-quick-facts .destination-quick-fact { background: rgba(255,255,255,.88); }

@media (max-width: 760px) {
  .destination-flight-illustration { top: 8.5rem; width: calc(100% + 1rem); opacity: .18; }
  .destination-flight-illustration svg { min-height: 14rem; }
  .destination-showcase-body > .activity-badges { margin-top: 1.2rem; }
}

/* Final image-led composition: the generated panoramic scene belongs to the
   entire “O poletištu” information field, not to a small illustration slot. */
.destination-flight-illustration {
  inset: auto 0 auto 0;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(25rem, 35vw, 34rem);
  transform: none;
  opacity: .2;
  overflow: hidden;
  border-radius: 0;
  mix-blend-mode: multiply;
}
.destination-flight-illustration::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,.08) 38%, rgba(255,255,255,.42));
  pointer-events: none;
}
.destination-flight-illustration img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.045);
  animation: destinationSceneDrift 28s ease-in-out infinite alternate;
}
@keyframes destinationSceneDrift {
  from { transform: scale(1.045) translate3d(-1.2%, -0.4%, 0); }
  to { transform: scale(1.09) translate3d(1.2%, 0.8%, 0); }
}
@media (max-width: 760px) {
  .destination-flight-illustration { top: 0; width: 100%; height: 39rem; opacity: .17; }
  .destination-flight-illustration img { object-position: 58% center; }
}
@media (prefers-reduced-motion: reduce) {
  .destination-flight-illustration img { animation: none; transform: scale(1.045); }
}

/* Center the site description as a small editorial introduction instead of
   presenting it as a wide two-column data row between two rules. */
.destination-detail-intro {
  display: block;
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 1.35rem;
  border: 0;
  text-align: center;
  background: rgba(255,255,255,.58);
}
.destination-detail-intro .eyebrow { margin: 0 0 .65rem; font-size: .72rem; letter-spacing: .16em; }
.destination-body-copy { max-width: 48rem; margin: 0 auto; color: #53646b; font-size: clamp(.98rem, 1.25vw, 1.12rem); font-weight: 500; line-height: 1.65; }
.destination-showcase-body { left: auto; right: auto; bottom: auto; margin-left: auto; margin-right: auto; }

/* Final visual polish: one original editorial flight scene, with a calmer
   aviation mark and a structured booking information panel. */
.brand-mark {
  width: 3.35rem;
  height: 3.35rem;
  display: grid;
  place-items: center;
  padding: .35rem;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 1.1rem;
  background: rgba(18, 53, 63, .76);
  color: #fff;
  box-shadow: 0 8px 22px rgba(18, 53, 63, .16);
  animation: none;
}
.brand-mark svg { width: 100%; height: 100%; overflow: visible; }
.brand-sun { fill: #ffd27a; }
.brand-wing { fill: #f39a70; stroke: #fff1d7; stroke-width: 1.6; stroke-linejoin: round; }
.brand-ridge { fill: #6eb5ad; stroke: #d7f1e7; stroke-width: 1.1; stroke-linejoin: round; }
.brand-line { fill: none; stroke: #fff1d7; stroke-width: 2; stroke-linecap: round; }
.brand-horizon { fill: none; stroke: #b8eadb; stroke-width: 2.2; stroke-linecap: round; }
.brand-pilot { fill: #fff; stroke: #fff1d7; stroke-width: 1; }
body[data-active-page="explore"] .brand-mark,
body[data-active-page="book"] .brand-mark,
body[data-active-page="editor"] .brand-mark,
body[data-active-page="customer"] .brand-mark,
body[data-active-page="pilot"] .brand-mark,
body[data-active-page="ops"] .brand-mark,
body[data-active-page="booked"] .brand-mark { color: #fff; }

.booking-policy-badges { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.booking-policy-card .policy-stack > .booking-policy-badges,
.booking-policy-card .policy-stack > .booking-policy-grid { grid-column: 1 / -1; }
.booking-policy-badges span { min-height: 4.2rem; display: flex; align-items: center; padding: .7rem .8rem; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: #fff; }
.booking-policy-badges span:last-child { border-right: 0; }
.booking-policy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 1rem; background: var(--line); border: 1px solid var(--line); }
.booking-policy-grid .policy-block { min-height: 8.8rem; padding: 1rem; border: 0; background: var(--surface); }
.booking-policy-grid .policy-weather { grid-column: 2; grid-row: 2; }

/* One calm frame makes the selected takeoff own the hero, facts and tools. */
.discover-spotlight-media { overflow: visible; }
.destination-showcase {
  margin: .75rem;
  border: 1px solid rgba(39, 78, 88, .2);
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(231,243,241,.76));
  box-shadow: 0 18px 42px rgba(26, 67, 78, .14), inset 0 1px 0 rgba(255,255,255,.9);
  isolation: isolate;
}
.destination-showcase-media { overflow: hidden; border-radius: 1.2rem 1.2rem 0 0; }
.destination-showcase-body { border-radius: 0 0 1.2rem 1.2rem; }

.paragliding-illustration,
.destination-flight-illustration { border-radius: 1.15rem; background: #e6f2f1; box-shadow: inset 0 0 0 1px rgba(23,49,61,.06); }
.paragliding-illustration { margin: -.35rem -.35rem 1rem; }
.illustration-sky { fill: url(#bookingSky); }
.destination-flight-illustration .illustration-sky { fill: url(#destinationSky); }
.illustration-sun { fill: #f1bd69; opacity: .9; }
.illustration-cloud { fill: rgba(255,255,255,.9); }
.illustration-cloud.soft { opacity: .6; }
.illustration-ridge.back { fill: url(#bookingRidge); opacity: .74; }
.destination-flight-illustration .illustration-ridge.back { fill: url(#destinationRidge); }
.illustration-ridge.front { fill: #386f7a; }
.illustration-ridge.snow { fill: rgba(236,247,239,.82); }
.illustration-lake { fill: url(#bookingLake); opacity: .95; }
.destination-flight-illustration .illustration-lake { fill: url(#destinationLake); }
.illustration-lake-line { fill: none; stroke: rgba(255,255,255,.64); stroke-width: 2; stroke-linecap: round; }
.illustration-route { fill: none; stroke: #ef8962; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 7 8; opacity: .86; }
.illustration-route-dot { fill: none; stroke: rgba(239,137,98,.45); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1 15; }
.illustration-launch { fill: none; stroke: #f4d487; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.illustration-glider { fill: #ee8764; stroke: #fff0d7; stroke-width: 1.2; }
.illustration-wing { fill: #e9785e; stroke: #9f4d48; stroke-width: 2; stroke-linejoin: round; }
.illustration-wing-highlight { fill: #ffc38b; opacity: .9; }
.illustration-line { fill: none; stroke: #244c5b; stroke-width: 2.6; stroke-linecap: round; }
.illustration-pilot { fill: #244c5b; }

@media (max-width: 900px) {
  .booking-policy-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-policy-badges span:nth-child(2) { border-right: 0; }
  .booking-policy-badges span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .brand-mark { width: 2.9rem; height: 2.9rem; border-radius: .9rem; }
  .booking-policy-badges, .booking-policy-grid { grid-template-columns: 1fr; }
  .booking-policy-badges span,
  .booking-policy-badges span:nth-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .booking-policy-badges span:last-child { border-bottom: 0; }
  .booking-policy-grid .policy-weather { grid-column: 1; grid-row: auto; }
}
@media (max-width: 760px) {
  .destination-showcase { margin: .5rem; border-radius: 1.15rem; }
}

/* Homepage hero-integrated header: navigation belongs to the image-led
   composition and uses the same contrast layer as the hero copy. */
body[data-active-page="discover"] .hero-shell {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding: 0;
  pointer-events: none;
}
body[data-active-page="discover"] .topbar {
  position: absolute;
  inset: 0 0 auto;
  max-width: none;
  margin: 0;
  padding: 1.05rem clamp(1rem, 4vw, 4.5rem) 1.15rem;
  background: linear-gradient(180deg, rgba(12,33,39,.86), rgba(12,33,39,.18) 78%, transparent);
  border-bottom: 0;
  box-shadow: none;
  color: #fff;
  pointer-events: auto;
}
body[data-active-page="discover"] .brand .eyebrow { color: #9de0d1; }
body[data-active-page="discover"] .brand-copy { color: rgba(255,255,255,.72); }
body[data-active-page="discover"] .nav-link {
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
}
body[data-active-page="discover"] .nav-link:hover,
body[data-active-page="discover"] .nav-link.is-active {
  color: #fff;
  background: rgba(255,255,255,.12);
  border-color: rgba(157,224,209,.32);
  box-shadow: none;
}
body[data-active-page="discover"] .language-switch { color: #fff; }
body[data-active-page="discover"] .discover-spotlight { margin-top: 1rem; }
body[data-active-page="discover"] .destination-showcase-media { border-radius: 1.2rem 1.2rem 0 0; }

/* Public marketing routes share the same image-led navigation treatment.
   Authenticated/operational routes intentionally keep the solid shell. */
body[data-active-page="explore"] .hero-shell {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding: 0;
  pointer-events: none;
}
body[data-active-page="explore"] .topbar {
  position: absolute;
  inset: 0 0 auto;
  max-width: none;
  margin: 0;
  padding: 1.05rem clamp(1rem, 4vw, 4.5rem) 1.15rem;
  background: linear-gradient(180deg, rgba(12,33,39,.9), rgba(12,33,39,.2) 78%, transparent);
  border-bottom: 0;
  box-shadow: none;
  color: #fff;
  pointer-events: auto;
}
body[data-active-page="explore"] .nav-link {
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.04);
}
body[data-active-page="explore"] .nav-link:hover,
body[data-active-page="explore"] .nav-link.is-active {
  color: #fff;
  background: rgba(255,255,255,.12);
}
body[data-active-page="explore"] .brand .eyebrow { color: #9de0d1; }
body[data-active-page="explore"] .brand-copy { color: rgba(255,255,255,.74); }
body[data-active-page="explore"] .route-intro { padding-top: 0; }
body[data-active-page="explore"] .route-intro-copy { padding-top: clamp(7rem, 12vw, 9rem); }

@media (max-width: 760px) {
  body[data-active-page="explore"] .route-intro { padding-top: 0; }
  body[data-active-page="explore"] .route-intro-copy { padding-top: 8.5rem; }
}

@media (max-width: 760px) {
  body[data-active-page="discover"] .topbar { padding: .8rem .75rem .9rem; }
  body[data-active-page="discover"] .discover-spotlight { margin-top: .65rem; }
}

/* Premium Adventure v2: one visual rhythm across public discovery, booking
   and the customer/pilot entry surfaces. Business state and route behavior
   stay in app.js; this layer only makes the hierarchy more legible. */
:root {
  --editorial-ink: #17343c;
  --editorial-teal: #1d5d64;
  --editorial-paper: #f6f1e7;
  --editorial-line: rgba(23, 52, 60, .14);
  --editorial-coral: #ed795b;
  --editorial-shadow: 0 24px 60px rgba(23, 52, 60, .12);
}

body {
  color: var(--editorial-ink);
  background: var(--editorial-paper);
}

.topbar {
  border-bottom: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
}

body:not([data-active-page="discover"]) .topbar {
  background: linear-gradient(135deg, #20383d 0%, #28545a 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(23,52,60,.14);
}
body:not([data-active-page="discover"]) .brand .eyebrow { color: #a8e1d1; }
body:not([data-active-page="discover"]) .brand-copy { color: rgba(255,255,255,.74); }
body:not([data-active-page="discover"]) .nav-link { color: rgba(255,255,255,.82); background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
body:not([data-active-page="discover"]) .nav-link:hover,
body:not([data-active-page="discover"]) .nav-link.is-active { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(168,225,209,.38); }

.page > section:not(.premium-home-hero):not(.discover-spotlight) {
  position: relative;
}

.section-heading.compact {
  padding-top: clamp(3.4rem, 7vw, 6.5rem);
  padding-bottom: clamp(1.4rem, 3vw, 2.5rem);
}
.section-heading.compact h2,
.section-heading.compact h1 {
  max-width: 15ch;
  color: var(--editorial-ink);
  font-size: clamp(2.6rem, 5.5vw, 5.7rem);
  line-height: .9;
  letter-spacing: -.045em;
}
.section-heading.compact > p:not(.eyebrow) { max-width: 58ch; color: #5b6b70; line-height: 1.75; }

.explore-intro-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, .7fr);
  column-gap: clamp(2rem, 8vw, 9rem);
  align-items: end;
}
.explore-intro-heading .eyebrow { grid-column: 1 / -1; }
.explore-intro-heading h2 { grid-column: 1; margin-bottom: 0; }
.explore-intro-heading > p:not(.eyebrow) { grid-column: 2; margin: 0 0 .35rem; }
.explore-decision-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--editorial-line);
  border-bottom: 1px solid var(--editorial-line);
}
.explore-decision-strip span { display: flex; gap: .8rem; align-items: baseline; padding: 1rem 1.1rem; border-right: 1px solid var(--editorial-line); }
.explore-decision-strip span:last-child { border-right: 0; }
.explore-decision-strip strong { color: var(--editorial-coral); font: 800 1.2rem/1 'Barlow Condensed', sans-serif; }
.explore-decision-strip small { color: var(--editorial-ink); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.nearby-grid { margin-bottom: 1.5rem; }
.nearby-grid > .card,
.controls-card,
.catalog-column,
.booking-card,
.booking-policy-card { border: 1px solid var(--editorial-line); box-shadow: var(--editorial-shadow); }
.nearby-grid .section-toolbar,
.controls-head,
.catalog-column > .section-toolbar { align-items: end; }
.nearby-grid .section-toolbar h3,
.controls-head h3,
.catalog-column .section-toolbar h3 { font-size: clamp(1.8rem, 3vw, 3.1rem); letter-spacing: -.035em; }

.catalog-grid { gap: 1rem; }
.takeoff-card {
  border: 1px solid var(--editorial-line);
  border-radius: 1.15rem;
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 26px rgba(23,52,60,.07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.takeoff-card:hover,
.takeoff-card:focus-visible,
.takeoff-card.is-selected { transform: translateY(-4px); border-color: rgba(237,121,91,.65); box-shadow: 0 18px 34px rgba(23,52,60,.13); }
.takeoff-card-media { aspect-ratio: 1.45 / 1; }
.takeoff-card-media img { filter: saturate(.92); }
.takeoff-card-copy { padding: 1.2rem 1.2rem .7rem; }
.takeoff-card-copy h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: .92; }
.takeoff-card-copy > p:not(.eyebrow) { min-height: 3.8em; color: #5d6b6e; line-height: 1.55; }
.detail-tags { padding: .3rem 1.2rem 1.2rem; }
.takeoff-card .detail-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.takeoff-card .detail-tag { display: inline-flex; max-width: 100%; box-sizing: border-box; align-items: center; min-height: 1.9rem; padding: .32rem .58rem; border-radius: .65rem; font-size: .68rem; line-height: 1.18; overflow-wrap: anywhere; }
.takeoff-card .takeoff-book-button { flex: 0 0 auto; min-height: 1.9rem; padding: .4rem .72rem; font-size: .68rem; }
.takeoff-card .takeoff-unavailable-message { flex: 1 1 100%; margin: .05rem 0 0; }
.takeoff-unavailable-message { border-left: 2px solid #c68c53; padding-left: .65rem; color: #6c5c50; font-size: .78rem; line-height: 1.45; }

.destination-showcase { box-shadow: var(--editorial-shadow); }
.destination-showcase-media { min-height: clamp(28rem, 51vw, 46rem); }
.destination-showcase-media .detail-hero { min-height: clamp(28rem, 51vw, 46rem); }
.destination-showcase-overlay { max-width: 54rem; }
.destination-showcase-overlay h3 { font-size: clamp(3.8rem, 9vw, 9.2rem); letter-spacing: -.055em; }
.destination-showcase-body { padding: clamp(1.2rem, 3vw, 3.2rem); }
.destination-editorial-summary { max-width: 58rem; margin: 0 auto 1.5rem; }
.destination-editorial-summary h3 { font-size: clamp(2rem, 4vw, 4rem); line-height: .94; letter-spacing: -.04em; }
.destination-quick-facts { border-top: 1px solid var(--editorial-line); border-bottom: 1px solid var(--editorial-line); }
.destination-quick-fact { min-height: 6.4rem; border-radius: 0; background: rgba(255,255,255,.68); }
.destination-tools-grid { gap: 1rem; }
.destination-weather { border: 1px solid var(--editorial-line); box-shadow: 0 10px 26px rgba(23,52,60,.06); }

.booking-intro-heading { padding-bottom: 1rem; }
.booking-intro-heading h2 { max-width: 16ch; }
.booking-experience { align-items: start; }
.booking-experience > .card { border-radius: 1.1rem; }
.booking-experience .section-toolbar { border-bottom: 1px solid var(--editorial-line); padding-bottom: 1.1rem; }
.booking-experience .section-toolbar h3 { font-size: clamp(1.8rem, 3vw, 3.2rem); letter-spacing: -.035em; }
.booking-experience .button-primary,
.booking-experience button[type="submit"] { min-height: 3.3rem; }
.booking-policy-card { background: #e9f1ef; }
.booking-policy-card > .section-toolbar h3 { font-size: clamp(1.55rem, 2.5vw, 2.5rem); }

.about-page-shell { padding-bottom: 4rem; }
.about-hero-card { border: 1px solid var(--editorial-line); box-shadow: var(--editorial-shadow); }
.about-value-card { border: 1px solid var(--editorial-line); background: rgba(255,255,255,.62); transition: transform .2s ease, background .2s ease; }
.about-value-card:hover { transform: translateY(-3px); background: #fff; }
.about-value-card h2 { font-size: clamp(1.55rem, 2.4vw, 2.5rem); line-height: .98; letter-spacing: -.03em; }
.about-contact-card { border: 1px solid var(--editorial-line); box-shadow: 0 16px 34px rgba(23,52,60,.08); }

/* Public legal information follows the same editorial language as About,
   while keeping the copy easy to scan on a phone. */
.privacy-page-shell { display: grid; gap: 1rem; width: min(1160px, calc(100% - 2rem)); margin: 0 auto; padding: 1rem 0 4rem; }
body:is([data-active-page="privacy"], [data-active-page="terms"], [data-active-page="liability"], [data-active-page="contact"]) .page { padding-top: 7rem; }
.privacy-hero-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, .36fr); gap: 1.5rem; align-items: end; padding: clamp(1.5rem, 4vw, 3.5rem); border: 1px solid var(--editorial-line); border-radius: var(--radius-xl); background: linear-gradient(135deg, rgba(29,70,76,.98), rgba(35,115,95,.94)); color: #fff; box-shadow: var(--editorial-shadow); }
.privacy-hero-card h1 { max-width: 9ch; margin: .25rem 0 1rem; font-family: var(--font-display); font-size: clamp(3rem, 7vw, 6.8rem); line-height: .9; letter-spacing: -.055em; }
.privacy-hero-card .eyebrow, .privacy-hero-card a { color: #ffd09f; }
.privacy-lead { max-width: 58ch; margin: 0; color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.65; }
.privacy-meta { display: grid; gap: .35rem; padding: 1rem 1.15rem; border: 1px solid rgba(255,255,255,.24); border-radius: var(--radius-md); background: rgba(255,255,255,.1); color: rgba(255,255,255,.78); line-height: 1.5; }
.privacy-meta strong { color: #fff; }
.privacy-meta a { font-weight: 800; text-decoration: none; }
.privacy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.privacy-section-card { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: .85rem; align-items: start; min-width: 0; padding: clamp(1.1rem, 2.5vw, 1.75rem); border: 1px solid var(--editorial-line); border-radius: var(--radius-lg); background: rgba(255,255,255,.72); box-shadow: 0 12px 26px rgba(23,52,60,.06); }
.privacy-section-card-wide { grid-column: 1 / -1; }
.privacy-number { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; border-radius: 50%; background: var(--editorial-coral); color: #fff; font-size: .72rem; font-weight: 900; letter-spacing: .04em; }
.privacy-section-card h2 { margin: .1rem 0 .65rem; color: var(--ink); font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.05; }
.privacy-section-card p, .privacy-section-card li { color: var(--muted); line-height: 1.7; }
.privacy-section-card p { margin: 0 0 .75rem; }
.privacy-section-card p:last-child { margin-bottom: 0; }
.privacy-section-card ul { margin: 0; padding-left: 1.15rem; }
.privacy-section-card a { color: var(--accent-strong); font-weight: 800; }
.about-policy-link { color: var(--accent-strong); font-weight: 800; text-decoration: none; }
@media (max-width: 760px) {
  body:is([data-active-page="privacy"], [data-active-page="terms"], [data-active-page="liability"], [data-active-page="contact"]) .page { padding-top: 10.5rem; }
  .privacy-page-shell { width: calc(100% - 1rem); padding-bottom: 2.5rem; }
  .privacy-hero-card, .privacy-grid { grid-template-columns: 1fr; }
  .privacy-hero-card h1 { max-width: 7ch; }
  .privacy-section-card-wide { grid-column: auto; }
}

.route-intro { border: 1px solid var(--editorial-line); box-shadow: var(--editorial-shadow); }
.route-intro-copy h1 { font-size: clamp(3rem, 6vw, 6.8rem); line-height: .87; letter-spacing: -.055em; }
.route-intro-copy p:not(.eyebrow) { max-width: 34ch; font-size: 1.05rem; }
.portal-grid .card { border: 1px solid var(--editorial-line); box-shadow: 0 12px 32px rgba(23,52,60,.07); }
.portal-grid .section-toolbar h3 { font-size: clamp(1.6rem, 2.7vw, 2.8rem); line-height: .95; letter-spacing: -.035em; }

@media (max-width: 760px) {
  .explore-intro-heading { display: block; }
  .explore-intro-heading > p:not(.eyebrow) { margin-top: 1.25rem; }
  .explore-decision-strip { grid-template-columns: 1fr; }
  .explore-decision-strip span { border-right: 0; border-bottom: 1px solid var(--editorial-line); padding: .85rem .35rem; }
  .explore-decision-strip span:last-child { border-bottom: 0; }
  .catalog-grid { grid-template-columns: minmax(0, 1fr); }
  .takeoff-card-copy > p:not(.eyebrow) { min-height: 0; }
  .destination-showcase-media,
  .destination-showcase-media .detail-hero { min-height: 31rem; }
  .destination-showcase-overlay h3 { font-size: clamp(3.1rem, 15vw, 5.3rem); }
  .destination-showcase-body { padding: 1rem; }
  .destination-quick-facts { grid-template-columns: 1fr 1fr; }
  .destination-quick-fact { min-height: 5.5rem; padding: .8rem; }
  .route-intro-copy h1 { font-size: clamp(3.2rem, 16vw, 5.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  .takeoff-card,
  .about-value-card { transition: none; }
  .takeoff-card:hover,
  .about-value-card:hover { transform: none; }
}

/* Route experience pass: keep the shared SPA contracts intact while giving
   each non-public route a distinct, calmer job-to-be-done. */
body[data-active-page="about"] .about-page-shell,
body[data-active-page="customer"] .portal-grid,
body[data-active-page="pilot"] .portal-grid {
  position: relative;
}

body[data-active-page="about"] .about-page-shell::before,
body[data-active-page="customer"] .portal-grid::before,
body[data-active-page="pilot"] .portal-grid::before {
  content: '';
  position: absolute;
  top: -2.5rem;
  right: 4%;
  width: 12rem;
  height: 12rem;
  border: 1px solid rgba(237,121,91,.18);
  border-radius: 50%;
  pointer-events: none;
}

body[data-active-page="about"] .about-hero-card {
  min-height: 34rem;
  background: linear-gradient(112deg, #17343c 0%, #23545b 58%, #316f72 100%);
}
body[data-active-page="about"] .about-hero-copy { position: relative; z-index: 1; }
body[data-active-page="about"] .about-hero-copy h1 { max-width: 8ch; font-size: clamp(3.4rem, 7vw, 7rem); }
body[data-active-page="about"] .about-hero-art { min-height: 34rem; background: #23545b; }
body[data-active-page="about"] .about-hero-art img { opacity: .58; filter: saturate(.8) contrast(1.04) brightness(.82); }
body[data-active-page="about"] .about-value-grid { gap: 1rem; margin-top: .25rem; }
body[data-active-page="about"] .about-value-card { min-height: 13rem; padding: clamp(1.3rem, 3vw, 2.35rem); }
body[data-active-page="about"] .about-value-icon { width: 2.8rem; height: 2.8rem; background: var(--editorial-coral); color: #fff; }

body[data-active-page="customer"] .route-intro-light .route-intro-copy {
  background: linear-gradient(135deg, #f8f3e9, #e8f0ed);
}
body[data-active-page="customer"] .route-intro-light .route-intro-copy h1 { color: var(--editorial-ink); }
body[data-active-page="customer"] .route-intro-light .route-intro-copy p:not(.eyebrow) { color: #5b6b70; }
body[data-active-page="customer"] .customer-portal-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, .75fr);
  align-items: start;
}
body[data-active-page="customer"] .customer-portal-grid::before { display: none; }
.account-registration-success {
  display: grid;
  gap: .45rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(35, 135, 125, .28);
  border-radius: 16px;
  background: linear-gradient(135deg, #e9f6f1, #f8f3e9);
  color: var(--editorial-ink);
}
.account-registration-success h3 { margin: 0; }
.account-registration-success > p:last-child { margin: 0; color: #46666b; }
body[data-active-page="customer"] .customer-journey-intro {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, .9fr);
  gap: 1rem 2rem;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2.4rem);
  border: 1px solid rgba(23, 51, 58, .14);
  border-radius: 24px;
  background: linear-gradient(135deg, #17343c 0%, #1e5b60 70%, #d86b31 170%);
  color: #fff;
  box-shadow: 0 18px 42px rgba(23, 52, 60, .14);
}
body[data-active-page="customer"] .customer-journey-intro .eyebrow { color: #a7d9da; }
body[data-active-page="customer"] .customer-journey-intro h2 { margin: .25rem 0 .7rem; max-width: 15ch; font-size: clamp(1.8rem, 4vw, 3.6rem); line-height: .95; letter-spacing: -.045em; }
body[data-active-page="customer"] .customer-journey-intro p:not(.eyebrow) { max-width: 54ch; margin: 0; color: rgba(255,255,255,.78); line-height: 1.55; }
.customer-journey-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.customer-journey-steps > div { display: flex; align-items: center; gap: .65rem; min-height: 3.6rem; padding: .7rem .75rem; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.1); }
.customer-journey-steps b { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; flex: 0 0 auto; border-radius: 50%; background: #f28a58; color: #17343c; font-size: .85rem; }
.customer-journey-steps span { font-size: .78rem; font-weight: 700; line-height: 1.2; }
body[data-active-page="customer"] .customer-portal-grid .portal-card-bookings,
body[data-active-page="customer"] .customer-portal-grid .customer-reentry-card { grid-column: 1 / -1; }
body[data-active-page="customer"] .customer-portal-grid .portal-card-bookings {
  border-top: 4px solid var(--editorial-coral);
  background: rgba(255,255,255,.9);
}
body[data-active-page="customer"] .customer-portal-grid .push-card { background: #e8f1ee; }
body[data-active-page="customer"] .customer-portal-grid .portal-card-media { background: rgba(255,255,255,.74); }

body[data-active-page="pilot"] .route-intro-book .route-intro-copy {
  background: linear-gradient(135deg, #17343c 0%, #1d5d64 72%, #28545a 100%);
}
body[data-active-page="pilot"] .pilot-portal-grid { align-items: start; }
body[data-active-page="pilot"] .pilot-auth-card {
  border-top: 4px solid var(--editorial-coral);
  background: rgba(255,255,255,.9);
}
body[data-active-page="pilot"] .pilot-auth-card .section-toolbar { padding-bottom: 1.2rem; border-bottom: 1px solid var(--editorial-line); }
body[data-active-page="pilot"] .pilot-auth-card .pilot-login-form { background: #f7f3ea; border-color: var(--editorial-line); }
body[data-active-page="pilot"] .pilot-auth-card .pilot-registration-panel { background: #e8f1ee; border-color: var(--editorial-line); }
body[data-active-page="pilot"] .pilot-dashboard .card,
body[data-active-page="pilot"] .pilot-dashboard .section-panel { border-color: var(--editorial-line); box-shadow: 0 12px 32px rgba(23,52,60,.07); }
/* The pilot route has a real hero and form below it; the decorative orbit
   from the generic portal layout reads as a stray transparent circle there. */
body[data-active-page="pilot"] .pilot-portal-grid::before { display: none; }
body[data-active-page="customer"] #customerSection .push-card { grid-column: 1 / -1; }
/* Navigation remains legible over both the dark route shell and the image-led
   homepage header, including at the compact mobile type size. */
body[data-active-page="discover"] .nav-link,
body:not([data-active-page="discover"]) .nav-link {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(8, 25, 30, .22);
}
body[data-active-page="discover"] .nav-link { background: rgba(8, 25, 30, .22); }
body:not([data-active-page="discover"]) .nav-link { background: rgba(8, 25, 30, .18); }
body[data-active-page="customer"] .portal-card .section-toolbar h3,
body[data-active-page="customer"] .portal-card .section-toolbar h2,
body[data-active-page="pilot"] .portal-card .section-toolbar h3,
body[data-active-page="pilot"] .portal-card .section-toolbar h2 {
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1;
}
body[data-active-page="about"] .about-value-card { display: grid; align-content: start; }
body[data-active-page="about"] .about-value-card p { max-width: 42ch; }

@media (max-width: 900px) {
  body[data-active-page="pilot"] .pilot-access-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body[data-active-page="about"] .about-hero-card,
  body[data-active-page="about"] .about-hero-art { min-height: 0; }
  body[data-active-page="about"] .about-hero-copy h1 { font-size: clamp(3.2rem, 16vw, 5.5rem); }
  body[data-active-page="about"] .about-value-card { min-height: 0; }
  body[data-active-page="customer"] .customer-portal-grid { display: grid; grid-template-columns: 1fr; }
  body[data-active-page="customer"] .customer-journey-intro { grid-template-columns: 1fr; gap: 1.25rem; border-radius: 18px; }
  body[data-active-page="customer"] .customer-journey-steps { gap: .5rem; }
  body[data-active-page="customer"] .customer-journey-steps > div { min-height: 3.1rem; padding: .55rem; }
  body[data-active-page="customer"] .customer-journey-steps span { font-size: .7rem; }
  body[data-active-page="customer"] .customer-portal-grid .portal-card-bookings,
  body[data-active-page="customer"] .customer-portal-grid .customer-reentry-card { grid-column: auto; }
  body[data-active-page="customer"] .customer-portal-grid::before,
  body[data-active-page="pilot"] .pilot-portal-grid::before { right: 4%; width: 8rem; height: 8rem; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-active-page="about"] .about-hero-art img { animation: none; transform: scale(1.06); }
}

/* Final shared public header polish: use the same quiet text-tab language on
   marketing and portal routes, while keeping the active state as an underline. */
body[data-active-page="about"] .public-hero-shell .nav-link,
body[data-active-page="pilot"] .public-hero-shell .nav-link {
  color: #fff !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: 0 1px 1px rgba(8, 25, 30, .22);
}
body[data-active-page="about"] .public-hero-shell .nav-link:hover,
body[data-active-page="about"] .public-hero-shell .nav-link:focus-visible,
body[data-active-page="about"] .public-hero-shell .nav-link.is-active,
body[data-active-page="pilot"] .public-hero-shell .nav-link:hover,
body[data-active-page="pilot"] .public-hero-shell .nav-link:focus-visible,
body[data-active-page="pilot"] .public-hero-shell .nav-link.is-active {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .45rem;
}

/* Explore's content is intentionally centred, with the tab group balanced a
   little toward the destination image rather than the left brand lockup. */
body[data-active-page="explore"] .public-hero-shell .nav-links,
body[data-active-page="book"] .public-hero-shell .nav-links {
  transform: translateX(clamp(.5rem, 2.2vw, 2rem));
}

/* The new mark carries its own readable silhouette; do not put it inside a
   competing rounded tile or animated background. */
.public-hero-shell .brand-mark {
  width: 4.25rem;
  height: 3.35rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: none;
}
.public-hero-shell .brand-mark img { object-fit: contain; }
@media (max-width: 760px) {
  body[data-active-page="explore"] .public-hero-shell .nav-links,
  body[data-active-page="book"] .public-hero-shell .nav-links { transform: none; }
  .public-hero-shell .brand-mark { width: 3.55rem; height: 2.8rem; }
}

/* Shared tab treatment for every user-facing route. Portal pages keep their
   own functional shell, but the navigation itself remains the same quiet,
   borderless text row as the public hero routes. */
body[data-active-page="about"] .public-hero-shell .topbar,
body[data-active-page="pilot"] .public-hero-shell .topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.05rem clamp(1rem, 4vw, 4.5rem) 1.15rem;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
body[data-active-page="pilot"] main.page { padding-top: 7rem; }


/* Route-specific legacy tile rules must not shrink the new canopy/pilot mark. */
body[data-active-page="discover"] .public-hero-shell .brand-mark,
body[data-active-page="explore"] .public-hero-shell .brand-mark,
body[data-active-page="about"] .public-hero-shell .brand-mark,
body[data-active-page="pilot"] .public-hero-shell .brand-mark {
  width: 4.4rem !important;
  height: 3.35rem !important;
  flex: 0 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
@media (max-width: 760px) {
  body[data-active-page="discover"] .public-hero-shell .brand-mark,
  body[data-active-page="explore"] .public-hero-shell .brand-mark,
  body[data-active-page="about"] .public-hero-shell .brand-mark,
  body[data-active-page="pilot"] .public-hero-shell .brand-mark {
    width: 3.65rem !important;
    height: 2.8rem !important;
  }
}

/* Keep the accessible skip link out of the scrollable canvas while it is
   hidden; the previous -999px offset widened narrow mobile viewports. */
.skip-link { left: 0; transform: translateX(-120%); }
.skip-link:focus { left: 1rem; transform: none; }

/* The homepage hero carries the complete five-step orientation. Keep the
   original trust-strip treatment, but let each step carry its useful detail
   without introducing a second journey panel below the hero. */
body[data-active-page="discover"] .premium-home-hero-trust {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100%, 72rem);
  gap: 0;
}
body[data-active-page="discover"] .premium-home-hero-trust span {
  min-width: 0;
  padding-right: .85rem;
}
body[data-active-page="discover"] .premium-home-hero-trust span + span { padding-left: .85rem; }
body[data-active-page="discover"] .premium-home-hero-trust small {
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .02em;
}
body[data-active-page="discover"] .premium-home-hero-trust em {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: .64rem;
  font-style: normal;
  line-height: 1.35;
}

/* Bare public tabs: the hero image supplies the frame; active state is a
   restrained underline, matching the requested reference direction. */
body[data-active-page="discover"] .public-hero-shell .nav-link,
body[data-active-page="explore"] .public-hero-shell .nav-link,
body[data-active-page="about"] .public-hero-shell .nav-link,
body[data-active-page="pilot"] .public-hero-shell .nav-link {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
body[data-active-page="discover"] .public-hero-shell .nav-link:hover,
body[data-active-page="discover"] .public-hero-shell .nav-link:focus-visible,
body[data-active-page="discover"] .public-hero-shell .nav-link.is-active,
body[data-active-page="explore"] .public-hero-shell .nav-link:hover,
body[data-active-page="explore"] .public-hero-shell .nav-link:focus-visible,
body[data-active-page="explore"] .public-hero-shell .nav-link.is-active,
body[data-active-page="about"] .public-hero-shell .nav-link:hover,
body[data-active-page="about"] .public-hero-shell .nav-link:focus-visible,
body[data-active-page="about"] .public-hero-shell .nav-link.is-active,
body[data-active-page="pilot"] .public-hero-shell .nav-link:hover,
body[data-active-page="pilot"] .public-hero-shell .nav-link:focus-visible,
body[data-active-page="pilot"] .public-hero-shell .nav-link.is-active {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .45rem;
}

@media (max-width: 900px) {
  body[data-active-page="discover"] .premium-home-hero-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: .8rem;
  }
  body[data-active-page="discover"] .premium-home-hero-trust span:nth-child(4) { grid-column: 1 / 3; }
  body[data-active-page="discover"] .premium-home-hero-trust span:nth-child(5) { grid-column: 3; }
}
@media (max-width: 560px) {
  body[data-active-page="discover"] .premium-home-hero-trust { grid-template-columns: 1fr 1fr; }
  body[data-active-page="discover"] .premium-home-hero-trust span:nth-child(4),
  body[data-active-page="discover"] .premium-home-hero-trust span:nth-child(5) { grid-column: auto; }
  body[data-active-page="discover"] .premium-home-hero-trust span { padding-right: .45rem; }
  body[data-active-page="discover"] .premium-home-hero-trust span + span { padding-left: .45rem; }
  body[data-active-page="discover"] .premium-home-hero-trust em { font-size: .6rem; }
}

body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"]) .public-hero-shell .topbar {
  position: absolute !important;
  inset: 0 0 auto !important;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box;
  padding: 1rem max(1rem, calc((100vw - var(--content-max)) / 2)) 2rem !important;
  background: linear-gradient(180deg, rgba(9,25,32,.62), rgba(9,25,32,.14) 72%, transparent) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
body[data-active-page="explore"] .public-hero-shell .topbar {
  background: transparent !important;
}
body[data-active-page="explore"] .destination-showcase-media::before {
  background: transparent !important;
}
body[data-active-page="explore"] .destination-showcase-media .detail-hero {
  object-fit: cover;
}

body[data-active-page="explore"] .destination-showcase-media {
  position: relative;
  height: min(74vh, 760px);
  min-height: 520px;
  overflow: hidden;
}
body[data-active-page="explore"] .destination-showcase-media .detail-hero {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 760px) {
  body[data-active-page="explore"] .destination-showcase-media,
  body[data-active-page="explore"] .destination-showcase-media .detail-hero {
    height: 72vh;
    min-height: 31rem;
  }
}

.detail-hero.hero-image-loading {
  opacity: 0 !important;
  visibility: hidden;
}

.detail-hero.hero-image-ready {
  opacity: 1 !important;
  visibility: visible;
}
body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"]) .public-hero-shell .brand {
  display: flex !important;
  grid-column: 1;
  justify-self: start;
  min-width: 0;
}
body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"]) .public-hero-shell .nav-links {
  grid-column: 2;
  justify-self: center;
  width: max-content;
  justify-content: center;
  transform: none !important;
}
body[data-active-page="explore"] .public-hero-shell .nav-links {
  transform: translateX(clamp(.4rem, 1.25vw, 1.1rem)) !important;
}
body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"]) .public-hero-shell .language-switch {
  grid-column: 3;
  justify-self: end;
}
@media (max-width: 760px) {
  body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"]) .public-hero-shell .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 8rem;
    padding: .7rem 1rem 1.25rem !important;
  }
  body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"]) .public-hero-shell .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-self: center;
  }
  body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"]) .public-hero-shell .language-switch {
    grid-column: 2;
    grid-row: 1;
  }
}

body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"]) .public-hero-shell .topbar {
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"]) .public-hero-shell .brand-mark {
  flex: 0 0 auto !important;
  width: clamp(3.6rem, 5vw, 4.8rem) !important;
  height: clamp(3rem, 4vw, 4rem) !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"]) .public-hero-shell .nav-link {
  padding-inline: .15rem !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body[data-active-page="explore"] .public-hero-shell .nav-links {
  transform: translateX(clamp(.65rem, 2.4vw, 2.25rem)) !important;
}
@media (max-width: 760px) {
  body[data-active-page="explore"] .public-hero-shell .nav-links {
    transform: none !important;
  }
}

/* Final route rhythm. */
body[data-active-page="discover"] .page > section:not(.premium-home-hero),
body[data-active-page="explore"] .page > section,
body[data-active-page="about"] .page > section,
body[data-active-page="pilot"] .page > section {
  width: min(calc(100% - 2rem), 80rem) !important;
  max-width: 80rem !important;
}
body:is([data-active-page="about"], [data-active-page="pilot"]) .public-hero-shell .topbar {
  color: var(--editorial-ink) !important;
  background: linear-gradient(180deg, rgba(245,239,228,.97), rgba(245,239,228,.82) 62%, transparent) !important;
}
body:is([data-active-page="about"], [data-active-page="pilot"]) .public-hero-shell .brand-name,
body:is([data-active-page="about"], [data-active-page="pilot"]) .public-hero-shell .brand-copy,
body:is([data-active-page="about"], [data-active-page="pilot"]) .public-hero-shell .nav-link {
  color: var(--editorial-ink) !important;
  text-shadow: none;
}
body:is([data-active-page="about"], [data-active-page="pilot"]) .public-hero-shell .brand .eyebrow { color: var(--editorial-teal) !important; }
body:is([data-active-page="about"], [data-active-page="pilot"]) .public-hero-shell .nav-link:hover,
body:is([data-active-page="about"], [data-active-page="pilot"]) .public-hero-shell .nav-link:focus-visible,
body:is([data-active-page="about"], [data-active-page="pilot"]) .public-hero-shell .nav-link.is-active { color: var(--editorial-ink) !important; }

/* Pilot and Ops use the same image-led hero contract as Home/Explore: the
   route image owns the first viewport and the shared header floats above it. */
body:is([data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  width: 100%;
  padding: 0;
  background: transparent;
}
body:is([data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .topbar {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  max-width: none;
  background: linear-gradient(180deg, rgba(8, 25, 30, .7), rgba(8, 25, 30, 0)) !important;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
body:is([data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .brand-name,
body:is([data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .brand-copy,
body:is([data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .brand .eyebrow,
body:is([data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .nav-link {
  color: #fff !important;
}
body:is([data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .nav-link {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body:is([data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .language-switch {
  border-color: rgba(255,255,255,.38);
  background: rgba(8,25,30,.24);
}
body:is([data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .language-switch button { color: rgba(255,255,255,.86); }
body:is([data-active-page="pilot"], [data-active-page="ops"]) .page { padding-inline: 0; }
body[data-active-page="ops"] > .page > #ops { display: none; }
body[data-active-page="pilot"] .pilot-portal-grid,
body[data-active-page="ops"] .ops-shell { position: relative; z-index: 1; }
body[data-active-page="discover"] .experience-story-copy,
body[data-active-page="discover"] .section-toolbar > div,
body[data-active-page="about"] .about-hero-copy,
body[data-active-page="pilot"] .route-intro-copy {
  min-width: 0;
}
body[data-active-page="discover"] .experience-story-copy > p,
body[data-active-page="about"] .about-lead,
body[data-active-page="pilot"] .route-intro-copy > p:not(.eyebrow) {
  max-width: 65ch;
}
body[data-active-page="pilot"] .pilot-portal-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, .92fr);
  gap: clamp(1rem, 2.4vw, 2rem);
}
body[data-active-page="pilot"] #pilotAuthCard .pilot-access-grid { grid-template-columns: 1fr; gap: .8rem; }
body[data-active-page="pilot"] #pilotAuthCard .pilot-registration-panel { order: 2; }
body[data-active-page="pilot"] #pilotAuthCard .pilot-login-form { display: grid; gap: .7rem; }
body[data-active-page="pilot"] #pilotAuthCard .pilot-login-form .button { justify-self: start; }
body[data-active-page="pilot"] #adminAuthCard { align-self: stretch; }
body[data-active-page="pilot"] .pilot-portal-grid .pilot-auth-card {
  grid-column: 1 / -1;
}
/* Unauthenticated Pilot access: keep both entry cards in one aligned row;
   the secondary new-pilot request follows the login action inside its card. */
body[data-active-page="pilot"] .pilot-portal-grid > #pilotAuthCard { grid-column: 1; }
body[data-active-page="pilot"] .pilot-portal-grid > #adminAuthCard { grid-column: 2; order: 0; }
body[data-active-page="pilot"] #pilotAuthCard .pilot-access-grid { grid-template-columns: 1fr; }
body[data-active-page="pilot"] .pilot-auth-card .pilot-access-grid {
  grid-template-columns: 1fr;
  align-items: start;
}
body[data-active-page="about"] .about-hero-art { min-height: 28rem; }

/* Explore uses the full public canvas: filters sit above the catalogue so
   cards can use the same wide content frame as the other public routes. */
body[data-active-page="explore"] .explore-grid { display: block; }
body[data-active-page="explore"] .explore-grid .controls-card {
  position: static;
  width: 100%;
  margin-bottom: clamp(1.25rem, 2.5vw, 2.25rem);
}
body[data-active-page="explore"] .explore-grid .filters {
  grid-template-columns: minmax(0, 1.7fr) minmax(14rem, .8fr);
  align-items: end;
}
body[data-active-page="explore"] .explore-grid .catalog-column { width: 100%; }
body[data-active-page="explore"] .explore-grid .catalog-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.brand-mark > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 760px) {
  body[data-active-page="discover"] .page > section:not(.premium-home-hero),
  body[data-active-page="explore"] .page > section,
  body[data-active-page="about"] .page > section,
  body[data-active-page="pilot"] .page > section {
    width: calc(100% - 2rem) !important;
    max-width: none !important;
  }
  body[data-active-page="pilot"] .pilot-portal-grid,
  body[data-active-page="pilot"] .pilot-auth-card .pilot-access-grid {
    grid-template-columns: 1fr;
  }
  body[data-active-page="pilot"] .pilot-portal-grid > #pilotAuthCard,
  body[data-active-page="pilot"] .pilot-portal-grid > #adminAuthCard {
    grid-column: 1;
  }
  body[data-active-page="explore"] .explore-grid .filters { grid-template-columns: 1fr; }
  body[data-active-page="explore"] .explore-grid .catalog-grid { grid-template-columns: 1fr; }
  .takeoff-catalog-group-heading { align-items: start; }
  .takeoff-catalog-group-heading h3 { font-size: 2rem; }
  .takeoff-catalog-group-grid { grid-template-columns: 1fr; }
  body[data-active-page="about"] .about-hero-art { min-height: 15rem; }
}

/* Pilot/Ops hero parity: the image is a rounded destination-like surface and
   the shared header sits inside that surface, exactly like Explore. */
body:is([data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell {
  position: absolute !important;
  inset: 0 !important;
  z-index: 20;
  width: 100% !important;
  height: 0;
  padding: 0 !important;
  background: transparent !important;
}
body:is([data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .topbar {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  right: auto !important;
  width: min(calc(100% - 2rem), 80rem) !important;
  max-width: none !important;
  min-height: 0;
  margin: 0 !important;
  transform: translateX(-50%);
  padding: 1rem clamp(1rem, 3.5vw, 3.25rem) 1.25rem !important;
  background: linear-gradient(180deg, rgba(8,25,30,.72), rgba(8,25,30,.18) 78%, transparent) !important;
  border: 0 !important;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
body:is([data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .brand-name,
body:is([data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .brand-copy,
body:is([data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .brand .eyebrow,
body:is([data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .nav-link {
  color: #fff !important;
}
body:is([data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .nav-link {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body:is([data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .language-switch {
  border-color: rgba(255,255,255,.42);
  background: rgba(8,25,30,.28);
}
body:is([data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .language-switch button { color: rgba(255,255,255,.9); }
body:is([data-active-page="pilot"], [data-active-page="ops"]) .page { padding-inline: clamp(1rem, 2vw, 2rem); }
body:is([data-active-page="pilot"], [data-active-page="ops"]) main.page { padding-top: 0 !important; }
body[data-active-page="ops"] > .page > #ops { display: none; }
body[data-active-page="pilot"] .pilot-portal-grid,
body[data-active-page="ops"] .ops-shell { position: relative; z-index: 1; }

/* The old About ornament reads like a decorative sun behind the hero. */
body[data-active-page="about"] .about-page-shell::before { display: none; }
body[data-active-page="about"] .about-hero-art::before { display: none; }

/* About uses the same image-led card contract as Explore/Pilot. */
body[data-active-page="about"] .public-hero-shell {
  position: absolute !important;
  inset: 0 !important;
  z-index: 20;
  width: 100% !important;
  height: 0;
  padding: 0 !important;
  background: transparent !important;
}
body[data-active-page="about"] .public-hero-shell .topbar {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  right: auto !important;
  width: min(calc(100% - 2rem), 80rem) !important;
  max-width: none !important;
  min-height: 0;
  margin: 0 !important;
  transform: translateX(-50%);
  padding: 1rem clamp(1rem, 3.5vw, 3.25rem) 1.25rem !important;
  background: linear-gradient(180deg, rgba(8,25,30,.72), rgba(8,25,30,.18) 78%, transparent) !important;
  border: 0 !important;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
body[data-active-page="about"] .public-hero-shell .brand-name,
body[data-active-page="about"] .public-hero-shell .brand-copy,
body[data-active-page="about"] .public-hero-shell .brand .eyebrow,
body[data-active-page="about"] .public-hero-shell .nav-link { color: #fff !important; }
body[data-active-page="about"] .public-hero-shell .nav-link {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body[data-active-page="about"] .public-hero-shell .language-switch {
  border-color: rgba(255,255,255,.42);
  background: rgba(8,25,30,.28);
}
body[data-active-page="about"] .public-hero-shell .language-switch button { color: rgba(255,255,255,.9); }
body[data-active-page="about"] main.page { padding-top: 0 !important; }
body[data-active-page="about"] .about-page-shell {
  display: block;
  width: min(calc(100% - 2rem), 80rem) !important;
  max-width: 80rem !important;
  margin: 0 auto;
  padding: 0 0 3rem;
}
body[data-active-page="about"] .about-hero-card {
  position: relative;
  display: block;
  min-height: clamp(39rem, 72vh, 54rem);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-xl);
  background: #17343c;
  box-shadow: var(--editorial-shadow);
  isolation: isolate;
}
body[data-active-page="about"] .about-hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
  background: #17343c;
}
body[data-active-page="about"] .about-hero-art img {
  opacity: .62;
  filter: saturate(.82) contrast(1.04) brightness(.82);
  object-position: center;
}
body[data-active-page="about"] .about-hero-art::after {
  background: linear-gradient(90deg, rgba(8,25,30,.9) 0%, rgba(8,25,30,.58) 43%, rgba(8,25,30,.08) 82%), linear-gradient(0deg, rgba(8,25,30,.5), transparent 58%);
  mix-blend-mode: normal;
}
body[data-active-page="about"] .about-hero-copy {
  position: relative;
  z-index: 1;
  justify-content: flex-end;
  width: 100%;
  min-height: clamp(39rem, 72vh, 54rem);
  padding: clamp(10rem, 16vw, 13rem) clamp(1.25rem, 6vw, 6rem) clamp(3.5rem, 8vw, 7rem);
  background: transparent !important;
  color: #fff;
}
body[data-active-page="about"] .about-hero-copy h1 {
  max-width: 9ch;
  margin-bottom: 1.15rem;
  color: #fff;
  font-size: clamp(3.5rem, 7.4vw, 7rem);
  line-height: .88;
  letter-spacing: -.06em;
  text-wrap: balance;
}
body[data-active-page="about"] .about-lead {
  max-width: 38ch;
  color: rgba(255,255,255,.86);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
}
body[data-active-page="about"] .about-hero-copy .eyebrow { color: #9de0d1; }
body[data-active-page="about"] .about-actions { margin-top: 1.25rem; }

/* Automatic contrast treatment for the same mark over dark hero imagery. */
body:is([data-active-page="about"], [data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .brand-mark img {
  filter: brightness(1.38) saturate(.88) contrast(.92) drop-shadow(0 0 1px rgba(255,255,255,.72));
}

@media (max-width: 760px) {
  body[data-active-page="about"] .public-hero-shell .topbar {
    width: calc(100% - 2rem) !important;
    padding: .7rem 1rem 1rem !important;
  }
  body[data-active-page="about"] .about-page-shell {
    width: calc(100vw - 2rem) !important;
    max-width: calc(100vw - 2rem) !important;
  }
  body[data-active-page="about"] .about-hero-card,
  body[data-active-page="about"] .about-hero-copy {
    min-height: clamp(36rem, 88svh, 48rem);
  }
  body[data-active-page="about"] .about-hero-copy {
    padding: 10rem 1.25rem 3rem;
  }
  body[data-active-page="about"] .about-hero-copy h1 {
    max-width: 8ch;
    font-size: clamp(3.25rem, 15vw, 5.5rem);
  }
}

/* Final journey treatment: visible orange route tags replace the old rainbow
   badge set and keep the numbers legible against the editorial cards. */
body[data-active-page="discover"] .booking-journey-grid article > span,
body[data-active-page="discover"] .booking-journey-grid article:nth-child(n) > span {
  color: #fff8ed;
  background: linear-gradient(135deg, #c85f2b 0%, #f19b45 58%, #8c3d28 100%);
  border: 1px solid rgba(255, 198, 132, .72);
  border-radius: .35rem .8rem .35rem .8rem;
  box-shadow: 4px 4px 0 rgba(31, 63, 63, .15), inset 0 1px 0 rgba(255,255,255,.3);
}

@media (max-width: 760px) {
  body:is([data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .topbar {
    width: calc(100% - 2rem) !important;
    padding: .7rem 1rem 1rem !important;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0 !important;
  }
}
/* Public hero brand contrast: keep the mountain contour readable on every image. */
body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .brand-mark img {
  filter: brightness(1.78) saturate(.68) contrast(.8) drop-shadow(0 0 1px rgba(255,255,255,.98));
}

/* Active public tabs stay light and borderless over every hero image. */
body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .nav-link.is-active,
body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .nav-link.is-active:hover,
body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"], [data-active-page="ops"]) .public-hero-shell .nav-link.is-active:focus-visible {
  color: #fff !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  text-shadow: 0 1px 2px rgba(8,25,30,.62) !important;
  text-decoration-line: underline !important;
  text-decoration-color: #f47755 !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: .42rem !important;
}

/* Footer columns share one top alignment; the safety note must not drift to the bottom. */
.site-footer-inner {
  align-items: start;
}

.site-footer-nav {
  padding-top: 0;
}

.site-footer-note {
  align-content: start;
  padding-bottom: 0;
}

/* Ops hierarchy: facts and derived state are deliberately quiet. The
   controls that can change state keep their normal contrast, while forecast,
   status, review and read-only profile surfaces read as information only. */
body[data-active-page="ops"] #adminPanel .review-box,
body[data-active-page="ops"] #adminPanel .weather-summary,
body[data-active-page="ops"] #adminPanel .weather-day,
body[data-active-page="ops"] #adminPanel .proposal-review-row > div:first-child,
body[data-active-page="ops"] #adminPanel .operational-review-row > div:first-child,
body[data-active-page="ops"] #adminPanel .admin-activity-card:not(.is-alert),
body[data-active-page="ops"] #adminPanel .admin-booking-status-track,
body[data-active-page="ops"] #adminPanel .ops-informational {
  color: #5e6b69 !important;
  background: #d7dfdd !important;
  border-color: #aab9b5 !important;
  border-left: 5px solid #8e9f9a !important;
  box-shadow: none;
}

body[data-active-page="ops"] #adminPanel .review-box strong,
body[data-active-page="ops"] #adminPanel .admin-activity-card:not(.is-alert) strong,
body[data-active-page="ops"] #adminPanel .proposal-review-row > div:first-child strong,
body[data-active-page="ops"] #adminPanel .operational-review-row > div:first-child strong {
  color: #4f5e5b;
}

body[data-active-page="ops"] #adminPanel .review-box p,
body[data-active-page="ops"] #adminPanel .admin-activity-card:not(.is-alert) small,
body[data-active-page="ops"] #adminPanel .proposal-review-row > div:first-child p,
body[data-active-page="ops"] #adminPanel .proposal-review-row > div:first-child small,
body[data-active-page="ops"] #adminPanel .operational-review-row > div:first-child p,
body[data-active-page="ops"] #adminPanel .field-help {
  color: #657370;
}

body[data-active-page="ops"] #adminPanel fieldset[disabled] .field input,
body[data-active-page="ops"] #adminPanel fieldset[disabled] .field select,
body[data-active-page="ops"] #adminPanel fieldset[disabled] .field textarea,
body[data-active-page="ops"] #adminPanel input[readonly],
body[data-active-page="ops"] #adminPanel textarea[readonly] {
  color: #64716e;
  background: #d7dfdd;
  border-color: #aab9b5;
  border-left: 4px solid #8e9f9a;
  box-shadow: none;
}

body[data-active-page="ops"] #adminPanel .weather-summary,
body[data-active-page="ops"] #adminPanel .weather-grid {
  opacity: .82;
}

/* Ops: make read-only state unmistakable, including the field surface itself. */
body[data-active-page="ops"] #adminPanel input:disabled,
body[data-active-page="ops"] #adminPanel select:disabled,
body[data-active-page="ops"] #adminPanel textarea:disabled,
body[data-active-page="ops"] #adminPanel input[readonly],
body[data-active-page="ops"] #adminPanel textarea[readonly] {
  color: #53625f !important;
  background: #cbd6d2 !important;
  border: 1px solid #93a6a0 !important;
  border-left: 5px solid #718780 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  cursor: not-allowed;
}

body[data-active-page="ops"] #adminPanel fieldset[disabled] .field > span,
body[data-active-page="ops"] #adminPanel input[readonly] + small,
body[data-active-page="ops"] #adminPanel textarea[readonly] + small {
  color: #687773 !important;
}

body[data-active-page="ops"] #adminPanel .ops-requirements-note,
body[data-active-page="ops"] #adminPanel .ops-activation-requirements {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem;
  color: #40504c;
  background: #e3ebe8;
  border: 1px solid #afc1bb;
  border-left: 6px solid #279b83;
  border-radius: 12px;
}

body[data-active-page="ops"] #adminPanel .ops-requirements-note > div {
  display: flex;
  align-items: center;
  gap: .65rem;
}

body[data-active-page="ops"] #adminPanel .ops-requirements-note p,
body[data-active-page="ops"] #adminPanel .ops-activation-requirements p {
  margin: .45rem 0 0;
  color: #5a6965;
}

body[data-active-page="ops"] #adminPanel .ops-requirement-badge,
body[data-active-page="ops"] #adminPanel .field-requirement {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-left: .35rem;
  padding: .16rem .42rem;
  color: #fff;
  background: #278f7b;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
  vertical-align: middle;
}

body[data-active-page="ops"] #adminPanel .field-requirement-optional {
  color: #61716c;
  background: #d1dcd8;
}

body[data-active-page="ops"] #adminPanel .ops-activation-requirements ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .35rem 1.25rem;
  margin: .75rem 0;
  padding-left: 1.2rem;
  color: #4e5f5a;
}

body[data-active-page="ops"] #adminPanel .ops-activation-requirements small {
  color: #697a75;
}

@media (max-width: 720px) {
  body[data-active-page="ops"] #adminPanel .ops-activation-requirements ul {
    grid-template-columns: 1fr;
  }
}

body.booking-focus .public-hero-shell .nav-links {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(.7rem, 1.8vw, 1.5rem) !important;
  width: max-content !important;
  min-width: 0 !important;
  transform: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.booking-focus .public-hero-shell .nav-link {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  min-width: max-content !important;
  color: var(--text) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.destination-showcase-media {
  position: relative;
  width: 100%;
  height: min(74vh, 760px);
  min-height: 520px;
  overflow: hidden;
}

.destination-showcase-media .detail-hero {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 760px) {
  .destination-showcase-media,
  .destination-showcase-media .detail-hero {
    height: 72vh;
    min-height: 31rem;
  }
}

body[data-active-page="explore"].booking-focus .public-hero-shell .nav-link.is-active {
  color: var(--accent-strong) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--accent) !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: .35rem !important;
}

body.booking-focus .public-hero-shell [data-page="explore"]:not(#bookingSection) {
  display: inline-flex !important;
}

@media (max-width: 760px) {
  body.booking-focus .public-hero-shell {
    position: relative !important;
    inset: auto !important;
  }
  body.booking-focus .public-hero-shell .topbar {
    position: relative !important;
    inset: auto !important;
    min-height: 0 !important;
    padding: .7rem 1rem 1rem !important;
    background: var(--surface) !important;
  }
  body.booking-focus .public-hero-shell .nav-links {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    gap: .55rem .9rem !important;
  }
  body.booking-focus .public-hero-shell .nav-link {
    min-width: 0 !important;
    white-space: nowrap !important;
  }
}
#adminPanel:not(.hidden) #takeoffTrackLogCreateSection.hidden {
  display: block !important;
}
body[data-admin-auth="true"] #takeoffTrackLogCreateSection.hidden {
  display: block !important;
}
#adminPanel,
#takeoffTrackLogCreateSection,
#takeoffTrackLogPreview {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
#takeoffTrackLogCreateSection,
#takeoffTrackLogPreview {
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .ops-grid,
  .ops-shell,
  #adminPanel {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}
/* Pilot flight ledger remains readable without widening the portal on mobile. */
.pilot-flight-ledger { min-width: 0; }
.pilot-ledger-period-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: .75rem 0 1rem; padding: .85rem 1rem; border: 1px solid rgba(216,107,49,.24); border-left: 4px solid #d86b31; border-radius: .55rem; background: linear-gradient(135deg, #fffaf2, #edf4f0); }
.pilot-ledger-period-head h4 { margin: .15rem 0 .2rem; color: #17343c; font-size: 1.2rem; }
.pilot-ledger-period-head span { color: #64757b; font-size: .76rem; }
.pilot-ledger-history { display: grid; gap: .45rem; margin-top: 1.25rem; }
.pilot-ledger-month-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .85rem; border: 1px solid rgba(23,52,60,.12); border-radius: .45rem; background: rgba(247,249,247,.82); }
.pilot-ledger-month-row > div { display: grid; gap: .2rem; min-width: 0; }
.pilot-ledger-month-row strong { color: #17343c; }
.pilot-ledger-month-row span { color: #64757b; font-size: .76rem; }
.pilot-flight-ledger .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pilot-ledger-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .82rem; }
.pilot-ledger-table th, .pilot-ledger-table td { padding: .7rem .75rem; border-bottom: 1px solid rgba(23,51,58,.12); text-align: left; white-space: nowrap; }
.pilot-ledger-table th { color: #617477; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.pilot-club-ledger-table .ledger-empty-cell { color:#64757b; text-align:center; white-space:normal; }
@media (max-width: 720px) { .pilot-ledger-table { min-width: 620px; } }
@media (max-width: 720px) { .pilot-ledger-period-head, .pilot-ledger-month-row { align-items: flex-start; flex-direction: column; } .pilot-ledger-period-head .button, .pilot-ledger-month-row .button { align-self: stretch; text-align: center; } }
@media (max-width: 720px) { .pilot-carousel-featured { grid-template-columns: 1.25rem minmax(0, 1fr) 1.25rem; gap: .3rem; } .pilot-carousel-neighbor { min-height: 100%; padding: .25rem; overflow: hidden; } .pilot-carousel-neighbor strong, .pilot-carousel-neighbor small, .pilot-carousel-neighbor-action { display: none; } }

/* Assigned takeoffs: keep one readable editor in the centre while the
   previous/next cards remain visible as clipped, clickable previews. */
.pilot-carousel-featured { display: block; position: relative; padding: 0 clamp(4rem, 18vw, 15rem); overflow: hidden; }
.pilot-carousel-featured .pilot-carousel-nav { display: block; height: 2rem; margin: 0; text-align: center; color: var(--muted); }
.pilot-carousel-featured .pilot-carousel-card { position: relative; z-index: 2; }
.pilot-carousel-featured .pilot-carousel-neighbor { position: absolute; top: 2.35rem; bottom: 0; z-index: 1; width: min(50%, 40rem); min-height: 0; transform: none; }
.pilot-carousel-featured .pilot-carousel-neighbor-previous { left: 0; transform: translateX(-50%); }
.pilot-carousel-featured .pilot-carousel-neighbor-next { right: 0; transform: translateX(50%); }
.pilot-carousel-featured .pilot-carousel-neighbor:hover,
.pilot-carousel-featured .pilot-carousel-neighbor:focus-visible { transform: translateX(-44%); }
.pilot-carousel-featured .pilot-carousel-neighbor-next:hover,
.pilot-carousel-featured .pilot-carousel-neighbor-next:focus-visible { transform: translateX(44%); }
@media (max-width: 720px) {
  .pilot-carousel-featured { padding: 0 1rem; }
  .pilot-carousel-featured .pilot-carousel-neighbor { top: 2.35rem; width: 58%; padding: .7rem; }
  .pilot-carousel-featured .pilot-carousel-neighbor-previous { transform: translateX(-72%); }
  .pilot-carousel-featured .pilot-carousel-neighbor-next { transform: translateX(72%); }
  .pilot-carousel-featured .pilot-carousel-neighbor:hover,
  .pilot-carousel-featured .pilot-carousel-neighbor:focus-visible { transform: translateX(-66%); }
  .pilot-carousel-featured .pilot-carousel-neighbor-next:hover,
  .pilot-carousel-featured .pilot-carousel-neighbor-next:focus-visible { transform: translateX(66%); }
  .pilot-carousel-featured .pilot-carousel-neighbor .pilot-takeoff-preview-form { opacity: .7; }
}

/* Carousel refinement: one clear active takeoff, with contextual side peeks.
   The side cards keep the same data structure but behave as quiet navigation
   surfaces instead of competing with the editable centre card. */
.pilot-carousel-featured {
  display: grid;
  grid-template-columns: minmax(8rem, .42fr) minmax(0, 1.72fr) minmax(8rem, .42fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: .9rem;
  align-items: stretch;
  min-height: 0;
  padding: .25rem 0 1.25rem;
  overflow: hidden;
  border-radius: 1.1rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(216,107,49,.13), transparent 34%),
    linear-gradient(145deg, rgba(232,241,238,.68), rgba(255,250,244,.96) 58%, rgba(241,226,202,.54));
}
.pilot-carousel-featured .pilot-carousel-nav {
  position: relative;
  z-index: 4;
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  height: auto;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #17343c;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pilot-carousel-featured .pilot-carousel-nav span {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: .35rem .75rem;
  border: 1px solid rgba(216,107,49,.32);
  border-radius: 999px;
  background: rgba(255,250,244,.8);
  box-shadow: 0 .35rem 1rem rgba(23,52,60,.06);
}
.pilot-carousel-featured .pilot-carousel-card {
  position: relative;
  z-index: 3;
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  width: 100%;
  border: 2px solid rgba(216,107,49,.56);
  box-shadow: 0 1.35rem 2.8rem rgba(23,52,60,.16), 0 0 0 .35rem rgba(216,107,49,.08);
}
.pilot-carousel-featured .pilot-carousel-neighbor {
  position: relative;
  top: auto;
  bottom: auto;
  z-index: 1;
  grid-row: 2;
  width: auto;
  min-height: 0;
  align-self: stretch;
  padding: .8rem .7rem;
  border: 1px solid rgba(216,107,49,.28);
  border-radius: .9rem;
  background: linear-gradient(160deg, rgba(255,250,244,.72), rgba(220,233,227,.64));
  opacity: .62;
  filter: saturate(.62);
  transform: none;
  box-shadow: inset 0 0 2rem rgba(255,255,255,.42);
  transition: opacity .2s ease, filter .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pilot-carousel-featured .pilot-carousel-neighbor-previous { grid-column: 1; }
.pilot-carousel-featured .pilot-carousel-neighbor-next { grid-column: 3; }
.pilot-carousel-featured .pilot-carousel-neighbor:hover,
.pilot-carousel-featured .pilot-carousel-neighbor:focus-visible {
  opacity: .96;
  filter: saturate(.92);
  transform: none;
  border-color: #d86b31;
  box-shadow: 0 .8rem 1.4rem rgba(23,52,60,.12), inset 0 0 2rem rgba(255,255,255,.5);
}
.pilot-carousel-featured .pilot-carousel-neighbor::after {
  content: 'OTVORI';
  display: block;
  margin-top: auto;
  padding-top: .8rem;
  color: #c85f2b;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .14em;
}
.pilot-carousel-featured .pilot-carousel-neighbor .assigned-takeoff-name {
  font-size: clamp(.9rem, 1.5vw, 1.25rem);
  line-height: 1.02;
}
.pilot-carousel-featured .pilot-carousel-neighbor .assigned-takeoff-location {
  font-size: .7rem;
  line-height: 1.25;
}
.pilot-carousel-featured .pilot-carousel-neighbor .helper-copy {
  font-size: .68rem;
  line-height: 1.3;
}
.pilot-carousel-featured .pilot-carousel-neighbor .pilot-form-section {
  padding: .55rem;
  border-color: rgba(23,52,60,.1);
  background: rgba(255,255,255,.54);
}
.pilot-carousel-featured .pilot-carousel-neighbor .pilot-form-section-index {
  width: 1.2rem;
  height: 1.2rem;
  font-size: .5rem;
}
.pilot-carousel-featured .pilot-carousel-neighbor .pilot-form-section-heading strong { font-size: .57rem; }
.pilot-carousel-featured .pilot-carousel-neighbor .field span { font-size: .55rem; }
.pilot-carousel-featured .pilot-carousel-neighbor .pilot-takeoff-preview-form { opacity: .72; }
@media (max-width: 760px) {
  .pilot-carousel-track {
    gap: .65rem;
    margin-inline: -.2rem;
    padding-inline: .2rem;
    scroll-padding-inline: .2rem;
  }
  .pilot-carousel-track > .is-rail-card {
    flex-basis: min(88vw, 32rem);
    width: min(88vw, 32rem);
  }
  .pilot-carousel-track > .pilot-available-slide {
    flex-basis: min(88vw, 32rem);
    width: min(88vw, 32rem);
  }
  .pilot-carousel-track > .pilot-carousel-neighbor {
    min-height: 8rem;
  }
  .pilot-carousel-featured {
    grid-template-columns: 1.25rem minmax(0, 1fr) 1.25rem;
    gap: .45rem;
    padding: .15rem .35rem .9rem;
    border-radius: .85rem;
  }
  .pilot-carousel-featured .pilot-carousel-neighbor { padding: .55rem .35rem; }
  .pilot-carousel-featured .pilot-carousel-neighbor .assigned-takeoff-name { font-size: .72rem; }
  .pilot-carousel-featured .pilot-carousel-neighbor .assigned-takeoff-location,
  .pilot-carousel-featured .pilot-carousel-neighbor .helper-copy,
  .pilot-carousel-featured .pilot-carousel-neighbor .pilot-takeoff-preview-form,
  .pilot-carousel-featured .pilot-carousel-neighbor::after { display: none; }
  .pilot-carousel-featured .pilot-carousel-neighbor .status-pill { display: none; }
  .pilot-carousel-featured .pilot-carousel-card { box-shadow: 0 .8rem 1.5rem rgba(23,52,60,.14), 0 0 0 .22rem rgba(216,107,49,.08); }
}

/* Notifications are a utility strip, not an editorial card: no decorative
   accent rule should compete with the board below it. */
#pilotPushCard::before { content: none !important; display: none !important; height: 0 !important; }

/* Cross-route adventure surface system. Keep the content width readable while
   giving each major task a distinct, calm surface and a small orange trail
   accent. This is intentionally scoped to Pilot and Home. */
body[data-active-page="pilot"] main.page {
  background: linear-gradient(180deg, #f7f3ea 0%, #edf4f0 45%, #f7f3ea 100%);
}
body[data-active-page="pilot"] .pilot-portal-workspace {
  gap: clamp(1rem, 2vw, 1.5rem);
  padding-top: .5rem;
}
body[data-active-page="pilot"] .pilot-push-card,
body[data-active-page="pilot"] .pilot-ledger-card,
body[data-active-page="pilot"] .pilot-assigned-takeoffs-card,
body[data-active-page="pilot"] .pilot-available-takeoffs-card,
body[data-active-page="pilot"] .pilot-proposal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23,52,60,.12);
  border-radius: 1rem;
  box-shadow: 0 .9rem 2rem rgba(23,52,60,.07);
}
body[data-active-page="pilot"] .pilot-push-card::after,
body[data-active-page="pilot"] .pilot-ledger-card::after,
body[data-active-page="pilot"] .pilot-assigned-takeoffs-card::after,
body[data-active-page="pilot"] .pilot-available-takeoffs-card::after,
body[data-active-page="pilot"] .pilot-proposal-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4.5rem;
  height: .22rem;
  background: linear-gradient(90deg, #d86b31, #efad62, transparent);
}
body[data-active-page="pilot"] .pilot-push-card {
  background: linear-gradient(115deg, rgba(232,241,238,.94), rgba(255,250,244,.9));
}
body[data-active-page="pilot"] .pilot-ledger-card {
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(246,240,229,.78));
}
body[data-active-page="pilot"] .pilot-assigned-takeoffs-card {
  background: linear-gradient(145deg, rgba(255,250,244,.98), rgba(232,241,238,.78));
}
body[data-active-page="pilot"] .pilot-available-takeoffs-card {
  background: linear-gradient(145deg, rgba(232,241,238,.94), rgba(255,255,255,.94));
}
body[data-active-page="pilot"] .pilot-proposal-card {
  background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(246,240,229,.86));
}
body[data-active-page="pilot"] .pilot-portal-workspace > .card > .section-toolbar {
  margin-bottom: 1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid rgba(23,52,60,.1);
}
body[data-active-page="pilot"] .pilot-portal-workspace > .card > .section-toolbar .eyebrow {
  color: #c85f2b;
}
body[data-active-page="pilot"] .pilot-board-shell {
  border-top: 0 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 1rem 2rem rgba(23,52,60,.09) !important;
}
body[data-active-page="pilot"] .pilot-board-column:nth-child(1) { background: linear-gradient(180deg, rgba(255,248,239,.9), rgba(248,246,239,.74)); }
body[data-active-page="pilot"] .pilot-board-column:nth-child(2) { background: linear-gradient(180deg, rgba(250,244,225,.9), rgba(248,246,239,.74)); }
body[data-active-page="pilot"] .pilot-board-column:nth-child(3) { background: linear-gradient(180deg, rgba(238,245,243,.92), rgba(248,246,239,.74)); }
body[data-active-page="pilot"] .pilot-board-column:nth-child(4) { background: linear-gradient(180deg, rgba(235,243,246,.92), rgba(248,246,239,.74)); }
body[data-active-page="pilot"] .pilot-board-column:nth-child(5) { background: linear-gradient(180deg, rgba(235,246,238,.92), rgba(248,246,239,.74)); }
body[data-active-page="pilot"] .pilot-board-column:nth-child(6) { background: linear-gradient(180deg, rgba(246,239,231,.92), rgba(248,246,239,.74)); }
body[data-active-page="pilot"] .pilot-ledger-period-head { border-left-width: 3px; box-shadow: 0 .35rem .8rem rgba(23,52,60,.05); }

/* Pilot workspace redesign: use the available canvas for the club console,
   keep utility panels readable, and remove the generic decorative ornament. */
body[data-active-page="pilot"] .pilot-portal-workspace { grid-template-columns: minmax(0, 1fr); align-items: start; }
body[data-active-page="pilot"] #pilotClubWorkspace { grid-column: 1 / -1; width: 100%; }
body[data-active-page="pilot"] #pilotClubWorkspace > .portal-grid { grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr); align-items: start; gap: 1rem; }
body[data-active-page="pilot"] #pilotClubWorkspace > .portal-grid::before { display: none; }
body[data-active-page="pilot"] #pilotClubWorkspace > .portal-grid > .card { min-width: 0; align-self: start; }
body[data-active-page="pilot"] #pilotClubWorkspace > .portal-grid > .card:nth-child(2) { min-height: 0; }
body[data-active-page="pilot"] #pilotClubInvites { margin-top: .9rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-flight-journal { margin-top: 1rem; }
body[data-active-page="pilot"] #pilotPushCard { grid-column: 1; width: min(100%, 68rem); justify-self: start; }
body[data-active-page="pilot"] #pilotFlightMediaSection { background: linear-gradient(145deg, #fff, #f1f6f3); color: #17343c; }
body[data-active-page="pilot"] #pilotFlightMediaSection h3,
body[data-active-page="pilot"] #pilotFlightMediaSection .helper-copy,
body[data-active-page="pilot"] #pilotFlightMediaSection .field span { color: #17343c; }
body[data-active-page="pilot"] #pilotFlightMediaSection .media-dropzone { color: #17343c; background: rgba(232,241,238,.74); border-color: rgba(40,127,109,.28); }
body[data-active-page="pilot"] #pilotFlightMediaSection.portal-card-media { background: linear-gradient(145deg, #fff, #f1f6f3) !important; color: #17343c !important; }
body[data-active-page="pilot"] #pilotFlightMediaSection.portal-card-media .eyebrow,
body[data-active-page="pilot"] #pilotFlightMediaSection.portal-card-media h3,
body[data-active-page="pilot"] #pilotFlightMediaSection.portal-card-media h4,
body[data-active-page="pilot"] #pilotFlightMediaSection.portal-card-media strong { color: #17343c !important; }
body[data-active-page="pilot"] #pilotFlightMediaSection.portal-card-media .helper-copy,
body[data-active-page="pilot"] #pilotFlightMediaSection.portal-card-media p,
body[data-active-page="pilot"] #pilotFlightMediaSection.portal-card-media small { color: #64757b !important; }
body[data-active-page="pilot"] #pilotFlightMediaSection.portal-card-media input,
body[data-active-page="pilot"] #pilotFlightMediaSection.portal-card-media select,
body[data-active-page="pilot"] #pilotFlightMediaSection.portal-card-media textarea { color: #17343c !important; background: #fff !important; border-color: rgba(40,127,109,.24) !important; }
body[data-active-page="pilot"] #pilotFlightMediaSection.portal-card-media .button-secondary,
body[data-active-page="pilot"] #pilotFlightMediaSection.portal-card-media .button-ghost { color: #17343c !important; background: #fff !important; border-color: rgba(40,127,109,.24) !important; }
body[data-active-page="pilot"] #pilotFlightMediaSection.portal-card-media .status-pill.status-soft { color: #286d61 !important; background: #e8f1ee !important; }
body[data-active-page="pilot"] .pilot-inbox-available-grid { grid-column: 1; }

@media (max-width: 760px) {
  body[data-active-page="pilot"] #pilotClubWorkspace > .portal-grid { grid-template-columns: minmax(0, 1fr); }
  body[data-active-page="pilot"] #pilotPushCard { width: 100%; }
}

body[data-active-page="discover"] main.page {
  background: #f7f3ea;
}
body[data-active-page="discover"] #bookingJourney {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23,52,60,.1);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(232,241,238,.94), rgba(255,250,244,.98) 58%, rgba(241,226,202,.72));
  box-shadow: 0 1rem 2.6rem rgba(23,52,60,.08);
}
body[data-active-page="discover"] #bookingJourney .booking-journey-grid {
  gap: .7rem;
  background: transparent;
  border: 0;
}
body[data-active-page="discover"] #bookingJourney .booking-journey-grid article {
  min-height: 13rem;
  border: 1px solid rgba(23,52,60,.12);
  border-radius: .8rem;
  background: rgba(255,255,255,.76);
  box-shadow: 0 .55rem 1.2rem rgba(23,52,60,.06);
}
body[data-active-page="discover"] #experienceStory {
  overflow: hidden;
  border: 1px solid rgba(23,52,60,.1);
  border-radius: 1rem;
  box-shadow: 0 1rem 2.6rem rgba(23,52,60,.08);
}
body[data-active-page="discover"] #experienceStory .experience-story-copy {
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(232,241,238,.68));
}
body[data-active-page="discover"] #experienceStory .flight-lesson-section {
  margin-top: 2.5rem;
  padding: 1rem;
  border: 1px solid rgba(216,107,49,.2);
  border-radius: .9rem;
  background: linear-gradient(145deg, rgba(255,248,237,.7), rgba(255,255,255,.5));
}
body[data-active-page="discover"] #experienceStory .flight-faq-grid {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(23,52,60,.12);
}
body[data-active-page="discover"] #experienceStory .flight-faq-grid details {
  padding: 1rem .2rem;
  border-top: 1px solid rgba(23,52,60,.1);
}
body[data-active-page="discover"] #paraglidingNews,
body[data-active-page="discover"] #communityGallery {
  position: relative;
  border-top: 1px solid rgba(23,52,60,.1);
}
body[data-active-page="discover"] #paraglidingNews .news-card {
  border-radius: .65rem;
  box-shadow: 0 .6rem 1.3rem rgba(23,52,60,.06);
}
body[data-active-page="discover"] #paraglidingNews .news-card:hover { transform: translateY(-4px); }
body[data-active-page="discover"] #communityGallery {
  background: linear-gradient(180deg, #edf4f0, #f7f3ea);
}
@media (max-width: 760px) {
  body[data-active-page="discover"] #bookingJourney .booking-journey-grid { gap: .55rem; }
  body[data-active-page="discover"] #bookingJourney .booking-journey-grid article { min-height: 0; }
  body[data-active-page="pilot"] .pilot-portal-workspace { gap: .85rem; }
  body[data-active-page="pilot"] .pilot-portal-workspace > .card > .section-toolbar { margin-bottom: .75rem; }
}

/* Site-wide adventure system: Pilot is the reference language for every
   route. Full-width bands carry the atmosphere; readable inner surfaces keep
   forms, copy and operational data calm and easy to scan. */
body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="book"], [data-active-page="customer"], [data-active-page="pilot"], [data-active-page="ops"]) main.page {
  background:
    radial-gradient(circle at 92% 8%, rgba(216,107,49,.08), transparent 20rem),
    linear-gradient(180deg, #f7f3ea 0%, #edf4f0 52%, #f7f3ea 100%);
}

/* The homepage content bands now share the Pilot canvas and no longer stop at
   an arbitrary left-aligned 1280px edge. */
body[data-active-page="discover"] #bookingJourney,
body[data-active-page="discover"] #experienceStory,
body[data-active-page="discover"] #paraglidingNews,
body[data-active-page="discover"] #communityGallery {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: clamp(1rem, 4vw, 4rem);
  padding-right: clamp(1rem, 4vw, 4rem);
  box-sizing: border-box;
}
body[data-active-page="discover"] #bookingJourney > *,
body[data-active-page="discover"] #experienceStory > *,
body[data-active-page="discover"] #paraglidingNews > *,
body[data-active-page="discover"] #communityGallery > * {
  width: min(100%, var(--content-max));
  margin-left: auto;
  margin-right: auto;
}
body[data-active-page="discover"] #bookingJourney { padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); }
body[data-active-page="discover"] #experienceStory { padding-top: clamp(2rem, 4vw, 4rem); padding-bottom: clamp(2rem, 5vw, 5rem); }
body[data-active-page="discover"] #paraglidingNews,
body[data-active-page="discover"] #communityGallery { padding-top: clamp(2.5rem, 5vw, 5rem); padding-bottom: clamp(2.5rem, 5vw, 5rem); }
body[data-active-page="discover"] #paraglidingNews { background: linear-gradient(145deg, #edf4f0, #f7f3ea); }
body[data-active-page="discover"] #communityGallery { background: linear-gradient(180deg, #f7f3ea, #e7f1ed); }

/* Public destination and About surfaces inherit the same card language. */
body:is([data-active-page="explore"], [data-active-page="book"]) .explore-grid,
body:is([data-active-page="explore"], [data-active-page="book"]) .booking-grid,
body:is([data-active-page="explore"], [data-active-page="book"]) .nearby-grid,
body[data-active-page="about"] .about-page-shell {
  background: linear-gradient(145deg, rgba(255,250,244,.78), rgba(232,241,238,.66));
  border: 1px solid rgba(23,52,60,.1);
  border-radius: 1.15rem;
  box-shadow: 0 1rem 2.4rem rgba(23,52,60,.07);
}
body:is([data-active-page="explore"], [data-active-page="book"]) .controls-card,
body:is([data-active-page="explore"], [data-active-page="book"]) .catalog-column,
body:is([data-active-page="explore"], [data-active-page="book"]) .booking-card,
body:is([data-active-page="explore"], [data-active-page="book"]) .booking-policy-card,
body[data-active-page="about"] .about-value-card,
body[data-active-page="about"] .about-contact-card {
  border-color: rgba(31,123,103,.18);
  box-shadow: 0 .75rem 1.8rem rgba(23,52,60,.08);
}
body[data-active-page="about"] .about-value-card::before,
body[data-active-page="about"] .about-contact-card::before,
body:is([data-active-page="explore"], [data-active-page="book"]) .controls-card::before,
body:is([data-active-page="explore"], [data-active-page="book"]) .catalog-column::before {
  content: '';
  display: block;
  width: 4.5rem;
  height: .22rem;
  margin-bottom: .7rem;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, #d86b31, #efad62, transparent);
}

/* Ops gets the same warmth without losing its dense operational purpose. */
body[data-active-page="ops"] .ops-shell {
  background: linear-gradient(145deg, rgba(232,241,238,.9), rgba(255,250,244,.78));
  border: 1px solid rgba(23,52,60,.1);
  border-radius: 1.15rem;
  box-shadow: 0 1rem 2.4rem rgba(23,52,60,.08);
}

/* The shell is the page canvas, not another dashboard card. The context bar
   and operational surfaces below it carry the visual hierarchy themselves. */
body[data-active-page="ops"] main.page > .ops-shell {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding-top: clamp(1rem, 2vw, 1.75rem);
}
body[data-active-page="ops"] .ops-section-tabs {
  padding: .55rem;
  border: 1px solid rgba(216,107,49,.2);
  border-radius: .95rem;
  background: rgba(255,250,244,.72);
  box-shadow: 0 .5rem 1.25rem rgba(23,52,60,.06);
}
body[data-active-page="ops"] .ops-section-tabs a {
  border-radius: .7rem;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
body[data-active-page="ops"] .ops-section-tabs a:hover,
body[data-active-page="ops"] .ops-section-tabs a:focus-visible,
body[data-active-page="ops"] .ops-section-tabs a.is-active {
  background: #d86b31;
  color: #fff;
  transform: translateY(-1px);
}
body[data-active-page="ops"] .ops-tab-family { border-color: rgba(216,107,49,.18); }
body[data-active-page="ops"] .ops-tab-family-label { color: #6c5d50; }
body[data-active-page="ops"] .ops-section-tabs a:not(.is-active) .ops-tab-badge { background: rgba(216,107,49,.14); color: #8d4a25; }
body[data-active-page="ops"] #adminPanel > .card,
body[data-active-page="ops"] #adminPanel > section,
body[data-active-page="ops"] #adminPanel > .ops-header {
  position: relative;
  overflow: hidden;
  border-color: rgba(31,123,103,.16);
  border-radius: 1rem;
  box-shadow: 0 .7rem 1.6rem rgba(23,52,60,.07);
}
body[data-active-page="ops"] #adminPanel > .card::before,
body[data-active-page="ops"] #adminPanel > section::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: .2rem;
  background: linear-gradient(90deg, #d86b31, #efad62, #2d9f87, transparent);
  opacity: .72;
}
body[data-active-page="ops"] #adminPanel .section-toolbar {
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(23,52,60,.1);
}

/* Give the quieter portal routes the same surface rhythm as Pilot. */
body:is([data-active-page="customer"], [data-active-page="book"]) .portal-grid > .card,
body:is([data-active-page="customer"], [data-active-page="book"]) .booking-experience > .card {
  border-color: rgba(31,123,103,.16);
  border-radius: 1rem;
  box-shadow: 0 .75rem 1.7rem rgba(23,52,60,.07);
}

/* Current design pass: the gift/booking route gets a deliberate full-width
   working canvas, while dense Ops editors receive different widths according
   to their job. Card-heavy takeoff editing needs room; pilot details should
   remain readable and compact. */
body.booking-focus main.page {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}
body.booking-focus .booking-intro-heading {
  width: min(calc(100% - 2rem), 72rem);
  max-width: 72rem;
  margin-inline: auto;
}
body.booking-focus #bookingSection {
  width: min(calc(100% - 2rem), 72rem) !important;
  max-width: 72rem;
  margin: 0 auto clamp(2rem, 5vw, 4rem);
  padding: clamp(1rem, 2vw, 2rem);
  box-sizing: border-box;
  border: 1px solid rgba(31,123,103,.18);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(216,107,49,.13), transparent 22rem),
    linear-gradient(145deg, rgba(232,241,238,.92), rgba(255,250,244,.9));
  box-shadow: 0 1.4rem 3rem rgba(23,52,60,.1);
}
body.booking-focus #bookingSection #bookingWizardCard {
  width: min(100%, 68rem);
  margin-inline: auto;
  border-color: rgba(31,123,103,.22);
  box-shadow: 0 .9rem 2rem rgba(23,52,60,.1), 0 .2rem 0 rgba(216,107,49,.72);
}

body[data-active-page="ops"] #launchEditorSection {
  margin-inline: auto;
  padding: clamp(1rem, 2vw, 1.5rem);
  box-sizing: border-box;
  background:
    radial-gradient(circle at 100% 0%, rgba(216,107,49,.1), transparent 24rem),
    linear-gradient(145deg, rgba(232,241,238,.92), rgba(255,250,244,.88));
  border-color: rgba(31,123,103,.22);
  box-shadow: 0 1.2rem 2.8rem rgba(23,52,60,.1);
}
body[data-active-page="ops"] #launchEditorSection #takeoffAdminForm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
body[data-active-page="ops"] #launchEditorSection #takeoffAdminForm > .takeoff-editor-group {
  margin: 0;
}
body[data-active-page="ops"] #launchEditorSection #takeoffAdminForm > .takeoff-editor-group-copy,
body[data-active-page="ops"] #launchEditorSection #takeoffAdminForm > .takeoff-editor-group-assignments,
body[data-active-page="ops"] #launchEditorSection #takeoffAdminForm > .takeoff-editor-group-tracklog,
body[data-active-page="ops"] #launchEditorSection #takeoffAdminForm > .takeoff-ai-panel,
body[data-active-page="ops"] #launchEditorSection #takeoffAdminForm > .inline-feedback,
body[data-active-page="ops"] #launchEditorSection #takeoffAdminForm > .inline-actions {
  grid-column: 1 / -1;
}
body[data-active-page="ops"] #pilotManagementSection {
  margin-inline: auto;
  background: linear-gradient(145deg, rgba(255,250,244,.96), rgba(232,241,238,.88));
}
body[data-active-page="ops"] #pilotManagementSection #pilotAdminFilters {
  grid-template-columns: minmax(12rem, 1.45fr) repeat(4, minmax(8rem, 1fr));
  gap: .6rem;
  padding: .9rem;
  border: 1px solid rgba(31,123,103,.16);
  border-radius: .9rem;
  background: rgba(232,241,238,.55);
}
body[data-active-page="ops"] #pilotManagementSection .pilot-admin-shell {
  margin-inline: auto;
  padding: .85rem;
  border: 1px solid rgba(216,107,49,.18);
  border-radius: 1rem;
  background: rgba(255,250,244,.7);
}
body[data-active-page="ops"] #pilotManagementSection .pilot-admin-editor {
  margin: .85rem auto 0;
  padding: .2rem;
}
body[data-active-page="ops"] #pilotManagementSection .pilot-editor-section {
  padding: clamp(.8rem, 1.5vw, 1.15rem);
}
@media (max-width: 760px) {
  body.booking-focus #bookingSection,
  body[data-active-page="ops"] #launchEditorSection,
  body[data-active-page="ops"] #pilotManagementSection {
    width: calc(100% - 1rem);
    padding: .75rem;
    border-radius: 1rem;
  }
  body[data-active-page="ops"] #launchEditorSection #takeoffAdminForm,
  body[data-active-page="ops"] #pilotManagementSection #pilotAdminFilters {
    grid-template-columns: 1fr;
  }
  body[data-active-page="ops"] #pilotManagementSection .pilot-admin-shell {
    padding: .55rem;
  }
}

@media (max-width: 760px) {
  body[data-active-page="ops"] .ops-section-tabs { border-radius: .75rem; }
  body[data-active-page="ops"] .ops-section-tabs a { padding: .48rem .65rem; }
  body:is([data-active-page="explore"], [data-active-page="book"]) .explore-grid,
  body:is([data-active-page="explore"], [data-active-page="book"]) .booking-grid,
  body:is([data-active-page="explore"], [data-active-page="book"]) .nearby-grid,
  body[data-active-page="about"] .about-page-shell,
body[data-active-page="ops"] .ops-shell { border-radius: .85rem; }
}

/* Canonical Ops canvas: every primary surface shares one outer frame. Inner
   editors may still constrain text for readability, but the section shells
   no longer drift between historical 78rem/90rem/nested-layout widths. */
body[data-active-page="ops"] #adminPanel > #pilotManagementSection,
body[data-active-page="ops"] #adminPanel > #pilotRequestsHub,
body[data-active-page="ops"] #adminPanel > #launchEditorSection,
body[data-active-page="ops"] #adminPanel > #adminFlightMediaSection,
body[data-active-page="ops"] #adminPanel > .ops-layout,
body[data-active-page="ops"] #adminPanel > .ops-primary-workspace,
body[data-active-page="ops"] #adminPanel > #adminBookedCard {
  width: min(calc(100% - 2rem), 110rem);
  max-width: 110rem;
  margin-inline: auto;
  box-sizing: border-box;
}
body[data-active-page="ops"] #adminPanel > .ops-layout {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}
body[data-active-page="ops"] #adminPanel > .ops-layout > #settingsSection {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  box-sizing: border-box;
}
body[data-active-page="ops"] #settingsSection .ops-settings-track,
body[data-active-page="ops"] #settingsSection .ops-settings-access-panel,
body[data-active-page="ops"] #settingsSection .settings-group { width: 100%; max-width: none; box-sizing: border-box; }
body[data-active-page="ops"] #pilotManagementSection .pilot-admin-shell,
body[data-active-page="ops"] #pilotManagementSection .pilot-admin-editor { max-width: none; }
@media (max-width: 760px) {
  body[data-active-page="ops"] #adminPanel > #pilotManagementSection,
  body[data-active-page="ops"] #adminPanel > #pilotRequestsHub,
  body[data-active-page="ops"] #adminPanel > #launchEditorSection,
  body[data-active-page="ops"] #adminPanel > #adminFlightMediaSection,
  body[data-active-page="ops"] #adminPanel > .ops-layout,
  body[data-active-page="ops"] #adminPanel > .ops-primary-workspace,
  body[data-active-page="ops"] #adminPanel > #adminBookedCard { width: calc(100% - 1rem); }
}

/* The family rail is navigation chrome, not a full-width dashboard band. Keep
   it aligned with ordinary Ops sections; the Operativni centar remains the
   intentionally wider primary work surface below it. */
body[data-active-page="ops"] #adminPanel > .ops-section-tabs,
body[data-active-page="ops"] #adminPanel > #adminFlightMediaSection {
  width: min(calc(100% - 2rem), 110rem);
  max-width: 110rem;
  margin-inline: auto;
  box-sizing: border-box;
}

/* Final Ops cleanup: the page has one context bar, one navigation rail and
   full-width work surfaces. The former action-center/notification side deck
   is gone; the delivery log is a normal section that expands in document
   flow, never as a fixed overlay. */
body[data-active-page="ops"] #adminPanel > .ops-header {
  width: min(calc(100% - 2rem), 110rem);
  max-width: 110rem;
  margin: 0 auto .75rem;
  padding: .35rem 0 .8rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(23,52,60,.14);
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
body[data-active-page="ops"] #adminPanel > .ops-header::before { display: none; }
body[data-active-page="ops"] .ops-primary-workspace {
  width: min(calc(100% - 2rem), 110rem);
  max-width: 110rem;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
body[data-active-page="ops"] .ops-primary-workspace > .ops-notifications-surface,
body[data-active-page="ops"] .ops-primary-workspace > #adminBookedCard,
body[data-active-page="ops"] .ops-primary-workspace > .admin-activity-panel {
  grid-column: 1;
  grid-row: auto;
  width: 100%;
  min-width: 0;
}
body[data-active-page="ops"] .ops-notifications-surface {
  position: relative;
  overflow: visible;
  width: 100%;
  padding: 1.1rem 1.25rem;
  box-sizing: border-box;
  border: 1px solid rgba(45,159,135,.22);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(232,241,238,.94), rgba(255,250,244,.9));
  box-shadow: 0 .7rem 1.6rem rgba(23,52,60,.07);
}
body[data-active-page="ops"] .ops-notifications-surface::before { display: none; }
body[data-active-page="ops"] .ops-notifications-surface .admin-notifications-panel {
  position: static;
  width: 100%;
  height: auto;
  max-height: none;
  margin: .85rem 0 0;
  padding: .8rem 0 0;
  overflow: visible;
  box-sizing: border-box;
  border: 0;
  border-top: 1px solid rgba(45,159,135,.2);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
body[data-active-page="ops"] .ops-notifications-surface .admin-notifications-list-mini { max-height: none; }
body[data-active-page="ops"] .ops-notifications-surface .notification-row-mini { position: relative; top: auto; z-index: auto; }
body[data-active-page="ops"] #adminPanel > #takeoffTrackLogCreateSection,
body[data-active-page="ops"] #adminPanel > #adminUsersSection,
body[data-active-page="ops"] #adminPanel > #adminMfaSection,
body[data-active-page="ops"] #adminPanel > #adminFlightMediaSection,
body[data-active-page="ops"] #adminPanel > #launchEditorSection,
body[data-active-page="ops"] #adminPanel > #pilotManagementSection,
body[data-active-page="ops"] #adminPanel > #pilotRequestsHub,
body[data-active-page="ops"] #adminPanel > .ops-layout,
body[data-active-page="ops"] #adminPanel > #adminBookedCard,
body[data-active-page="ops"] #adminPanel > .ops-primary-workspace {
  width: min(calc(100% - 2rem), 110rem);
  max-width: 110rem;
  margin-inline: auto;
  box-sizing: border-box;
}
.admin-mfa-qr-wrap {
  display: grid;
  place-items: center;
  width: fit-content;
  padding: .8rem;
  margin: .75rem 0 1rem;
  background: #fff;
  border: 1px solid rgba(18, 48, 61, .16);
  border-radius: .75rem;
}
.admin-mfa-qr {
  display: block;
  width: 256px;
  height: 256px;
  image-rendering: pixelated;
}
@media (max-width: 760px) {
  body[data-active-page="ops"] #adminPanel > .ops-header,
  body[data-active-page="ops"] #adminPanel > #takeoffTrackLogCreateSection,
  body[data-active-page="ops"] #adminPanel > #adminUsersSection,
  body[data-active-page="ops"] #adminPanel > #adminMfaSection,
  body[data-active-page="ops"] #adminPanel > #adminFlightMediaSection,
  body[data-active-page="ops"] #adminPanel > #launchEditorSection,
  body[data-active-page="ops"] #adminPanel > #pilotManagementSection,
  body[data-active-page="ops"] #adminPanel > #pilotRequestsHub,
  body[data-active-page="ops"] #adminPanel > .ops-layout,
  body[data-active-page="ops"] #adminPanel > #adminBookedCard,
  body[data-active-page="ops"] #adminPanel > .ops-primary-workspace { width: calc(100% - 1rem); }
  body[data-active-page="ops"] .ops-notifications-surface { padding: .9rem; }
}
@media (max-width: 760px) {
  body[data-active-page="ops"] #adminPanel > .ops-section-tabs,
  body[data-active-page="ops"] #adminPanel > #adminFlightMediaSection { width: calc(100% - 1rem); }
}

/* Stable route-hero geometry mirrors the critical pre-hydration contract. */
[data-page="customer"].route-intro,
[data-page="pilot"].route-intro,
[data-page="ops"].route-intro { position: relative; display: block; grid-template-columns: none; }
[data-page="customer"].route-intro .route-intro-image,
[data-page="pilot"].route-intro .route-intro-image,
[data-page="ops"].route-intro .route-intro-image { position: absolute; inset: 0; }
body[data-active-page="customer"] .route-intro {
  position: relative;
  display: block;
  width: 100vw;
  max-width: none;
  min-height: clamp(39rem, 72vh, 54rem);
  margin: 0 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}
body[data-active-page="customer"] .route-intro-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  min-height: 100%;
  background-position: center;
}
body[data-active-page="customer"] .route-intro-image::after {
  background: linear-gradient(90deg, rgba(8,25,30,.82) 0%, rgba(8,25,30,.46) 44%, rgba(8,25,30,.08) 82%), linear-gradient(0deg, rgba(8,25,30,.48), transparent 62%);
}
body[data-active-page="customer"] .route-intro-copy {
  position: relative;
  z-index: 1;
  justify-content: flex-end;
  width: 100%;
  min-height: clamp(39rem, 72vh, 54rem);
  margin: 0;
  padding: clamp(10rem, 16vw, 13rem) clamp(1.25rem, 6vw, 6rem) clamp(3.5rem, 8vw, 7rem);
  background: transparent !important;
  color: #fff !important;
}
body[data-active-page="customer"] .route-intro-copy h1 { color: #fff !important; }
body[data-active-page="customer"] .route-intro-copy p:not(.eyebrow) { color: rgba(255,255,255,.84) !important; }
body[data-active-page="customer"] .route-intro-copy .eyebrow { color: #8ad6c6 !important; }

/* One final route-hero contract. Earlier route-specific blocks were removed so
   refreshes cannot switch between the old grid and the image-led composition. */
body:is([data-active-page="pilot"], [data-active-page="ops"]) .route-intro {
  position: relative;
  display: block;
  width: 100vw;
  max-width: none;
  min-height: clamp(39rem, 72vh, 54rem);
  margin: 0 0 clamp(3rem, 6vw, 5rem) calc(50% - 50vw);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-xl);
  box-shadow: var(--editorial-shadow);
  overflow: hidden;
  isolation: isolate;
  background: #17343c;
}
body:is([data-active-page="pilot"], [data-active-page="ops"]) .route-intro-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
  background-position: center;
}
body[data-active-page="customer"] .route-intro { background: #17343c; }
body[data-active-page="customer"] .route-intro-image { z-index: 0; }
body[data-active-page="customer"] .route-intro-image {
  background-image: linear-gradient(90deg, rgba(22,53,63,.44), rgba(22,53,63,0) 70%), url('/assets/customer-portal-hero-editorial-v1.webp');
}
body[data-active-page="pilot"] .route-intro-image {
  background-image: linear-gradient(90deg, rgba(22,53,63,.28), rgba(22,53,63,0) 68%), url('/assets/pilot-portal-hero-editorial-v3.png');
}
body[data-active-page="ops"] .route-intro-image {
  background-image: linear-gradient(90deg, rgba(22,53,63,.3), rgba(22,53,63,0) 68%), url('/assets/route-paragliding-hero-v1.webp');
}
body:is([data-active-page="customer"], [data-active-page="pilot"]) .route-intro-image { opacity: 0; }
body:is([data-active-page="customer"], [data-active-page="pilot"]) .route-intro-image[data-hero-ready="true"] { opacity: 1 !important; }
body[data-active-page="ops"] .route-intro-image { opacity: 1 !important; }
body[data-active-page="pilot"]:not([data-session-ready="true"]) .route-intro-image {
  visibility: visible !important;
  opacity: 1 !important;
  background-image: linear-gradient(90deg, rgba(22,53,63,.3), rgba(22,53,63,0) 68%), url('/assets/route-paragliding-hero-v1.webp') !important;
}
body:is([data-active-page="pilot"], [data-active-page="ops"]) .route-intro-image::after {
  background: linear-gradient(90deg, rgba(8,25,30,.86) 0%, rgba(8,25,30,.5) 42%, rgba(8,25,30,.08) 82%), linear-gradient(0deg, rgba(8,25,30,.5), transparent 58%);
}
body:is([data-active-page="pilot"], [data-active-page="ops"]) .route-intro-copy {
  position: relative;
  z-index: 1;
  justify-content: flex-end;
  width: 100%;
  min-height: clamp(39rem, 72vh, 54rem);
  margin: 0;
  padding: clamp(10rem, 16vw, 13rem) clamp(1.25rem, 6vw, 6rem) clamp(3.5rem, 8vw, 7rem);
  background: transparent !important;
  color: #fff !important;
}
body:is([data-active-page="pilot"], [data-active-page="ops"]) .route-intro-copy h1 {
  max-width: 9ch;
  margin-bottom: 1.15rem;
  font-size: clamp(3.5rem, 7.4vw, 7rem);
  line-height: .88;
  letter-spacing: -.06em;
  color: #fff !important;
  text-wrap: balance;
}
body:is([data-active-page="pilot"], [data-active-page="ops"]) .route-intro-copy p:not(.eyebrow) {
  max-width: 38ch;
  color: rgba(255,255,255,.86) !important;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
}
body:is([data-active-page="pilot"], [data-active-page="ops"]) .route-intro-copy .eyebrow { color: #9de0d1 !important; }
@media (max-width: 760px) {
  body:is([data-active-page="pilot"], [data-active-page="ops"]) .route-intro {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    min-height: clamp(36rem, 88svh, 48rem);
  }
  body:is([data-active-page="pilot"], [data-active-page="ops"]) .route-intro-copy {
    min-height: clamp(36rem, 88svh, 48rem);
    padding: 10rem 1.25rem 3rem;
  }
  body:is([data-active-page="pilot"], [data-active-page="ops"]) .route-intro-copy h1 { max-width: 8ch; font-size: clamp(3.25rem, 15vw, 5.5rem); }
}
/* Tok 1 Phase 1 — customer profile and consent preferences */
.customer-preferences-card .checkbox-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid rgba(23, 51, 58, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
}
.customer-preferences-card .checkbox-row input {
  margin-top: 4px;
  accent-color: #177b70;
}
.customer-preferences-card .checkbox-row span {
  display: grid;
  gap: 4px;
}
.customer-preferences-card .checkbox-row small {
  color: #5b6b70;
  line-height: 1.45;
}
.customer-consent-history {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(23, 51, 58, .12);
}
.customer-profile-detail {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(23, 51, 58, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
}
.customer-profile-row {
  align-items: center;
}
.customer-offer-relevance {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(23, 51, 58, .12);
}
.customer-relevance-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(23, 51, 58, .08);
}
.customer-relevance-row:last-child { border-bottom: 0; }
.customer-relevance-row small { color: #5b6b70; text-align: right; }
.customer-offer-drafts {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(23, 51, 58, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
}
.customer-offer-draft-list { display: grid; gap: 10px; margin-top: 16px; }
.customer-offer-draft-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(23, 51, 58, .08);
}
.customer-offer-draft-row > div:first-child { min-width: 0; }
.customer-offer-draft-row small { color: #5b6b70; }
.customer-offer-outcomes-card {
  border-color: rgba(23, 123, 112, .2);
  align-self: start;
}
.customer-offer-outcomes-list { display: grid; grid-auto-rows: max-content; align-content: start; gap: 12px; margin-top: 16px; }
.customer-offer-outcome-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  align-self: start;
  align-content: start;
  justify-content: start;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(23, 51, 58, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
}
.customer-offer-outcome-row > div:first-child { min-width: 0; }
.customer-offer-outcome-row h3 { margin: 4px 0 6px; }
.customer-offer-outcome-row small { color: #5b6b70; }
.customer-offer-booking-panel,
.customer-offer-booking-success {
  grid-column: 1 / -1;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(30, 102, 113, .18);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(229, 247, 242, .78), rgba(248, 252, 250, .96));
}
.customer-offer-booking-panel > div:first-child { margin-bottom: .8rem; }
.customer-offer-booking-panel .stacked-form { margin-top: .75rem; }
.customer-offer-booking-success { border-color: rgba(42, 131, 92, .28); }
.customer-booking-lifecycle {
  display: grid;
  gap: .75rem;
  margin: .9rem 0;
  padding: .9rem 1rem;
  border: 1px solid rgba(23, 51, 58, .12);
  border-radius: 14px;
  background: rgba(248, 252, 250, .84);
}
.customer-booking-lifecycle-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.customer-booking-lifecycle-header strong { display: block; margin-top: .2rem; }
.customer-booking-lifecycle-header .status-pill { flex: 0 0 auto; }
.customer-booking-lifecycle-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  margin: 0;
}
.customer-booking-lifecycle-steps > span,
.customer-booking-lifecycle-step > span {
  min-height: 2.35rem;
  padding: .45rem .55rem;
  border: 1px solid rgba(23, 51, 58, .1);
  border-radius: 10px;
  color: #6b777a;
  font-size: .72rem;
  line-height: 1.25;
  background: rgba(255, 255, 255, .68);
}
.customer-booking-lifecycle-steps > span.is-complete,
.customer-booking-lifecycle-steps > span.is-current,
.customer-booking-lifecycle-step > span.is-complete,
.customer-booking-lifecycle-step > span.is-current {
  border-color: rgba(23, 123, 112, .28);
  color: #155d58;
  background: rgba(229, 247, 242, .9);
}
.customer-booking-lifecycle-steps > span.is-current,
.customer-booking-lifecycle-step > span.is-current { font-weight: 700; }
.customer-booking-lifecycle-step {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: .48rem;
}
.customer-booking-phase-notifications {
  display: grid;
  min-width: 0;
  width: min(100%, 780px);
  box-sizing: border-box;
  gap: .42rem;
  margin-top: .05rem;
  padding: .5rem;
  border: 1px solid rgba(216, 107, 49, .2);
  border-radius: .58rem;
  background: linear-gradient(145deg, rgba(255, 250, 242, .96), rgba(240, 247, 243, .9));
}
.customer-booking-phase-notifications-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .45rem;
  min-width: 0;
}
.customer-booking-phase-notifications-heading .eyebrow { margin: 0; color: #b4582a; font-size: .55rem; }
.customer-booking-phase-notifications-heading strong { min-width: 0; color: #17333a; font-size: .66rem; }
.customer-booking-phase-notifications .customer-notifications-list { gap: .4rem; }
.customer-booking-phase-notifications .notification-actions--all { justify-content: flex-start; }
.customer-booking-phase-notifications .notification-row {
  grid-template-columns: 1.35rem minmax(0, 1fr);
  gap: .48rem;
  padding: .5rem;
}
.customer-booking-phase-notifications .notification-row-mark { width: 1.35rem; height: 1.35rem; font-size: .68rem; }
.customer-booking-phase-notifications .notification-row-content > header { align-items: flex-start; gap: .35rem; }
.customer-booking-phase-notifications .notification-row-content > header > .status-pill { max-width: 100%; }
.customer-booking-phase-notifications .notification-row-body p { line-height: 1.35; }
.customer-booking-phase-notifications .notification-row-footer { padding-top: .35rem; }
.customer-booking-lifecycle .helper-copy { margin: 0; }
.customer-offer-booking-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .45rem .75rem;
  width: min(100%, 34rem);
  margin-top: .7rem;
  padding: .7rem .8rem;
  border: 1px solid rgba(23, 51, 58, .12);
  border-radius: 12px;
  background: rgba(248, 252, 250, .84);
}
.customer-offer-booking-status > div:first-child { min-width: 0; }
.customer-offer-booking-status strong,
.customer-offer-booking-status small { display: block; }
.customer-offer-booking-status small { margin-top: .2rem; color: #5b6b70; line-height: 1.35; }
.customer-offer-booking-status .inline-actions { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .customer-offer-outcome-row { grid-template-columns: 1fr; }
  .customer-offer-outcome-row .inline-actions { width: 100%; }
  .customer-offer-outcome-row .tiny-button { flex: 1 1 auto; }
  .customer-offer-booking-panel { width: 100%; padding: .85rem; }
  .customer-offer-booking-panel .field-grid { grid-template-columns: 1fr; }
  .customer-booking-lifecycle-header { flex-direction: column; gap: .55rem; }
  .customer-booking-lifecycle-header .status-pill { justify-self: start; }
  .customer-booking-lifecycle-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .customer-offer-booking-status { grid-template-columns: 1fr; width: 100%; }
  .customer-offer-booking-status .status-pill { justify-self: start; }
  .customer-offer-booking-status .inline-actions { display: grid; grid-template-columns: 1fr; }
  .customer-offer-booking-status .inline-actions .tiny-button { width: 100%; }
}
@media (max-width: 760px) {
  .customer-offer-draft-row { align-items: flex-start; flex-direction: column; }
  .customer-offer-draft-row .inline-actions { width: 100%; }
  .customer-offer-draft-row .inline-actions .button { flex: 1 1 auto; }
}
.media-platform-picker { display: inline-grid; gap: 3px; min-width: 9rem; font-size: .72rem; color: #52686c; }
.media-platform-picker select { min-height: 2.35rem; padding: .35rem .5rem; border: 1px solid rgba(23,51,58,.18); border-radius: 8px; background: #fff; color: #17333a; }
.media-post-drafts {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(23, 51, 58, .12);
}
.media-post-draft-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(23, 51, 58, .08);
}
.media-post-draft-row span { color: #5b6b70; }
.customer-media-drafts {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(23, 51, 58, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
}
.customer-media-draft-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(23, 51, 58, .08);
}
.customer-media-draft-preview { width: 112px; height: 84px; flex: 0 0 112px; object-fit: cover; border-radius: 10px; background: #dfe9e6; }
@media (max-width: 760px) {
  .customer-media-draft-row { align-items: flex-start; flex-wrap: wrap; }
  .customer-media-draft-preview { width: 100%; height: 180px; flex-basis: 100%; }
  .customer-media-draft-row .booking-row-actions,
  .customer-media-draft-row .inline-actions { width: 100%; }
}

/* Final narrow-screen guard: unauthenticated Pilot/Ops entry cards must stack.
   Keep this after route-specific desktop overrides so the mobile contract wins. */

.analytics-consent-banner { position: fixed; z-index: 50; left: 1rem; right: 1rem; bottom: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid rgba(23,51,58,.18); border-radius: 16px; background: rgba(255,255,255,.97); box-shadow: 0 16px 45px rgba(23,51,58,.2); }
.analytics-consent-banner p { margin: .25rem 0 0; max-width: 52rem; font-size: .9rem; }
.admin-analytics-section { margin-bottom: 1.25rem; }
.admin-analytics-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin: 1rem 0; }
.admin-analytics-summary .analytics-stat { padding: .9rem; border: 1px solid rgba(23,51,58,.12); border-radius: 12px; background: rgba(255,255,255,.65); }
.analytics-stat strong { display: block; font-size: 1.6rem; }
.analytics-stat small { color: #5b6b70; }
.admin-analytics-funnel { display: grid; gap: .5rem; }
.analytics-funnel-row { display: grid; grid-template-columns: minmax(11rem, 1.5fr) 4rem 5rem minmax(8rem, 1fr); align-items: center; gap: .7rem; }
  .analytics-funnel-bar { display: block; width: 100%; height: .55rem; overflow: hidden; border: 0; border-radius: 99px; background: rgba(23,51,58,.1); accent-color: #d86b31; }
  .analytics-funnel-bar::-webkit-progress-bar { border-radius: 99px; background: rgba(23,51,58,.1); }
  .analytics-funnel-bar::-webkit-progress-value { border-radius: 99px; background: #d86b31; }
  .analytics-funnel-bar::-moz-progress-bar { border-radius: 99px; background: #d86b31; }
.admin-analytics-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.25rem; }
.analytics-list-row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid rgba(23,51,58,.08); }
@media (max-width: 760px) { .analytics-consent-banner { flex-direction: column; align-items: stretch; } .admin-analytics-summary, .admin-analytics-columns { grid-template-columns: 1fr 1fr; } .analytics-funnel-row { grid-template-columns: 1fr 3rem; } .analytics-funnel-row .analytics-funnel-bar, .analytics-funnel-row small { grid-column: 1 / -1; } }
  .club-flight-chart { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; gap: .35rem; min-height: 8rem; }
  .club-flight-chart-column { display: grid; grid-template-rows: 1fr auto; gap: .35rem; min-width: 0; height: 8rem; align-items: end; text-align: center; }
  .club-flight-chart-column progress { width: 100%; min-height: 1.25rem; height: 100%; align-self: end; writing-mode: vertical-lr; transform: rotate(180deg); accent-color: #2c7e70; }
  .club-flight-chart-column progress::-webkit-progress-bar { border-radius: .35rem; background: rgba(23,51,58,.1); }
  .club-flight-chart-column progress::-webkit-progress-value { border-radius: .35rem; background: #2c7e70; }
  .club-flight-chart-column progress::-moz-progress-bar { border-radius: .35rem; background: #2c7e70; }
@media (max-width: 760px) {
  .pilot-portal-grid { grid-template-columns: 1fr !important; }
  .pilot-portal-grid > #pilotAuthCard,
  .pilot-portal-grid > #adminAuthCard { grid-column: 1 !important; }
}

/* Owner visual fix: booking focus must remain a centred reading canvas even
   when the shared route shell is wider than the form. Header copy switches
   against the actual selected-image luminance, with a light-surface fallback
   for the image-free booking focus view. */
body.booking-focus main.page {
  width: 100%;
  max-width: none;
  padding-inline: 0;
  align-items: stretch;
}

body.booking-focus #bookingSection {
  align-self: center;
  width: min(calc(100% - 2rem), var(--content-max)) !important;
  max-width: var(--content-max) !important;
  margin-inline: auto !important;
  box-sizing: border-box;
}

body.booking-focus #bookingSection #bookingWizardCard {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.public-hero-shell[data-header-contrast="dark"] .topbar {
  background: linear-gradient(180deg, rgba(248,244,233,.98), rgba(248,244,233,.9) 72%, rgba(248,244,233,.72)) !important;
  border-bottom: 1px solid rgba(23,49,61,.12) !important;
  box-shadow: 0 8px 22px rgba(23,49,61,.08) !important;
}

.public-hero-shell[data-header-contrast="dark"] .brand,
.public-hero-shell[data-header-contrast="dark"] .brand-name,
.public-hero-shell[data-header-contrast="dark"] .brand .eyebrow,
.public-hero-shell[data-header-contrast="dark"] .brand-copy,
.public-hero-shell[data-header-contrast="dark"] .nav-link {
  color: #17313d !important;
  text-shadow: none !important;
}

.public-hero-shell[data-header-contrast="dark"] .nav-link.is-active {
  color: #0077be !important;
}

.public-hero-shell[data-header-contrast="light"] .topbar {
  background: linear-gradient(180deg, rgba(9,25,32,.78), rgba(9,25,32,.2) 72%, transparent) !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

.public-hero-shell[data-header-contrast="light"] .brand,
.public-hero-shell[data-header-contrast="light"] .brand-name,
.public-hero-shell[data-header-contrast="light"] .brand .eyebrow,
.public-hero-shell[data-header-contrast="light"] .brand-copy,
.public-hero-shell[data-header-contrast="light"] .nav-link {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.35) !important;
}

@media (max-width: 760px) {
  body.booking-focus #bookingSection {
    width: calc(100% - 1rem) !important;
  }
}

/* Route selectors above intentionally preserve the existing hero cascade;
   these final selectors win only for the measured contrast state. */
body[data-active-page="explore"] .public-hero-shell[data-header-contrast="dark"] .brand,
body[data-active-page="explore"] .public-hero-shell[data-header-contrast="dark"] .brand-name,
body[data-active-page="explore"] .public-hero-shell[data-header-contrast="dark"] .brand .eyebrow,
body[data-active-page="explore"] .public-hero-shell[data-header-contrast="dark"] .brand-copy,
body[data-active-page="explore"] .public-hero-shell[data-header-contrast="dark"] .nav-link,
body.booking-focus .public-hero-shell[data-header-contrast="dark"] .brand,
body.booking-focus .public-hero-shell[data-header-contrast="dark"] .brand-name,
body.booking-focus .public-hero-shell[data-header-contrast="dark"] .brand .eyebrow,
body.booking-focus .public-hero-shell[data-header-contrast="dark"] .brand-copy,
body.booking-focus .public-hero-shell[data-header-contrast="dark"] .nav-link {
  color: #17313d !important;
  text-shadow: none !important;
}

body[data-active-page="explore"] .public-hero-shell[data-header-contrast="dark"] .nav-link.is-active,
body.booking-focus .public-hero-shell[data-header-contrast="dark"] .nav-link.is-active {
  color: #0077be !important;
}

.voucher-purchase-page,
.voucher-purchase-recipient-page {
  min-height: 100vh;
  padding: clamp(24px, 5vw, 68px) clamp(16px, 4vw, 52px) 72px;
  color: #17333a;
  background: radial-gradient(circle at 12% 0%, rgba(238, 247, 242, .96), transparent 42%), #f8faf7;
}
.voucher-purchase-header { max-width: 1180px; margin: 0 auto 30px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.voucher-purchase-layout { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: 30px; align-items: start; }
.voucher-purchase-intro { padding: clamp(10px, 3vw, 48px) 0; }
.voucher-purchase-intro h1 { max-width: 10ch; margin: .3rem 0 1.1rem; font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 6.7rem); line-height: .9; letter-spacing: -.055em; }
.voucher-purchase-intro > p:not(.eyebrow) { max-width: 58ch; color: #52686c; font-size: 1.06rem; line-height: 1.7; }
.voucher-purchase-steps { display: grid; gap: 10px; margin-top: 34px; max-width: 620px; }
.voucher-purchase-steps > div { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 2px 12px; padding: 14px 0; border-top: 1px solid rgba(23, 51, 58, .13); }
.voucher-purchase-steps b { grid-row: 1 / span 2; color: #b67a2a; }
.voucher-purchase-steps strong { font-size: 1rem; }
.voucher-purchase-steps span { color: #6b7b7d; font-size: .9rem; line-height: 1.45; }
.voucher-purchase-card, .voucher-purchase-recipient-page .voucher-recipient-panel { padding: clamp(24px, 4vw, 44px); border: 1px solid rgba(23, 51, 58, .13); border-radius: 28px; background: rgba(255,255,255,.9); box-shadow: 0 24px 70px rgba(23,51,58,.12); }
.voucher-purchase-card h2 { margin: .3rem 0 1.3rem; font-family: Georgia, serif; font-size: clamp(1.8rem, 4vw, 3rem); }
.voucher-purchase-form { display: grid; gap: 18px; }
.voucher-purchase-form[hidden] { display: none; }
.voucher-purchase-form fieldset, .voucher-purchase-recipient-page fieldset { display: grid; gap: 13px; margin: 0; padding: 16px; border: 1px solid rgba(23,51,58,.12); border-radius: 16px; }
.voucher-purchase-form legend, .voucher-purchase-recipient-page legend { padding: 0 6px; color: #52686c; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.voucher-purchase-form label, .voucher-purchase-recipient-page label { display: grid; gap: 7px; color: #294b50; font-size: .92rem; font-weight: 750; }
.voucher-purchase-form label small, .voucher-purchase-recipient-page label small { color: #6b7b7d; font-weight: 500; line-height: 1.4; }
.voucher-purchase-form input, .voucher-purchase-form select, .voucher-purchase-form textarea, .voucher-purchase-recipient-page input { width: 100%; box-sizing: border-box; border: 1px solid #cbd9d5; border-radius: 13px; padding: 13px 14px; color: #17333a; background: #fff; font: inherit; }
.voucher-purchase-form input:focus, .voucher-purchase-form select:focus, .voucher-purchase-form textarea:focus, .voucher-purchase-recipient-page input:focus { outline: 3px solid rgba(182,122,42,.18); border-color: #b67a2a; }
.voucher-purchase-success { display: grid; gap: 12px; padding: 18px; border: 1px solid rgba(42,131,92,.24); border-radius: 16px; background: #eff9f2; line-height: 1.55; }
.voucher-purchase-success[hidden] { display: none; }
.voucher-no-payment-note { padding: 14px 16px; border: 1px solid rgba(182,122,42,.24); border-radius: 14px; background: #fff9ec; color: #52686c; line-height: 1.55; }
.voucher-pilot-options { display: grid; gap: 10px; margin: 16px 0; }
.voucher-pilot-option { display: grid; gap: 4px; width: 100%; padding: 14px 16px; border: 1px solid rgba(23,51,58,.14); border-radius: 14px; background: #fff; color: #17333a; text-align: left; cursor: pointer; font: inherit; }
.voucher-pilot-option:hover, .voucher-pilot-option:focus-visible, .voucher-pilot-option.is-selected { border-color: #b67a2a; box-shadow: 0 0 0 3px rgba(182,122,42,.14); }
.voucher-pilot-option span, .voucher-pilot-option small, .voucher-selected-offer span, .voucher-selected-offer small { color: #627375; line-height: 1.45; }
.voucher-selected-offer { display: grid; gap: 5px; margin: 12px 0 18px; padding: 14px 16px; border-radius: 14px; background: #f3f7f4; }
.voucher-selected-offer.hidden { display: none; }
.voucher-request-page #voucherRecipientDetails { scroll-margin-top: clamp(1rem, 8vh, 5rem); }
.voucher-request-page #voucherRecipientDetails:focus-within { border-color: rgba(182,122,42,.5); box-shadow: 0 0 0 4px rgba(182,122,42,.12); }
.voucher-request-page #voucherRecipientDetails input:user-invalid { border-color: #c84e42; }
.pilot-voucher-requests { display: grid; gap: 14px; }
.pilot-voucher-request-card { display: grid; gap: 12px; padding: 18px; border: 1px solid rgba(23,51,58,.13); border-radius: 16px; background: #fff; }
.pilot-voucher-request-card header { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.pilot-voucher-request-card h3 { margin: 4px 0; }
.pilot-voucher-request-card header p { margin: 0; color: #627375; }
.pilot-voucher-request-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #52686c; font-size: .9rem; }
.voucher-upload-inline, .voucher-payment-reference { display: grid; gap: 5px; color: #52686c; font-size: .85rem; }
.voucher-upload-inline input { max-width: 100%; }
.voucher-request-footer { display: grid; gap: .7rem; }
.voucher-request-footer > .booking-row-actions { align-items: stretch; }
.voucher-step-actions, .voucher-document-workbench, .voucher-payment-workbench { display: grid; gap: .75rem; padding: .9rem; border: 1px solid rgba(36,93,136,.16); border-radius: .8rem; background: linear-gradient(135deg, rgba(243,249,247,.95), rgba(255,248,235,.92)); }
.voucher-step-actions { grid-template-columns: auto minmax(0,1fr) auto; align-items: center; }
.voucher-step-actions.is-processing { background: rgba(240,245,245,.9); }
.voucher-step-actions.is-complete { border-color: rgba(31,123,103,.24); background: rgba(235,248,242,.82); }
.voucher-step-actions strong, .voucher-document-workbench strong, .voucher-payment-workbench strong { color: #17333a; }
.voucher-step-actions small, .voucher-document-workbench small, .voucher-payment-workbench small { display: block; margin-top: .18rem; color: #607477; font-size: .76rem; line-height: 1.4; }
.voucher-step-number { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .55rem; color: #fffaf0; background: linear-gradient(145deg, #245d88, #1f7b67); font-size: .72rem; font-weight: 850; }
.voucher-workbench-heading { display: flex; justify-content: space-between; gap: .8rem; align-items: flex-start; }
.voucher-workbench-title { display: flex; gap: .65rem; align-items: flex-start; }
.voucher-workbench-state { padding: .28rem .5rem; border: 1px solid rgba(31,123,103,.2); border-radius: 999px; color: #286b65; background: rgba(255,255,255,.72); font-size: .68rem; font-weight: 850; white-space: nowrap; }
.voucher-document-options, .voucher-payment-controls { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: .65rem; align-items: stretch; }
.voucher-upload-dropzone { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .55rem; align-items: center; min-height: 3.9rem; padding: .6rem .7rem; border: 1px dashed rgba(36,93,136,.42); border-radius: .65rem; color: #17333a; background: rgba(255,255,255,.76); cursor: pointer; }
.voucher-upload-dropzone:hover, .voucher-upload-dropzone:focus-within { border-color: #d46b39; background: #fffaf0; }
.voucher-upload-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.voucher-upload-dropzone strong { font-size: .76rem; }
.voucher-upload-icon { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .55rem; color: #fffaf0; background: #d46b39; font-size: 1.15rem; }
.voucher-reference-field { display: grid; gap: .3rem; color: #294b50; font-size: .76rem; font-weight: 800; }
.voucher-reference-field em { color: #7a8989; font-style: normal; font-weight: 500; }
.voucher-reference-field input { width: 100%; box-sizing: border-box; min-height: 2.5rem; padding: .55rem .65rem; border: 1px solid #cbd9d5; border-radius: .55rem; background: #fff; font: inherit; }
@media (max-width: 700px) {
  .voucher-step-actions, .voucher-document-options, .voucher-payment-controls { grid-template-columns: 1fr; }
  .voucher-workbench-heading { flex-direction: column; }
  .voucher-workbench-state { justify-self: start; }
}
.voucher-download-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 700px) {
  .voucher-status-page #voucherStatusNext a.button { display: flex; width: 100%; max-width: 100%; box-sizing: border-box; justify-content: center; text-align: center; white-space: normal; overflow-wrap: anywhere; }
}
@media (max-width: 700px) {
  .pilot-voucher-request-card header { flex-direction: column; }
  .pilot-voucher-request-meta { display: grid; gap: 6px; }
}
.voucher-purchase-success .button { margin: 0; }
.voucher-success-next-steps { display: grid; gap: 12px; }
.voucher-success-next-steps h3 { margin: 0; color: #17333a; font-size: 1rem; }
.voucher-success-next-step { display: grid; gap: 8px; padding: 14px; border: 1px solid rgba(23,51,58,.12); border-radius: 14px; background: rgba(255,255,255,.76); }
.voucher-success-next-step > strong { color: #17333a; }
.voucher-success-next-step p { margin: 0; color: #52686c; font-size: .9rem; line-height: 1.5; }
.voucher-success-next-step .button { display: flex; align-items: center; justify-content: center; min-height: 44px; box-sizing: border-box; text-align: center; white-space: normal; }
.voucher-email-status { display: grid; gap: 9px; margin-top: 2px; padding-top: 13px; border-top: 1px solid rgba(23,51,58,.12); }
.voucher-email-status h3 { margin: 0; color: #17333a; font-size: .96rem; }
.voucher-email-status ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.voucher-email-status-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.72); color: #52686c; font-size: .88rem; }
.voucher-email-status-row strong { color: #286b65; }
.voucher-email-status-row.is-failed strong { color: #b94b45; }
.voucher-email-status-row.is-pending strong, .voucher-email-status-row.is-skipped strong, .voucher-email-status-row.is-unknown strong { color: #9a5b00; }
.voucher-email-status > p { margin: 0; color: #6b7b7d; font-size: .8rem; line-height: 1.45; }
.voucher-purchase-recipient-layout { max-width: 720px; margin: 0 auto; }
.voucher-purchase-recipient-summary { display: grid; gap: 4px; margin: 18px 0; padding: 14px 16px; border-radius: 14px; background: #f3f7f4; }
.voucher-purchase-recipient-summary span { color: #627375; font-size: .88rem; }
.voucher-booking-context { display: grid; gap: 6px; margin: 0 0 18px; padding: 16px 18px; border: 1px solid rgba(182,122,42,.28); border-radius: 16px; background: linear-gradient(135deg, #fff9e9, #f3faf5); }
.voucher-booking-context p { margin: 0; color: #52686c; line-height: 1.5; }
.voucher-booking-context.is-error { border-color: rgba(185,75,69,.3); background: #fff4f1; }
@media (max-width: 760px) {
  .voucher-purchase-page, .voucher-purchase-recipient-page { padding: 20px 14px 46px; }
  .voucher-purchase-header { align-items: flex-start; flex-direction: column; margin-bottom: 18px; }
  .voucher-purchase-layout { grid-template-columns: 1fr; gap: 18px; }
  .voucher-purchase-intro h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .voucher-purchase-card, .voucher-purchase-recipient-page .voucher-recipient-panel { padding: 22px 18px; border-radius: 20px; }
}

.voucher-recipient-page {
  min-height: 100vh; padding: 42px clamp(18px, 5vw, 72px) 72px; color: #17333a;
  background: radial-gradient(circle at 10% 0%, #fff6e7 0, #f5f0e6 42%, #e4ece8 100%);
}
.voucher-recipient-header { max-width: 1180px; margin: 0 auto 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.voucher-recipient-brand { color: #b67a2a; font-weight: 800; letter-spacing: .02em; text-decoration: none; }
.voucher-recipient-kicker { color: #52686c; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.voucher-recipient-layout { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 28px; align-items: stretch; }
.voucher-template-card, .voucher-recipient-panel { border: 1px solid rgba(23,51,58,.13); border-radius: 28px; overflow: hidden; background: rgba(255,255,255,.88); box-shadow: 0 24px 70px rgba(23,51,58,.14); }
.voucher-template-card { display: flex; flex-direction: column; min-height: 620px; }
.voucher-template-photo { min-height: 370px; position: relative; display: flex; align-items: flex-end; padding: 38px; color: #fff; background: linear-gradient(135deg, rgba(23,51,58,.15), rgba(23,51,58,.74)), url('/assets/route-paragliding-hero-v1.webp') center/cover; }
.voucher-template-photo-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,38,45,.05), rgba(13,38,45,.72)); }
.voucher-template-mark { position: absolute; top: 28px; right: 30px; font-size: 2rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,.25)); }
.voucher-template-photo-copy { position: relative; max-width: 420px; display: grid; gap: 9px; }
.voucher-template-photo-copy span { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #ffdb91; }
.voucher-template-photo-copy strong { font-family: Georgia, serif; font-size: clamp(2.7rem, 5vw, 4.5rem); line-height: .95; }
.voucher-template-photo-copy small { font-size: 1rem; color: rgba(255,255,255,.9); }
.voucher-template-details { padding: 28px 34px 32px; }
.voucher-template-code { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: #eef6f4; color: #286b65; font-size: .82rem; font-weight: 800; }
.voucher-template-recipient { display: grid; gap: 6px; padding: 26px 0 22px; border-bottom: 1px solid rgba(23,51,58,.12); }
.voucher-template-recipient span, .voucher-template-recipient small { color: #6a7b7d; }
.voucher-template-recipient strong { font-family: Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.55rem); color: #17333a; }
.voucher-template-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 28px; margin: 24px 0 0; }
.voucher-template-facts div { display: grid; gap: 4px; }
.voucher-template-facts dt { color: #7b8888; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.voucher-template-facts dd { margin: 0; font-weight: 750; }
.voucher-recipient-panel { padding: clamp(26px, 4vw, 46px); }
.voucher-recipient-panel h1 { margin: 8px 0 12px; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1; }
.voucher-recipient-intro { color: #5e7072; line-height: 1.65; }
.voucher-recipient-form { display: grid; gap: 16px; margin-top: 28px; }
.voucher-recipient-form label { display: grid; gap: 7px; color: #294b50; font-size: .92rem; font-weight: 750; }
.voucher-recipient-form label small { color: #7b8888; font-weight: 500; }
.voucher-recipient-form label b { color: #b67a2a; }
.voucher-recipient-form input { width: 100%; box-sizing: border-box; border: 1px solid #cbd9d5; border-radius: 13px; padding: 13px 14px; color: #17333a; background: #fff; font: inherit; }
.voucher-recipient-form input:focus { outline: 3px solid rgba(182,122,42,.18); border-color: #b67a2a; }
.voucher-recipient-form input[aria-invalid="true"] { border-color: #b94b45; }
.voucher-recipient-submit, .voucher-download-button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 13px; padding: 14px 18px; background: #b67a2a; color: #fff; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.voucher-recipient-submit:disabled { opacity: .6; cursor: wait; }
.voucher-recipient-feedback { min-height: 24px; margin: 0; color: #b94b45; font-weight: 700; }
.voucher-recipient-downloads { margin-top: 22px; }
.voucher-download-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.voucher-download-button-secondary { background: #17333a; }
.voucher-recipient-note { margin: 24px 0 0; color: #758284; font-size: .82rem; line-height: 1.55; }

/* Phase-1 voucher request visual language: warm adventure gradients, the same
   teal/orange palette as Pilot, and restrained edge depth. */
.voucher-request-page { position: relative; overflow: hidden; min-height: 100vh; padding: clamp(1.2rem, 4vw, 3.5rem) var(--content-gutter) 5rem; background: radial-gradient(circle at 8% 8%, rgba(36, 93, 136, .28), transparent 25%), radial-gradient(circle at 92% 14%, rgba(217, 111, 43, .34), transparent 28%), radial-gradient(circle at 78% 92%, rgba(31, 123, 103, .2), transparent 28%), linear-gradient(145deg, #f9f3e7 0%, #e8eee8 54%, #f3ddbd 100%); }
.voucher-request-page::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.22), transparent 42%, rgba(23,49,61,.08)); }
.voucher-request-page > * { position: relative; z-index: 1; }
.voucher-request-page .voucher-purchase-header { width: min(100%, 78rem); margin: 0 auto clamp(1.4rem, 4vw, 3rem); }
.voucher-request-page .voucher-recipient-brand { color: var(--accent-strong); }
.voucher-request-page .voucher-purchase-layout { width: min(100%, 78rem); grid-template-columns: minmax(0, 1.06fr) minmax(24rem, .94fr); gap: clamp(1.25rem, 4vw, 3.6rem); }
.voucher-request-page .voucher-purchase-intro { padding: clamp(.5rem, 2vw, 2rem) 0; }
.voucher-request-page .voucher-purchase-intro h1 { max-width: 9ch; color: #17313d; font-size: clamp(3.3rem, 7vw, 7.2rem); text-shadow: 0 2px 0 rgba(255,255,255,.5); }
.voucher-request-page .voucher-purchase-intro > p:not(.eyebrow) { max-width: 54ch; color: #405b62; }
.voucher-request-page .voucher-purchase-card { position: relative; overflow: hidden; border-color: rgba(23,49,61,.2); background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(250,243,232,.86)); box-shadow: 14px 14px 0 rgba(23,49,61,.08), 0 28px 70px rgba(23,49,61,.18); }
.voucher-request-page .voucher-purchase-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 7px; background: linear-gradient(90deg, var(--blue), var(--green), var(--accent)); }
.voucher-request-page .voucher-purchase-card::after { content: ''; position: absolute; width: 13rem; height: 13rem; right: -6rem; top: -6rem; border: 1px solid rgba(217,111,43,.25); border-radius: 50%; box-shadow: 0 0 0 1.1rem rgba(217,111,43,.08), 0 0 0 2.2rem rgba(36,93,136,.05); pointer-events: none; }
.voucher-request-page .voucher-purchase-card > * { position: relative; z-index: 1; }
.voucher-request-page .voucher-purchase-steps { max-width: 680px; gap: 0; margin-top: clamp(1.6rem, 4vw, 3rem); }
.voucher-request-page .voucher-purchase-steps > div { grid-template-columns: 2.8rem minmax(0, 1fr); gap: .7rem 1rem; padding: 1rem 0; border-top-color: rgba(23,49,61,.16); }
.voucher-request-page .voucher-step-icon { display: grid; grid-row: 1 / span 2; place-items: center; width: 2.55rem; height: 2.55rem; border: 1px solid rgba(36,93,136,.25); border-radius: .7rem; color: #fff9ef; background: linear-gradient(145deg, var(--blue), var(--green)); box-shadow: 3px 3px 0 rgba(217,111,43,.28); font-size: 1.05rem; }
.voucher-request-page .voucher-purchase-steps b { display: inline-block; margin-right: .35rem; color: var(--accent-strong); font-size: .72rem; letter-spacing: .1em; }
.voucher-request-page .voucher-purchase-steps strong { color: #17313d; }
.voucher-request-page .voucher-purchase-steps span:not(.voucher-step-icon) { color: #5b7075; }
.voucher-request-page .voucher-purchase-steps > div > div { min-width: 0; }
.voucher-request-page .voucher-purchase-steps > div > div > span:not(.voucher-step-icon) { display: block; margin-top: .22rem; color: #5b7075; font-size: .84rem; font-style: italic; letter-spacing: .01em; line-height: 1.45; }
.voucher-request-page .voucher-pilot-option-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; color: #17333a; }
.voucher-request-page .voucher-pilot-option-heading strong { min-width: 0; color: #17333a; }
.voucher-request-page .voucher-pilot-price { flex: 0 0 auto; color: var(--accent-strong); font-size: .82rem; font-weight: 850; letter-spacing: .02em; white-space: nowrap; }
.voucher-request-page .voucher-safety-note { margin: .7rem 0 0; padding-top: .65rem; border-top: 1px solid rgba(217,111,43,.18); color: #7b573f; font-size: .82rem; font-style: italic; line-height: 1.5; }
.voucher-booking-guidance { max-width: 680px; margin-top: 1.5rem; padding: 1rem 1.1rem; border: 1px solid rgba(31,123,103,.22); border-radius: 1rem; background: linear-gradient(135deg, rgba(232,248,242,.86), rgba(255,247,232,.88)); box-shadow: 5px 5px 0 rgba(36,93,136,.08); }
.voucher-booking-guidance p:last-child { margin: .8rem 0 0; color: #52686c; font-size: .84rem; line-height: 1.5; }
.voucher-booking-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.voucher-booking-badges span { padding: .55rem .65rem; border: 1px solid rgba(23,49,61,.1); border-radius: .55rem; color: #3f5b61; background: rgba(255,255,255,.72); font-size: .76rem; font-weight: 800; }
.voucher-account-gate { display: grid; gap: .9rem; margin: 1rem 0 1.2rem; padding: 1rem; border: 1px solid rgba(36,93,136,.23); border-radius: 1rem; background: linear-gradient(145deg, rgba(233,244,244,.94), rgba(255,247,232,.9)); box-shadow: 4px 4px 0 rgba(217,111,43,.12); }
.voucher-account-gate.hidden, .voucher-account-form.hidden { display: none; }
.voucher-account-gate-heading { display: flex; align-items: center; gap: .75rem; }
.voucher-account-gate-heading h3 { margin: .15rem 0 0; }
.voucher-account-mark { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .55rem; color: #fff; background: linear-gradient(145deg, var(--accent), var(--blue)); box-shadow: 3px 3px 0 rgba(23,49,61,.14); }
.voucher-account-gate > p { margin: 0; color: #52686c; font-size: .88rem; line-height: 1.5; }
.voucher-account-form { display: grid; gap: .7rem; }
.voucher-account-form label { display: grid; gap: .3rem; color: #294b50; font-size: .82rem; font-weight: 800; }
.voucher-account-form input { width: 100%; box-sizing: border-box; min-height: 2.7rem; padding: .65rem .75rem; border: 1px solid #cbd9d5; border-radius: .55rem; background: rgba(255,255,255,.9); font: inherit; }
.voucher-request-page #voucherAccountGate .account-registration-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: .75rem .7rem;
  margin-top: .15rem;
}
.voucher-request-page #voucherAccountGate .account-registration-grid .field { min-width: 0; }
.voucher-request-page #voucherAccountGate .account-registration-grid .field:nth-of-type(1),
.voucher-request-page #voucherAccountGate .account-registration-grid .field:nth-of-type(2),
.voucher-request-page #voucherAccountGate .account-registration-grid .field:nth-of-type(3),
.voucher-request-page #voucherAccountGate .account-registration-grid .field:nth-of-type(4) { grid-column: span 6; }
.voucher-request-page #voucherAccountGate .account-registration-grid .field:nth-of-type(5),
.voucher-request-page #voucherAccountGate .account-registration-grid .field:nth-of-type(6) { grid-column: span 5; }
.voucher-request-page #voucherAccountGate .account-registration-grid .field:nth-of-type(7) { grid-column: span 2; justify-self: end; width: min(100%, 4.5rem); }
.voucher-request-page #voucherAccountGate .account-registration-grid .field input {
  min-width: 0;
  min-height: 2.85rem;
  padding: .68rem .72rem;
  border-radius: .7rem;
  background: rgba(255,255,255,.96);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}
.voucher-request-page #voucherAccountGate .account-registration-grid .field input:focus {
  outline: 3px solid rgba(36,93,136,.16);
  border-color: var(--blue);
}
.voucher-request-page #voucherAccountGate .account-registration-grid .field input[type="number"] { appearance: textfield; }
.voucher-request-page #voucherAccountGate .account-registration-grid .field input[type="number"]::-webkit-inner-spin-button,
.voucher-request-page #voucherAccountGate .account-registration-grid .field input[type="number"]::-webkit-outer-spin-button { margin: 0; }
.voucher-request-page #voucherAccountGate .account-registration-grid .field-error {
  display: block;
  margin-top: .05rem;
  color: #a23e32;
  font-size: .7rem;
  font-weight: 750;
  line-height: 1.25;
}
.voucher-request-page #voucherAccountGate .account-registration-grid .field-error[hidden] { display: none; }
.voucher-request-page #voucherAccountGate .voucher-registration-field-errors {
  margin: -.2rem 0 0;
  color: #a23e32;
  font-size: .76rem;
  font-weight: 800;
}
.voucher-request-page #voucherAccountGate .voucher-registration-field-errors[hidden] { display: none; }
.voucher-request-page #voucherRegistrationForm .section-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
}
.voucher-request-page #voucherRegistrationForm .section-toolbar > .button { justify-self: end; }
.voucher-request-page #voucherRegistrationForm #voucherHideRegistration {
  min-height: 0;
  padding: .2rem 0;
  border: 0;
  border-radius: 0;
  color: #718184;
  background: transparent;
  box-shadow: none;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.voucher-request-page #voucherRegistrationForm #voucherHideRegistration:hover,
.voucher-request-page #voucherRegistrationForm #voucherHideRegistration:focus-visible {
  color: #245d88;
  background: transparent;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: .18em;
}
.voucher-account-identity { display: grid; gap: .2rem; padding: .75rem; border: 1px solid rgba(31,123,103,.2); border-radius: .65rem; background: rgba(235,248,242,.72); }
.voucher-account-identity strong { color: #17313d; }
.voucher-account-identity span, .voucher-account-identity small { color: #587076; }
@media (min-width: 1000px), (min-width: 481px) and (max-width: 760px) {
  .voucher-request-page #voucherAccountGate .account-registration-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 480px) {
  .voucher-request-page #voucherAccountGate .account-registration-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .voucher-request-page #voucherAccountGate .account-registration-grid .field { grid-column: 1 / -1 !important; width: auto !important; justify-self: stretch !important; }
  .voucher-request-page #voucherRegistrationForm .section-toolbar {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .voucher-request-page #voucherRegistrationForm .section-toolbar > .button { justify-self: start; }
}
body[data-active-page="pilot"] #pilotVoucherSection { grid-column: 1 / -1; padding: clamp(.8rem, 2vw, 1.35rem); border: 1px solid rgba(23,49,61,.16); border-top: 4px solid var(--accent); border-radius: .7rem; background: linear-gradient(135deg, #e8f1ee 0%, #fff4e5 58%, #e6eef0 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 10px 26px rgba(23,49,61,.08); }
body[data-active-page="pilot"] #pilotVoucherSection .section-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem; margin-bottom: .75rem; padding-bottom: .7rem; border-bottom: 1px solid rgba(23,49,61,.13); }
body[data-active-page="pilot"] #pilotVoucherSection .section-toolbar h2 { margin: .15rem 0 .2rem; font-size: clamp(1.25rem, 2vw, 1.8rem); }
body[data-active-page="pilot"] #pilotVoucherSection .section-toolbar .helper-copy { max-width: 70ch; margin: 0; font-size: .78rem; }
body[data-active-page="pilot"] #pilotVoucherRequests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
body[data-active-page="pilot"] #pilotVoucherRequests > .helper-copy { grid-column: 1 / -1; }
body[data-active-page="pilot"] #pilotVoucherRequests > .pilot-voucher-request-card:only-child { grid-column: 1 / -1; }
body[data-active-page="pilot"] .pilot-voucher-request-card { gap: .65rem; min-width: 0; padding: .75rem; border-radius: .45rem; border-color: #cbd6d8; box-shadow: 0 4px 10px rgba(23,49,61,.07); }
body[data-active-page="pilot"] .pilot-voucher-request-card header { gap: .5rem; }
body[data-active-page="pilot"] .pilot-voucher-request-card h3 { font-size: 1rem; }
body[data-active-page="pilot"] .pilot-voucher-request-card p { font-size: .78rem; }
body[data-active-page="pilot"] .pilot-voucher-request-card .booking-row-actions { gap: .4rem; align-items: center; }
body[data-active-page="pilot"] .pilot-voucher-request-card .tiny-button, body[data-active-page="pilot"] .pilot-voucher-request-card .button-small { min-height: 2.25rem; padding: .4rem .62rem; border-radius: .35rem; font-size: .7rem; }
body[data-active-page="pilot"] .pilot-voucher-request-card .voucher-upload-inline, body[data-active-page="pilot"] .pilot-voucher-request-card .voucher-payment-reference { flex: 1 1 12rem; min-width: 10rem; }
@media (max-width: 760px) { .voucher-request-page .voucher-purchase-layout { grid-template-columns: 1fr; } .voucher-request-page .voucher-purchase-intro h1 { font-size: clamp(3rem, 15vw, 5rem); } .voucher-booking-badges, body[data-active-page="pilot"] #pilotVoucherRequests { grid-template-columns: 1fr; } body[data-active-page="pilot"] #pilotVoucherSection .section-toolbar { grid-template-columns: 1fr; align-items: start; } }

/* Pilot voucher board: one request is one horizontal lifecycle row. */
body[data-active-page="pilot"] #pilotVoucherRequests {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .9rem;
}
body[data-active-page="pilot"] .pilot-voucher-request-card.voucher-lifecycle-row {
  display: grid;
  gap: .75rem;
  min-width: 0;
  padding: .9rem;
  border: 1px solid rgba(23, 51, 58, .16);
  border-radius: .55rem;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 5px 16px rgba(23, 49, 61, .08);
}
body[data-active-page="pilot"] .voucher-row-header,
body[data-active-page="pilot"] .voucher-row-context,
body[data-active-page="pilot"] .voucher-lifecycle-track {
  min-width: 0;
}
body[data-active-page="pilot"] .voucher-row-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
body[data-active-page="pilot"] .voucher-row-identity { min-width: 0; }
body[data-active-page="pilot"] .voucher-row-identity h3 { margin: .16rem 0 .12rem; color: #17333a; font-size: 1.03rem; }
body[data-active-page="pilot"] .voucher-row-identity p { margin: 0; color: #52686c; font-size: .78rem; }
body[data-active-page="pilot"] .voucher-row-status { display: grid; justify-items: end; gap: .22rem; flex: 0 0 auto; }
body[data-active-page="pilot"] .voucher-row-status small { color: #667b7d; font-size: .72rem; }
body[data-active-page="pilot"] .voucher-row-context {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .9rem;
  padding: .5rem .65rem;
  border-top: 1px solid rgba(23, 51, 58, .1);
  border-bottom: 1px solid rgba(23, 51, 58, .1);
  color: #607477;
  font-size: .72rem;
}
body[data-active-page="pilot"] .voucher-row-context strong { color: #294b50; font-weight: 800; }
body[data-active-page="pilot"] .voucher-lifecycle-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: .45rem;
  align-items: stretch;
}
body[data-active-page="pilot"] .voucher-lifecycle-stage {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: .55rem;
  min-width: 0;
  padding: .68rem;
  border: 1px solid rgba(23, 51, 58, .12);
  border-radius: .42rem;
  background: rgba(246, 249, 247, .8);
}
body[data-active-page="pilot"] .voucher-lifecycle-stage.is-active { border-color: rgba(212, 107, 57, .58); background: #fff8ed; box-shadow: inset 0 3px 0 #d46b39; }
body[data-active-page="pilot"] .voucher-lifecycle-stage.is-complete { border-color: rgba(31, 123, 103, .28); background: #f0f8f3; }
body[data-active-page="pilot"] .voucher-lifecycle-stage.is-terminal { border-color: rgba(194, 78, 66, .28); background: #fff4f1; }
body[data-active-page="pilot"] .voucher-lifecycle-stage.is-processing { border-color: rgba(36, 93, 136, .3); background: #f1f7fb; }
body[data-active-page="pilot"] .voucher-lifecycle-stage.is-locked { opacity: .72; }
body[data-active-page="pilot"] .voucher-stage-heading { display: flex; align-items: center; gap: .45rem; min-width: 0; color: #17333a; font-size: .76rem; }
body[data-active-page="pilot"] .voucher-stage-marker {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: .42rem;
  color: #fffaf0;
  background: linear-gradient(145deg, #245d88, #1f7b67);
  font-size: .67rem;
  font-weight: 850;
}
body[data-active-page="pilot"] .is-active .voucher-stage-marker { background: #d46b39; }
body[data-active-page="pilot"] .is-terminal .voucher-stage-marker { background: #c84e42; }
body[data-active-page="pilot"] .is-locked .voucher-stage-marker { color: #607477; background: #dce5e3; }
body[data-active-page="pilot"] .voucher-stage-body { display: grid; align-content: start; gap: .55rem; min-width: 0; }
body[data-active-page="pilot"] .voucher-stage-copy { display: grid; gap: .16rem; min-width: 0; }
body[data-active-page="pilot"] .voucher-stage-copy strong { color: #17333a; font-size: .78rem; }
body[data-active-page="pilot"] .voucher-stage-copy small { color: #607477; font-size: .7rem; line-height: 1.35; }
body[data-active-page="pilot"] .voucher-stage-actions { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
body[data-active-page="pilot"] .voucher-stage-actions .tiny-button { min-height: 2.05rem; padding: .35rem .5rem; font-size: .68rem; }
body[data-active-page="pilot"] .voucher-stage-connector { display: grid; place-items: center; align-self: center; color: #9aa9a8; font-size: 1.15rem; font-weight: 800; }
body[data-active-page="pilot"] .voucher-document-workbench,
body[data-active-page="pilot"] .voucher-payment-workbench { display: grid; gap: .55rem; padding: 0; border: 0; border-radius: 0; background: transparent; }
body[data-active-page="pilot"] .voucher-document-options,
body[data-active-page="pilot"] .voucher-payment-controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: .45rem; align-items: stretch; }
body[data-active-page="pilot"] .voucher-document-options .button,
body[data-active-page="pilot"] .voucher-payment-controls .button { width: 100%; }
body[data-active-page="pilot"] .voucher-upload-dropzone { min-height: 2.8rem; padding: .45rem .55rem; }
body[data-active-page="pilot"] .voucher-upload-icon { width: 1.65rem; height: 1.65rem; }
body[data-active-page="pilot"] .voucher-upload-dropzone strong { font-size: .7rem; }
body[data-active-page="pilot"] .voucher-upload-dropzone small { font-size: .65rem; }
body[data-active-page="pilot"] .voucher-reference-field { font-size: .69rem; }
body[data-active-page="pilot"] .voucher-reference-field input { min-height: 2.2rem; padding: .42rem .5rem; font-size: .72rem; }
body[data-active-page="pilot"] .voucher-document-link { justify-self: start; min-height: 2.05rem; font-size: .68rem; }
body[data-active-page="pilot"] .voucher-row-note { margin: 0; color: #607477; font-size: .72rem; font-style: italic; }
body[data-active-page="pilot"] .voucher-issued-result { display: flex; align-items: center; gap: .55rem; padding: .55rem .65rem; border: 1px solid rgba(31, 123, 103, .24); border-radius: .42rem; color: #286b65; background: #eef8f2; }
body[data-active-page="pilot"] .voucher-issued-result strong { display: block; color: #245d57; font-size: .78rem; }
body[data-active-page="pilot"] .voucher-issued-result small { display: block; margin-top: .12rem; color: #607477; font-size: .68rem; }
body[data-active-page="pilot"] .voucher-issued-check { display: grid; place-items: center; flex: 0 0 auto; width: 1.55rem; height: 1.55rem; border-radius: 50%; color: #fff; background: #1f7b67; font-weight: 900; }
@media (max-width: 880px) {
  body[data-active-page="pilot"] .voucher-lifecycle-track { grid-template-columns: 1fr; }
  body[data-active-page="pilot"] .voucher-stage-connector { min-height: .5rem; transform: rotate(90deg); }
}
@media (max-width: 560px) {
  body[data-active-page="pilot"] .voucher-row-header { flex-direction: column; gap: .55rem; }
  body[data-active-page="pilot"] .voucher-row-status { justify-items: start; }
  body[data-active-page="pilot"] .voucher-row-context { display: grid; gap: .32rem; }
}

#voucherCompletedNotice { padding: 16px; border-radius: 14px; background: #eef6f4; color: #286b65; font-weight: 750; }
.voucher-scan-page { min-height: 100vh; padding: 42px 18px 72px; color: #17333a; background: radial-gradient(circle at 12% 0%, #fff6e7 0, #f5f0e6 45%, #e4ece8 100%); }
.voucher-scan-header { max-width: 720px; margin: 0 auto 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.voucher-scan-card { max-width: 720px; margin: 0 auto; padding: clamp(28px, 6vw, 58px); border: 1px solid rgba(23,51,58,.13); border-radius: 30px; background: rgba(255,255,255,.9); box-shadow: 0 24px 70px rgba(23,51,58,.14); }
.voucher-scan-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 24px; border-radius: 18px; background: #eef6f4; font-size: 1.8rem; }
.voucher-scan-card h1 { max-width: 560px; margin: 8px 0 14px; font-family: Georgia, serif; font-size: clamp(2.1rem, 6vw, 4rem); line-height: .98; }
.voucher-scan-feedback { min-height: 25px; margin: 0; color: #52686c; font-weight: 700; }
.voucher-scan-feedback.is-success { color: #286b65; }
.voucher-scan-feedback.is-error { color: #b94b45; }
.voucher-scan-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 30px; margin: 32px 0 30px; padding: 24px 0; border-top: 1px solid rgba(23,51,58,.12); border-bottom: 1px solid rgba(23,51,58,.12); }
.voucher-scan-facts div { display: grid; gap: 5px; }
.voucher-scan-facts dt { color: #7b8888; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.voucher-scan-facts dd { margin: 0; font-weight: 750; }
.voucher-scan-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.voucher-scan-action { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border: 1px solid #cbd9d5; border-radius: 13px; color: #17333a; background: #fff; font-weight: 800; text-decoration: none; }
.voucher-scan-action-primary { border-color: #b67a2a; color: #fff; background: #b67a2a; }
.voucher-scan-privacy { margin: 24px 0 0; color: #758284; font-size: .86rem; line-height: 1.6; }
.social-accounts-grid { display: grid; gap: 16px; }
.social-account-card { display: grid; gap: 14px; }
.social-account-card .field-grid { margin: 0; }
.social-account-card .detail-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.social-account-card .detail-tag.is-invalid { color: #9a3d38; border-color: rgba(185,75,69,.35); background: #fff3f1; }
.social-account-card .checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin: 0;
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: rgba(255,255,255,.62);
}
.social-account-card .checkbox-row input[type="checkbox"] {
  flex: 0 0 1rem;
  width: 1rem;
  min-width: 1rem;
  height: 1rem;
  margin: .18rem 0 0;
  accent-color: var(--accent);
}
.social-account-card .checkbox-row span {
  display: grid;
  gap: .18rem;
  min-width: 0;
}
.social-account-card .checkbox-row small {
  color: var(--muted);
  line-height: 1.4;
}
.social-account-card .inline-actions {
  justify-content: flex-end;
  align-items: center;
  padding-top: .2rem;
  border-top: 1px solid rgba(23,51,58,.1);
}
.social-account-card .inline-actions .button {
  min-width: 10.5rem;
}
.social-account-card .social-account-card-feedback { margin: 0; }
.social-account-card .social-account-card-feedback:empty { display: none; }
@media (max-width: 640px) {
  .social-account-card .inline-actions { justify-content: stretch; }
  .social-account-card .inline-actions .button { flex: 1 1 11rem; min-width: 0; }
}
@media (max-width: 820px) {
  .voucher-recipient-page { padding: 22px 14px 42px; }
  .voucher-recipient-header { align-items: flex-start; flex-direction: column; margin-bottom: 18px; }
  .voucher-recipient-layout { grid-template-columns: 1fr; gap: 16px; }
  .voucher-template-card { min-height: 0; }
  .voucher-template-photo { min-height: 290px; padding: 25px; }
  .voucher-template-details { padding: 22px; }
  .voucher-recipient-panel { padding: 24px 20px; }
  .voucher-scan-page { padding: 22px 14px 42px; }
  .voucher-scan-header { align-items: flex-start; flex-direction: column; margin-bottom: 18px; }
  .voucher-scan-card { padding: 28px 22px; border-radius: 22px; }
  .voucher-scan-facts { grid-template-columns: 1fr; gap: 15px; }
  .voucher-scan-actions { flex-direction: column; }
  .voucher-scan-action { width: 100%; box-sizing: border-box; }
}

/* Ops media/customer visual pass: asset and flight identity lead; controls remain compact. */
#adminFlightMediaSection .section-toolbar { cursor: pointer; }

#adminFlightMediaSection .media-queue-summary { margin: .9rem 0 1.15rem; padding: 1rem; border: 1px solid rgba(23,51,58,.14); border-radius: 1rem; background: linear-gradient(135deg, #f7fbf8, #fff8ee); }
#adminFlightMediaSection .media-queue-summary.is-waiting { border-color: rgba(216,107,49,.35); box-shadow: 0 8px 22px rgba(122,71,28,.06); }
#adminFlightMediaSection .media-queue-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
#adminFlightMediaSection .media-queue-header h4 { margin: .2rem 0 0; color: #17343c; }
#adminFlightMediaSection .media-queue-count { flex: 0 0 auto; color: #286b65; font-size: .76rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
#adminFlightMediaSection .media-queue-live { display: grid; gap: .18rem; margin-top: .7rem; color: #52686c; line-height: 1.45; }
#adminFlightMediaSection .media-queue-live strong { color: #17343c; }
#adminFlightMediaSection .media-queue-target { display: grid; gap: .18rem; min-width: 0; margin-top: .8rem; padding: .75rem .85rem; border: 1px solid rgba(23,51,58,.11); border-radius: .7rem; background: rgba(255,255,255,.76); }
#adminFlightMediaSection .media-queue-target > span { color: #8d5a2a; font-size: .72rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
#adminFlightMediaSection .media-queue-target strong { min-width: 0; overflow-wrap: anywhere; color: #17343c; }
#adminFlightMediaSection .media-queue-target small { color: #52686c; }
#adminFlightMediaSection .media-queue-next-action { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; margin-top: .8rem; padding: .8rem .85rem; border: 1px solid rgba(216,107,49,.35); border-radius: .7rem; background: #fff4e8; color: #52686c; line-height: 1.4; }
#adminFlightMediaSection .media-queue-next-action > div { display: grid; gap: .2rem; min-width: 0; }
#adminFlightMediaSection .media-queue-next-action strong { color: #17343c; }
#adminFlightMediaSection .media-queue-next-action span,
#adminFlightMediaSection .media-queue-next-action small { overflow-wrap: anywhere; }
#adminFlightMediaSection .media-queue-next-action small { color: #8d5a2a; font-size: .78rem; }
#adminFlightMediaSection .media-queue-next-action.is-waiting { border-color: rgba(40,127,109,.24); background: #f1f8f4; }
#adminFlightMediaSection .media-queue-next-action.is-idle { border-color: rgba(23,51,58,.12); background: rgba(255,255,255,.72); }
#adminFlightMediaSection .media-queue-next-action .button { flex: 0 0 auto; min-width: 12rem; }
#adminFlightMediaSection .media-queue-action-feedback { color: #a44b1f; font-size: .78rem; font-weight: 750; }
#adminFlightMediaSection .media-queue-next,
#adminFlightMediaSection .media-queue-following { margin: .8rem 0 0; color: #52686c; line-height: 1.45; }
#adminFlightMediaSection .media-queue-next strong,
#adminFlightMediaSection .media-queue-following strong { color: #17343c; }
@media (max-width: 640px) {
  #adminFlightMediaSection .media-queue-header { flex-direction: column; gap: .45rem; }
  #adminFlightMediaSection .media-queue-next-action { align-items: stretch; flex-direction: column; }
  #adminFlightMediaSection .media-queue-next-action .button { width: 100%; min-width: 0; }
}

#adminFlightMediaSection .media-queue-status { display:flex; gap:.65rem; align-items:baseline; margin:.85rem 0 1rem; padding:.8rem 1rem; border:1px solid var(--line,#d6e2df); border-radius:12px; background:var(--bg-soft,#f5f8f7); color:var(--muted,#52686c); }
#adminFlightMediaSection .media-queue-status.is-active { border-color:rgba(181,107,43,.35); background:#fff7ef; }
#adminFlightMediaSection .media-queue-status strong { color:var(--text,#17333a); }
#adminFlightMediaSection .media-queue-item-status { display:block; margin-top:.25rem; color:#8d5a2a; font-weight:600; }
@media (max-width:640px) { #adminFlightMediaSection .media-queue-status { flex-direction:column; gap:.25rem; } }
#adminFlightMediaSection .admin-media-list { display: grid; gap: 1rem; }
#adminFlightMediaSection .admin-media-row {
  display: grid; grid-template-columns: minmax(15rem, 22rem) minmax(0, 1fr) minmax(14rem, 18rem);
  gap: 1rem; align-items: stretch; padding: .9rem; color: var(--text) !important;
  border: 1px solid rgba(23,51,58,.14); border-radius: 1rem;
  background: linear-gradient(145deg,#fff,#f7f2e9); box-shadow: 0 .7rem 1.6rem rgba(23,52,60,.08);
}
#adminFlightMediaSection .admin-media-row > img,
#adminFlightMediaSection .admin-media-row > video {
  width: 100%; height: 15rem; min-width: 0; display: block; object-fit: contain; object-position: center;
  border-radius: .75rem; background: #17343c;
}
#adminFlightMediaSection .media-arrival-time { display: block; margin-top: .45rem; color: #286b65; font-size: .76rem; font-weight: 800; line-height: 1.35; }
#adminFlightMediaSection .admin-media-row > div:nth-child(2) { min-width: 0; padding: .35rem .15rem; }
#adminFlightMediaSection .admin-media-row strong,
#adminFlightMediaSection .admin-media-row .media-flight-title { color: #17343c !important; }
#adminFlightMediaSection .admin-media-row p,
#adminFlightMediaSection .admin-media-row small { color: #52686c !important; }
#adminFlightMediaSection .admin-media-row .inline-actions { min-width: 0; align-content: start; gap: .45rem; }
#adminFlightMediaSection .media-platform-picker { width: 100%; min-width: 0; }
#adminFlightMediaSection .media-platform-picker select { width: 100%; }
#adminFlightMediaSection .media-post-drafts { margin-top: 1.25rem; padding: 1rem 0 0; }
#adminFlightMediaSection .media-post-draft-row {
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .75rem;
  padding: .8rem; border: 1px solid rgba(23,51,58,.12); border-radius: .8rem; background: rgba(255,255,255,.72);
}
#adminFlightMediaSection .media-post-draft-row > div:first-child { display: grid; gap: .25rem; min-width: 0; }
#adminFlightMediaSection .media-post-draft-row span { color: #52686c !important; line-height: 1.4; }
#adminCustomersSection .customer-profile-row { position: relative; min-height: 3.6rem; align-items: center; }
#adminCustomersSection .customer-profile-row > span:nth-child(2) { min-width: 0; }
#adminCustomersSection .customer-profile-row > span:nth-child(2) strong,
#adminCustomersSection .customer-profile-row > span:nth-child(2) small { overflow-wrap: anywhere; }
#adminCustomersSection .customer-profile-row [data-admin-customer-id] { flex: 0 0 auto; opacity: .78; transform: scale(.92); transform-origin: right center; transition: opacity .18s ease, transform .18s ease; }
#adminCustomersSection .customer-profile-row:hover [data-admin-customer-id],
#adminCustomersSection .customer-profile-row:focus-within [data-admin-customer-id] { opacity: 1; transform: scale(1); }
#adminCustomerProfile { display: grid; gap: 1rem; }
.admin-customer-summary-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .55rem; margin: .75rem 0; }
.admin-customer-summary-grid > div { min-width: 0; padding: .65rem .75rem; border: 1px solid rgba(23,51,58,.1); border-radius: .7rem; background: rgba(255,255,255,.72); }
.admin-customer-summary-grid small { display: block; margin-bottom: .2rem; color: #68777b; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.customer-account-management { display: grid; gap: .7rem; margin: .9rem 0; padding: .9rem; border: 1px solid rgba(23,123,112,.2); border-radius: .8rem; background: linear-gradient(145deg, rgba(229,247,242,.66), rgba(255,255,255,.82)); }
.customer-account-state-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .55rem; }
.customer-account-subvalue { display: block; margin-top: .25rem; color: #52686c; font-size: .75rem; line-height: 1.35; }
.customer-relationship-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .55rem; }
.customer-relationship-metric { display: grid; align-content: start; gap: .2rem; min-width: 0; padding: .65rem .7rem; border: 1px solid rgba(23,51,58,.1); border-radius: .65rem; background: rgba(255,255,255,.7); }
.customer-relationship-metric small { color: #68777b; font-size: .68rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.customer-relationship-metric strong { font-size: 1.05rem; }
.customer-relationship-metric > span { color: #52686c; font-size: .75rem; line-height: 1.4; }
.customer-relationship-metric:nth-child(2) > span { display: grid; gap: .2rem; }
.customer-account-consents { display: flex; flex-wrap: wrap; gap: .45rem; }
.customer-account-extra { padding: .7rem .85rem; border: 1px solid rgba(23,51,58,.12); border-radius: .7rem; background: rgba(255,255,255,.62); }
.customer-account-extra > summary { cursor: pointer; font-weight: 750; }
.customer-flight-history-hint { margin: -.2rem 0 0; font-size: .78rem; }
.customer-account-state-grid > div { min-width: 0; padding: .6rem .7rem; border: 1px solid rgba(23,51,58,.1); border-radius: .65rem; background: rgba(255,255,255,.7); }
.customer-account-state-grid small { display: block; margin-bottom: .2rem; color: #68777b; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.customer-account-state-grid strong { overflow-wrap: anywhere; font-size: .82rem; }
.admin-customer-socials { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .65rem; }
.admin-customer-socials a { display: inline-flex; align-items: center; gap: .25rem; padding: .35rem .55rem; border: 1px solid rgba(23,123,112,.2); border-radius: 999px; color: #155d58; background: rgba(229,247,242,.72); font-size: .76rem; font-weight: 750; text-decoration: none; }
.admin-customer-flight-history { display: grid; gap: .7rem; padding-top: .9rem; border-top: 1px solid rgba(23,51,58,.12); }
.admin-customer-flight-track { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .7rem; min-width: 0; }
.admin-customer-flight-item { display: grid; grid-template-columns: minmax(0,1fr); align-content: start; gap: .65rem; min-width: 0; padding: .8rem; border: 1px solid rgba(23,51,58,.12); border-radius: .8rem; background: rgba(255,255,255,.72); }
.admin-customer-flight-item h5 { margin: .2rem 0; font-size: .98rem; }
.admin-customer-flight-meta { display: flex; flex-wrap: wrap; gap: .35rem .6rem; color: #52686c; font-size: .76rem; }
.admin-customer-flight-media { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem; }
.admin-customer-flight-media button { width: 4.8rem; height: 4rem; overflow: hidden; padding: 0; border: 1px solid rgba(23,51,58,.16); border-radius: .55rem; background: #17343c; cursor: pointer; }
.admin-customer-flight-media img, .admin-customer-flight-media video { width: 100%; height: 100%; object-fit: cover; }
.media-format-badge { display: inline-flex; align-items: center; position: absolute; right: .5rem; bottom: .5rem; padding: .25rem .4rem; border-radius: 999px; color: #fff; background: rgba(23,52,60,.82); font-size: .62rem; font-weight: 800; }
.media-preview-fallback { display: grid; place-items: center; align-content: center; gap: .25rem; height: 100%; min-height: 8rem; padding: 1rem; box-sizing: border-box; color: #e8f1ee; background: linear-gradient(145deg,#17343c,#287f6d); text-align: center; }
.media-preview-fallback span { color: rgba(255,255,255,.78); font-size: .74rem; }
@media (max-width: 900px) { .admin-customer-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 760px) {
  .customer-account-state-grid, .customer-relationship-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-customer-flight-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 21rem); grid-template-columns: none; gap: .65rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-padding-inline: .25rem; padding: .1rem .1rem .7rem; margin-inline: -.1rem; -webkit-overflow-scrolling: touch; }
  .admin-customer-flight-item { scroll-snap-align: start; }
  #adminFlightMediaSection .admin-media-row { grid-template-columns: 1fr; gap: .7rem; }
  #adminFlightMediaSection .admin-media-row > img, #adminFlightMediaSection .admin-media-row > video,
  #adminFlightMediaSection .media-card-asset > img, #adminFlightMediaSection .media-card-asset > video,
  #adminFlightMediaSection .media-original-preview { height: min(58vw,18rem); }
  #adminFlightMediaSection .admin-media-row .inline-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  #adminFlightMediaSection .admin-media-row .media-platform-picker, #adminFlightMediaSection .admin-media-row [data-media-draft-id] { grid-column: 1 / -1; }
  #adminFlightMediaSection .media-post-draft-row { grid-template-columns: 1fr; }
  .admin-customer-flight-item { grid-template-columns: 1fr; }
  .admin-customer-flight-media { justify-content: flex-start; }
}

#adminFlightStatusBoard [data-board-card].is-profile-focus { outline: 3px solid #d86b31; outline-offset: 4px; animation: profile-flight-focus 1.8s ease-out; }
@keyframes profile-flight-focus { 0%,100% { box-shadow: 0 0 0 0 rgba(216,107,49,0); } 25% { box-shadow: 0 0 0 .55rem rgba(216,107,49,.22); } }
.media-format-label { display: block; margin-top: .45rem; color: #287f6d; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

/* Ops customer list is a single readable work queue, not a dense tile wall. */
body[data-active-page="ops"] #customerSection { display: none !important; }
body[data-active-page="ops"] #adminCustomersSection .admin-activity-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: .7rem; }
#adminFlightMediaSection .admin-media-list { grid-template-columns: 1fr !important; }
#adminFlightMediaSection .admin-media-row .button-secondary,
#adminFlightMediaSection .admin-media-row .button-ghost { color: #17343c !important; background: rgba(255,255,255,.82) !important; border-color: rgba(23,51,58,.18) !important; }
#adminFlightMediaSection .admin-media-row .button-primary { color: #fff !important; }
#adminFlightMediaSection .admin-media-row .button-danger { color: #fff !important; }

/* Ops PWA media moderation: review one submission at a time without a tall vertical wall. */
@media (max-width: 760px) {
  #adminFlightMediaSection .admin-media-list { display: flex !important; gap: .75rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-padding-inline: .25rem; padding: .1rem .1rem .75rem; margin-inline: -.1rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  #adminFlightMediaSection .admin-media-list::after { content: 'Prevuci levo/desno za sledeći materijal'; flex: 0 0 auto; align-self: center; max-width: 8rem; color: #52686c; font-size: .72rem; font-weight: 800; line-height: 1.3; text-align: center; }
  #adminFlightMediaSection .admin-media-row { flex: 0 0 min(88vw, 27rem); scroll-snap-align: start; scroll-snap-stop: always; }
}

/* Ops media execution line: ordered stages replace the previous button pile. */
#adminFlightMediaSection .media-total-count,
#adminFlightMediaSection .media-queue-count {
  display: inline-flex; align-items: center; min-height: 1.8rem; padding: .15rem .55rem;
  border-left: 3px solid #287f6d; color: #17343c; font-size: .72rem; font-weight: 850;
  letter-spacing: .04em; line-height: 1.2; text-transform: uppercase;
}
#adminFlightMediaSection .media-sequence-number { display: inline-grid; width: 1.55rem; height: 1.55rem; margin-right: .45rem; place-items: center; border: 1px solid rgba(40,127,109,.35); border-radius: 50%; color: #286d61; background: #e8f3ef; font-size: .68rem; font-weight: 900; vertical-align: middle; }
#adminFlightMediaSection .media-record-id { display: block; margin: .28rem 0 0; color: #748287 !important; font-size: .64rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
#adminFlightMediaSection .media-execution-plan { min-width: 0; padding: .35rem 0 .1rem .15rem; }
#adminFlightMediaSection .media-plan-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .7rem; margin-bottom: .5rem; padding-bottom: .4rem; border-bottom: 1px solid rgba(23,51,58,.12); }
#adminFlightMediaSection .media-plan-heading > div { display: grid; gap: .12rem; min-width: 0; }
#adminFlightMediaSection .media-plan-heading strong { font-size: .74rem !important; letter-spacing: .04em; text-transform: uppercase; }
#adminFlightMediaSection .media-plan-heading small { color: #748287; font-size: .62rem; font-weight: 750; }
#adminFlightMediaSection .media-sequence-label { color: #286d61; font-size: .62rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
#adminFlightMediaSection .media-plan-list { position: relative; display: grid; gap: .16rem; margin: 0; padding: 0; list-style: none; }
#adminFlightMediaSection .media-plan-stage { position: relative; display: grid; grid-template-columns: 1.55rem minmax(0,1fr); gap: .42rem; min-width: 0; padding: .28rem .38rem .28rem 0; border-left: 2px solid rgba(40,127,109,.22); }
#adminFlightMediaSection .media-plan-stage::after { content: ''; position: absolute; left: .68rem; bottom: -.21rem; width: 1px; height: .28rem; background: rgba(40,127,109,.28); }
#adminFlightMediaSection .media-plan-stage:last-child::after { display: none; }
#adminFlightMediaSection .media-plan-node { position: relative; z-index: 1; display: grid; width: 1.35rem; height: 1.35rem; margin-left: -.68rem; place-items: center; border: 1px solid rgba(40,127,109,.36); border-radius: 50%; color: #286d61; background: #edf7f3; font-size: .63rem; font-weight: 900; }
#adminFlightMediaSection .media-plan-stage-copy { display: grid; gap: .2rem; min-width: 0; }
#adminFlightMediaSection .media-plan-stage-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .35rem; min-width: 0; }
#adminFlightMediaSection .media-plan-stage-heading strong { min-width: 0; color: #17343c !important; font-size: .72rem !important; }
#adminFlightMediaSection .media-plan-stage-heading small { color: #748287; font-size: .62rem; line-height: 1.25; text-align: right; }
#adminFlightMediaSection .media-plan-stage-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .22rem; min-width: 0; }
#adminFlightMediaSection .media-plan-stage-actions .button { min-height: 1.95rem; padding: .34rem .55rem; border-radius: .35rem; font-size: .63rem; letter-spacing: .02em; line-height: 1.15; }
#adminFlightMediaSection .media-plan-stage-actions .button:disabled { cursor: not-allowed; opacity: .45; }
#adminFlightMediaSection .media-plan-note, #adminFlightMediaSection .media-plan-complete-label { color: #52686c; font-size: .66rem; line-height: 1.35; }
#adminFlightMediaSection .media-plan-next-step { color: #8d5a2a; font-size: .66rem; font-weight: 750; line-height: 1.35; overflow-wrap: anywhere; }
#adminFlightMediaSection .media-plan-action-feedback { color: #a44b1f; font-size: .66rem; font-weight: 750; line-height: 1.35; overflow-wrap: anywhere; }
#adminFlightMediaSection .media-plan-complete-label { color: #286d61; font-weight: 850; }
#adminFlightMediaSection .media-feedback-line { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; margin: .35rem 0 .15rem; color: #52686c; font-size: .7rem; line-height: 1.35; }
#adminFlightMediaSection .media-feedback-summary { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .35rem; min-width: 0; }
#adminFlightMediaSection .media-feedback-summary strong { color: #d78136; font-size: .86rem; letter-spacing: .08em; line-height: 1; }
#adminFlightMediaSection .media-feedback-summary > span { color: #52686c; font-size: .68rem; font-weight: 800; }
#adminFlightMediaSection .media-feedback-link { color: #286d61; font-size: .68rem; font-weight: 850; text-decoration: underline; text-underline-offset: .12em; }
#adminFlightMediaSection .media-feedback-link[aria-busy="true"] { opacity: .55; pointer-events: none; }
#adminFlightMediaSection .media-plan-stage-actions .media-feedback-summary.is-compact { gap: .25rem; }
#adminFlightMediaSection .media-plan-stage-actions .media-feedback-summary.is-compact strong { font-size: .78rem; }
#adminFlightMediaSection .media-plan-stage.is-complete { border-left-color: rgba(23,51,58,.13); background: rgba(224,235,230,.38); }
#adminFlightMediaSection .media-plan-stage.is-complete .media-plan-node { border-color: rgba(23,51,58,.2); color: #6e7c7c; background: #dce5e1; }
#adminFlightMediaSection .media-plan-stage.is-complete .media-plan-stage-copy { opacity: .84; }
#adminFlightMediaSection .media-plan-stage.is-locked { border-left-color: rgba(23,51,58,.12); }
#adminFlightMediaSection .media-plan-stage.is-locked .media-plan-node { border-color: rgba(23,51,58,.16); color: #879294; background: #eef1ef; }
#adminFlightMediaSection .media-plan-stage.is-locked .media-plan-stage-copy { opacity: .78; }
#adminFlightMediaSection .media-plan-stage.is-active { border-left-color: #d86b31; background: rgba(255,247,238,.56); }
#adminFlightMediaSection .media-plan-stage.is-active .media-plan-node { border-color: #d86b31; color: #a44b1f; background: #fff0e2; }
#adminFlightMediaSection .media-plan-stage.is-skipped { border-left-style: dashed; opacity: .86; }
#adminFlightMediaSection .media-plan-select { display: grid; gap: .12rem; min-width: 7.5rem; color: #748287; font-size: .59rem; font-weight: 800; }
#adminFlightMediaSection .media-plan-select select { min-height: 1.95rem; padding: .28rem .42rem; border: 1px solid rgba(23,51,58,.18); border-radius: .35rem; color: #17343c; background: #fff; font-size: .66rem; }
#adminFlightMediaSection .media-plan-terminal { display: flex; align-items: center; justify-content: space-between; gap: .55rem; margin-top: .45rem; padding-top: .5rem; border-top: 1px dashed rgba(23,51,58,.18); color: #748287; font-size: .62rem; font-weight: 750; }
#adminFlightMediaSection .media-plan-terminal .button { min-height: 1.85rem; padding: .3rem .5rem; border-radius: .35rem; font-size: .61rem; }
#adminFlightMediaSection .media-card-asset { min-width: 0; }
#adminFlightMediaSection .media-original-preview { position: relative; width: 100%; height: 15rem; min-width: 0; overflow: hidden; border-radius: .75rem; background: #17343c; }
#adminFlightMediaSection .media-original-preview > img,
#adminFlightMediaSection .media-original-preview > video { width: 100%; height: 100%; min-width: 0; display: block; object-fit: contain; object-position: center; background: #17343c; }
#adminFlightMediaSection .media-original-preview-image { cursor: zoom-in; }
#adminFlightMediaSection .media-original-preview-image:focus-visible { outline: 3px solid #d86b31; outline-offset: 3px; }
#adminFlightMediaSection .media-original-zoom-hint,
#adminFlightMediaSection .media-original-zoom-control { position: absolute; z-index: 2; right: .55rem; top: .55rem; min-height: 1.8rem; padding: .25rem .45rem; border: 1px solid rgba(255,255,255,.34); border-radius: .35rem; color: #fff; background: rgba(23,52,60,.78); font-size: .62rem; font-weight: 800; line-height: 1.2; }
#adminFlightMediaSection .media-original-zoom-control { cursor: zoom-in; }
#adminFlightMediaSection .media-inline-drafts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: .65rem; padding: .55rem; border: 1px solid rgba(40,127,109,.22); border-radius: .7rem; background: rgba(235,247,242,.72); }
#adminFlightMediaSection .media-inline-drafts-heading { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: .4rem; color: #155d58; font-size: .68rem; }
#adminFlightMediaSection .media-inline-drafts-heading span { display: inline-grid; min-width: 1.25rem; height: 1.25rem; place-items: center; border-radius: 999px; color: #fff; background: #287f6d; font-size: .62rem; font-weight: 850; }
#adminFlightMediaSection .media-inline-draft-row { display: grid; gap: .28rem; min-width: 0; padding: 0; border: 0; }
#adminFlightMediaSection .media-draft-thumbnail { position: relative; min-width: 0; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid rgba(23,51,58,.16); border-radius: .55rem; background: linear-gradient(145deg, #17343c, #287f6d); box-shadow: 0 .35rem .8rem rgba(23,52,60,.12); }
#adminFlightMediaSection .media-draft-thumbnail.is-tiktok { aspect-ratio: 9 / 16; }
#adminFlightMediaSection .media-draft-thumbnail.is-gallery { aspect-ratio: 4 / 3; }
#adminFlightMediaSection .media-draft-thumbnail::after { content: ''; position: absolute; inset: .32rem; border: 1px solid rgba(255,255,255,.35); border-radius: .35rem; pointer-events: none; }
#adminFlightMediaSection .media-draft-thumbnail-image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
#adminFlightMediaSection .media-draft-thumbnail.is-thumbnail-error .media-draft-thumbnail-image { opacity: .18; }
#adminFlightMediaSection .media-draft-thumbnail.is-thumbnail-error::before { content: 'Pregled obrađene slike nije dostupan'; position: absolute; z-index: 1; inset: 50% .7rem auto; color: #fff; font-size: .68rem; font-weight: 800; line-height: 1.3; text-align: center; transform: translateY(-50%); }
#adminFlightMediaSection .media-inline-draft-choice { display: flex; align-items: center; justify-content: center; gap: .25rem; min-width: 0; min-height: 1.9rem; margin: 0; padding: .25rem .3rem; border: 1px solid rgba(40,127,109,.2); border-radius: .4rem; color: #286d61; background: rgba(255,255,255,.86); font-size: .61rem; font-weight: 800; line-height: 1.2; cursor: pointer; }
#adminFlightMediaSection .media-inline-draft-choice span { min-width: 0; overflow-wrap: anywhere; text-align: center; }
#adminFlightMediaSection .media-inline-draft-choice input { width: .95rem; height: .95rem; min-width: .95rem; margin: 0; accent-color: #287f6d; }
#adminFlightMediaSection .media-draft-targets { display: flex; flex-wrap: wrap; gap: .3rem; min-width: 0; }
#adminFlightMediaSection .media-draft-target { display: inline-flex; align-items: center; gap: .25rem; min-height: 1.8rem; padding: .2rem .35rem; border: 1px solid rgba(40,127,109,.2); border-radius: .35rem; color: #17343c; background: rgba(255,255,255,.78); font-size: .62rem; font-weight: 800; cursor: pointer; }
#adminFlightMediaSection .media-draft-target input { width: 1rem; height: 1rem; min-width: 1rem; min-height: 1rem; margin: 0; accent-color: #287f6d; }
#adminFlightMediaSection .media-draft-legacy-controls { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
#adminFlightMediaSection .media-draft-action-feedback { color: #a44b1f; font-size: .62rem; font-weight: 750; overflow-wrap: anywhere; }
/* Compact status card; the execution line below remains a separate workflow component. */
#adminFlightMediaSection .media-queue-summary { margin: .55rem 0 .8rem; padding: .65rem .75rem; }
#adminFlightMediaSection .media-queue-inline { display: grid; gap: .3rem; min-width: 0; }
#adminFlightMediaSection .media-queue-header { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; min-width: 0; }
#adminFlightMediaSection .media-queue-header > div { display: grid; gap: .08rem; min-width: 0; }
#adminFlightMediaSection .media-queue-header .eyebrow { margin: 0; white-space: nowrap; }
#adminFlightMediaSection .media-queue-header h4 { margin: 0; font-size: .82rem; line-height: 1.2; }
#adminFlightMediaSection .media-queue-count { flex: 0 0 auto; padding-left: .55rem; border-left: 2px solid #287f6d; white-space: nowrap; }
#adminFlightMediaSection .media-queue-live,
#adminFlightMediaSection .media-queue-target-inline,
#adminFlightMediaSection .media-queue-action-inline,
#adminFlightMediaSection .media-queue-next,
#adminFlightMediaSection .media-queue-following { min-width: 0; margin: 0; color: #52686c; font-size: .7rem; line-height: 1.35; overflow-wrap: anywhere; }
#adminFlightMediaSection .media-queue-live { display: flex; align-items: baseline; gap: .25rem; }
#adminFlightMediaSection .media-queue-live span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#adminFlightMediaSection .media-queue-live strong,
#adminFlightMediaSection .media-queue-target-inline strong,
#adminFlightMediaSection .media-queue-action-inline strong,
#adminFlightMediaSection .media-queue-next strong,
#adminFlightMediaSection .media-queue-following strong { color: #17343c; white-space: nowrap; }
#adminFlightMediaSection .media-queue-target-inline { display: block; color: #8d5a2a; }
#adminFlightMediaSection .media-queue-action-inline { display: block; padding: .55rem .65rem; border: 1px solid rgba(23,51,58,.12); border-radius: .65rem; background: rgba(255,255,255,.76); }
#adminFlightMediaSection .media-queue-action-inline.is-actionable { border-color: rgba(216,107,49,.35); background: #fff4e8; color: #a44b1f; }
#adminFlightMediaSection .media-queue-action-inline.is-waiting { border-color: rgba(40,127,109,.24); background: #f1f8f4; color: #286b65; }
#adminFlightMediaSection .media-queue-action-inline.is-idle { color: #52686c; }
#adminFlightMediaSection .media-queue-next,
#adminFlightMediaSection .media-queue-following { display: block; }
@media (max-width: 640px) {
  #adminFlightMediaSection .media-queue-header { align-items: flex-start; }
  #adminFlightMediaSection .media-queue-live { align-items: flex-start; }
  #adminFlightMediaSection .media-queue-live span { white-space: normal; }
  #adminFlightMediaSection .media-queue-count { font-size: .66rem; }
}
@media (min-width: 901px) {
  #adminFlightMediaSection .admin-media-row { grid-template-columns: minmax(15rem, 22rem) minmax(0, 1fr) minmax(14rem, 18rem); }
  #adminFlightMediaSection .admin-media-row > .media-execution-plan { grid-column: auto; grid-row: auto; align-self: stretch; }
  #adminFlightMediaSection .media-plan-list { grid-template-columns: 1fr; align-content: start; }
}
@media (min-width: 761px) and (max-width: 900px) {
  #adminFlightMediaSection .admin-media-row { grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr) minmax(12rem, 16rem); }
  #adminFlightMediaSection .media-plan-list { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  #adminFlightMediaSection .media-plan-heading { align-items: flex-start; flex-direction: column; gap: .2rem; }
  #adminFlightMediaSection .media-plan-stage-heading { align-items: flex-start; flex-direction: column; gap: .12rem; }
  #adminFlightMediaSection .media-plan-stage-heading small { text-align: left; }
}
#adminCustomersList.customer-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}
.customer-profile-row {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
}
.customer-card-heading { display: flex; align-items: center; gap: 0.55rem; }
.customer-card-heading strong { min-width: 0; overflow-wrap: anywhere; }
.customer-card-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem 0.7rem; margin: 0; }
.customer-card-facts div { min-width: 0; }
.customer-card-facts dt { color: var(--muted, #6f8183); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; }
.customer-card-facts dd { margin: 0.12rem 0 0; overflow-wrap: anywhere; font-size: 0.86rem; }
.customer-card-feedback { display: grid; gap: 0.25rem; padding-top: 0.55rem; border-top: 1px solid rgba(23,51,58,.12); }
.customer-card-feedback strong, .admin-customer-flight-feedback strong { color: #d78136; letter-spacing: 0.08em; }
.customer-card-feedback span, .admin-customer-flight-feedback span { color: #52686c; font-size: 0.82rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.customer-profile-row > button { align-self: flex-start; margin-top: auto; }
.admin-customer-flight-feedback { display: grid; gap: 0.2rem; margin-top: 0.65rem; padding: 0.6rem 0.7rem; background: #f7f3eb; border-radius: 0.7rem; }
.admin-customer-flight-feedback small { color: #718184; }
.flight-feedback-form .checkbox-row { align-items: flex-start; }
@media (max-width: 1100px) {
  #adminCustomersList.customer-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
  body[data-active-page="ops"] #adminCustomersSection .admin-activity-grid { grid-template-columns: 1fr !important; }
}

/* Compact Ops work cards: action controls stay inside the card and reveal
   on hover without shifting or overflowing the surrounding surface. */
#adminVouchersSection .admin-activity-grid { overflow: hidden; }
.ops-voucher-card { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .7rem; min-height: 4rem; padding: .65rem .75rem; overflow: hidden; border: 1px solid rgba(23,51,58,.12); border-radius: .7rem; background: rgba(255,255,255,.76); }
.ops-voucher-icon { display: grid; width: 1.8rem; height: 1.8rem; place-items: center; border-radius: .55rem; color: #fff8ed; background: #287f6d; font-weight: 900; }
.ops-voucher-copy { display: grid; min-width: 0; gap: .15rem; }
.ops-voucher-copy strong, .ops-voucher-copy small { overflow-wrap: anywhere; }
.ops-voucher-copy small { color: var(--muted); line-height: 1.35; }
.ops-voucher-actions { display: flex; justify-content: flex-end; gap: .35rem; min-width: 0; opacity: 0; transform: translateX(.45rem); transition: opacity .18s ease, transform .18s ease; }
.ops-voucher-card:hover .ops-voucher-actions, .ops-voucher-card:focus-within .ops-voucher-actions { opacity: 1; transform: translateX(0); }
.ops-voucher-actions .button { max-width: 8.5rem; white-space: nowrap; }
.customer-work-card { display: grid; gap: .65rem; min-width: 0; padding: .9rem; border: 1px solid rgba(23,51,58,.13); border-radius: .85rem; background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(247,243,235,.8)); box-shadow: 0 .45rem 1rem rgba(23,52,60,.05); }
.customer-work-card:hover, .customer-work-card:focus-within { border-color: rgba(216,107,49,.42); box-shadow: 0 .7rem 1.35rem rgba(23,52,60,.1); }
.customer-card-top, .customer-card-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.customer-card-statuses { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .3rem; }
@media (max-width: 700px) { .customer-account-state-grid { grid-template-columns: 1fr; } .customer-card-top { flex-direction: column; } .customer-card-statuses { justify-content: flex-start; } }
.customer-card-heading { min-width: 0; }
.customer-card-heading > div { display: grid; min-width: 0; gap: .12rem; }
.customer-card-heading small { color: var(--muted); overflow-wrap: anywhere; }
.customer-card-contact { display: flex; flex-wrap: wrap; gap: .3rem .55rem; color: var(--muted); font-size: .72rem; }
.customer-permission-list { display: flex; flex-wrap: wrap; gap: .3rem; }
.customer-permission-chip { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .4rem; border: 1px solid rgba(23,51,58,.1); border-radius: 999px; font-size: .65rem; font-weight: 750; line-height: 1.1; }
.customer-permission-chip i { font-style: normal; font-weight: 900; }
.customer-permission-chip.is-on { color: #155d58; border-color: rgba(31,123,103,.24); background: rgba(229,247,242,.82); }
.customer-permission-chip.is-off { color: #6c7778; background: rgba(235,237,234,.7); }
.customer-card-footer { align-items: center; padding-top: .55rem; border-top: 1px solid rgba(23,51,58,.1); color: var(--muted); font-size: .7rem; }
.customer-card-footer .button { margin: 0; }
body[data-active-page="ops"] #adminCustomersSection .admin-activity-grid.customer-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
#adminFlightStatusBoard [data-board-card].is-case-card { cursor: pointer; }
#adminFlightStatusBoard [data-board-card].is-case-card:hover, #adminFlightStatusBoard [data-board-card].is-case-open { outline: 2px solid rgba(216,107,49,.65); outline-offset: 2px; }
@media (max-width: 900px) {
  body[data-active-page="ops"] #adminCustomersSection .admin-activity-grid.customer-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width: 640px) {
  .ops-voucher-actions { opacity: 1; transform: none; }
  .ops-voucher-card { grid-template-columns: auto minmax(0,1fr); }
  .ops-voucher-actions { grid-column: 1 / -1; justify-content: stretch; }
  .ops-voucher-actions .button { flex: 1 1 auto; max-width: none; }
  body[data-active-page="ops"] #adminCustomersSection .admin-activity-grid.customer-card-grid { grid-template-columns: 1fr !important; }
}

/* Pilot workspace refinement — compact controls, clear status hierarchy, and responsive review surfaces. */
body[data-active-page="pilot"] .pilot-board-toolbar {
  border: 1px solid rgba(40, 109, 97, .16);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(235,245,240,.72));
  box-shadow: 0 14px 30px rgba(23,52,60,.08);
}
body[data-active-page="pilot"] .pilot-board-toolbar-controls { gap: .55rem; }
body[data-active-page="pilot"] .pilot-board-filter, body[data-active-page="pilot"] .pilot-board-range { min-width: 10rem; }
body[data-active-page="pilot"] .pilot-board-filter select, body[data-active-page="pilot"] .pilot-board-range select { min-height: 2.65rem; border-color: rgba(23,52,60,.18); background: #fff; }
body[data-active-page="pilot"] .pilot-board-view-label { color: #286d61; font-weight: 850; }
body[data-active-page="pilot"] .pilot-proposal-alert { border: 1px solid rgba(143,45,43,.28); border-radius: .9rem; background: linear-gradient(135deg, #9f3937, #c85a43); box-shadow: 0 12px 24px rgba(143,45,43,.16); }
body[data-active-page="pilot"] .pilot-proposal-alert:focus-visible { outline: 3px solid rgba(216,107,49,.45); outline-offset: 3px; }
body[data-active-page="pilot"] .pilot-proposal-alert-badge { padding: .3rem .5rem; border-radius: .35rem; background: rgba(255,255,255,.16); }
body[data-active-page="pilot"] .pilot-invite-email-field { position: relative; }
body[data-active-page="pilot"] .pilot-invite-email-field input { min-height: 2.8rem; border-color: rgba(40,109,97,.3); box-shadow: 0 0 0 3px rgba(40,109,97,.04); }
body[data-active-page="pilot"] .pilot-invite-email-field input:focus { border-color: #286d61; box-shadow: 0 0 0 4px rgba(40,109,97,.12); }
body[data-active-page="pilot"] .pilot-invite-email-field .field-help { display: block; margin-top: .35rem; color: #64757b; font-size: .7rem; line-height: 1.35; }
body[data-active-page="pilot"] .pilot-ops-accordion { margin-top: .8rem; border-color: rgba(40,109,97,.22); }
body[data-active-page="pilot"] .pilot-ops-accordion:not([open]) { background: rgba(247,250,248,.86); }
body[data-active-page="pilot"] .proposal-row { align-items: flex-start; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid rgba(23,52,60,.1); }
body[data-active-page="pilot"] .proposal-row > div { min-width: 0; }
body[data-active-page="pilot"] .proposal-row-explanation { display: block; max-width: 52rem; margin-top: .3rem; color: #64757b; line-height: 1.45; }
body[data-active-page="pilot"] #pilotProposalSection { scroll-margin-top: 1.5rem; }
@media (max-width: 760px) {
  body[data-active-page="pilot"] .pilot-board-toolbar-controls { gap: .5rem; }
  body[data-active-page="pilot"] .pilot-board-filter, body[data-active-page="pilot"] .pilot-board-range { min-width: 0; width: 100%; }
  body[data-active-page="pilot"] .pilot-proposal-alert { align-items: flex-start; }
  body[data-active-page="pilot"] .proposal-row { flex-direction: column; gap: .55rem; }
}

/* Pilot mobile board: keep the two time-basis choices touchable while making
   the filter itself quieter, and make the four status columns read as a
   deliberate swipe rail rather than an unexplained clipped list. */
.pilot-board-carousel-affordance { display: none; }
@media (max-width: 760px) {
  body[data-active-page="pilot"] .pilot-board-time-basis {
    gap: .12rem .45rem;
    margin: 0;
    padding: .35rem .55rem .45rem;
  }
  body[data-active-page="pilot"] .pilot-board-time-basis legend {
    font-size: .59rem;
    line-height: 1.2;
  }
  body[data-active-page="pilot"] .pilot-board-time-basis-options {
    min-height: 2.75rem;
    height: 2.75rem;
    gap: .35rem .6rem;
  }
  body[data-active-page="pilot"] .pilot-board-time-basis-options label {
    min-height: 2.75rem;
    gap: .28rem;
  }
  body[data-active-page="pilot"] .pilot-board-time-basis-options input {
    width: 1rem !important;
    min-width: 1rem;
    height: 1rem !important;
    min-height: 1rem !important;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
  }
  body[data-active-page="pilot"] .pilot-board-time-basis select {
    height: 2.35rem !important;
    min-height: 2.35rem !important;
    padding: .3rem .55rem;
    font-size: .72rem;
  }
  body[data-active-page="pilot"] .pilot-board-carousel-affordance {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .35rem .55rem;
    margin: -.15rem 0 .35rem;
    padding: 0 .1rem;
    color: #65757b;
    font-size: .68rem;
    font-weight: 800;
  }
  body[data-active-page="pilot"] .pilot-board-carousel-hint {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  body[data-active-page="pilot"] .pilot-board-carousel-hint span {
    color: #d86b31;
    font-size: .9rem;
    margin-right: .2rem;
  }
  body[data-active-page="pilot"] .pilot-board-carousel-position {
    padding: .18rem .38rem;
    border: 1px solid rgba(40,109,97,.18);
    border-radius: 999px;
    background: rgba(232,241,238,.74);
    color: #286d61;
    white-space: nowrap;
  }
  body[data-active-page="pilot"] .pilot-board-carousel-dots {
    display: flex;
    grid-column: 1 / -1;
    justify-content: center;
    gap: .2rem;
  }
  body[data-active-page="pilot"] .pilot-board-carousel-dot {
    display: grid;
    place-items: center;
    width: 2.75rem;
    min-width: 2.75rem;
    height: 2.75rem;
    min-height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
  }
  body[data-active-page="pilot"] .pilot-board-carousel-dot span {
    width: .45rem;
    height: .45rem;
    border-radius: 999px;
    background: #aebcc0;
    transition: width .18s ease, background-color .18s ease;
  }
  body[data-active-page="pilot"] .pilot-board-carousel-dot[aria-pressed="true"] span {
    width: 1.35rem;
    background: #d86b31;
  }
  body[data-active-page="pilot"] .pilot-board-columns {
    grid-template-columns: repeat(4, minmax(calc(100% - 2.75rem), calc(100% - 2.75rem))) !important;
    width: max-content;
    margin-right: 0;
    padding-right: 1.2rem;
    overscroll-behavior-x: contain;
    scroll-padding-inline: .15rem;
    touch-action: pan-x pan-y;
  }
}

/* Pilot cockpit v2: the board is the first decision surface, while the Ops
   tab/family language becomes the navigation spine for the private portal. */
body[data-active-page="pilot"] .pilot-portal-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(18rem, .75fr);
  gap: clamp(1rem, 1.8vw, 1.5rem);
  align-items: start;
  padding-top: .75rem;
}
body[data-active-page="pilot"] .pilot-workspace-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.1rem, 2vw, 1.7rem);
  border: 1px solid rgba(23,52,60,.14);
  border-left: 5px solid #d86b31;
  border-radius: .65rem;
  background: linear-gradient(135deg, rgba(255,250,244,.98), rgba(232,241,238,.92));
  box-shadow: 0 .8rem 1.8rem rgba(23,52,60,.06);
}
body[data-active-page="pilot"] .pilot-workspace-header h2 { margin: .2rem 0 .35rem; color: #17343c; font-size: clamp(1.35rem, 2vw, 2rem); }
body[data-active-page="pilot"] .pilot-workspace-header > div:first-child > p:last-child { max-width: 58ch; margin: 0; color: #65757b; line-height: 1.55; }
body[data-active-page="pilot"] .pilot-workspace-header-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .55rem; }
body[data-active-page="pilot"] .pilot-workspace-header-actions .status-pill { white-space: nowrap; }
body[data-active-page="pilot"] .pilot-workspace-tabs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(18rem, .75fr);
  gap: 1rem;
  margin: 0;
  padding: .65rem .8rem;
  border: 1px solid rgba(23,52,60,.12);
  border-radius: .55rem;
  background: rgba(247,249,247,.88);
}
body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-zone { min-width: 0; }
body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-zone-config { border-left: 1px solid rgba(23,52,60,.11); padding-left: 1rem; }
body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-zone-families { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; }
body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-family { min-width: 0; }
body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-family-links { display: flex; flex-wrap: wrap; gap: .3rem; }
body[data-active-page="pilot"] .pilot-workspace-tabs a { text-decoration: none; }

body[data-active-page="pilot"] .pilot-inbox-available-grid { display: contents; }
body[data-active-page="pilot"] .pilot-inbox-card { grid-column: 1; grid-row: auto; order: 1; min-width: 0; }
body[data-active-page="pilot"] #pilotFlightMediaSection { grid-column: 2; grid-row: auto; order: 2; min-width: 0; }
body[data-active-page="pilot"] #pilotProposalAlert { grid-column: 1 / -1; grid-row: auto; order: 3; }
body[data-active-page="pilot"] #pilotPushCard { grid-column: 2; grid-row: auto; order: 4; width: auto; justify-self: stretch; }
body[data-active-page="pilot"] #pilotLedgerSection { grid-column: 1 / -1; grid-row: auto; order: 5; }
body[data-active-page="pilot"] #pilotAssignedSection { grid-column: 1; grid-row: auto; order: 6; }
body[data-active-page="pilot"] #pilotAvailableSection { grid-column: 2; grid-row: auto; order: 7; }
body[data-active-page="pilot"] #pilotClubWorkspace { grid-column: 1 / -1; grid-row: auto; order: 8; }
body[data-active-page="pilot"] #pilotProposalSection { grid-column: 1 / -1; grid-row: auto; order: 9; }

body[data-active-page="pilot"] .pilot-board-shell {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(1rem, 1.8vw, 1.45rem) !important;
  border: 1px solid rgba(23,52,60,.13) !important;
  border-top: 4px solid #d86b31 !important;
  border-radius: .65rem !important;
  background: linear-gradient(145deg, rgba(232,241,238,.97), rgba(255,250,244,.96)) !important;
  box-shadow: 0 .8rem 1.8rem rgba(23,52,60,.07) !important;
}
body[data-active-page="pilot"] .pilot-board-shell > .section-toolbar { width: auto; margin: 0 0 .85rem; padding: 0 0 .75rem; }
body[data-active-page="pilot"] .pilot-board-columns { gap: .55rem; }
body[data-active-page="pilot"] .pilot-board-column { min-height: 18rem; padding: .55rem; }

body[data-active-page="pilot"] #pilotFlightMediaSection,
body[data-active-page="pilot"] #pilotPushCard,
body[data-active-page="pilot"] #pilotLedgerSection,
body[data-active-page="pilot"] #pilotAssignedSection,
body[data-active-page="pilot"] #pilotAvailableSection,
body[data-active-page="pilot"] #pilotClubWorkspace,
body[data-active-page="pilot"] #pilotProposalSection {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23,52,60,.13);
  border-radius: .65rem;
  box-shadow: 0 .65rem 1.5rem rgba(23,52,60,.055);
}
body[data-active-page="pilot"] #pilotFlightMediaSection::before,
body[data-active-page="pilot"] #pilotPushCard::before,
body[data-active-page="pilot"] #pilotLedgerSection::before,
body[data-active-page="pilot"] #pilotAssignedSection::before,
body[data-active-page="pilot"] #pilotAvailableSection::before,
body[data-active-page="pilot"] #pilotClubWorkspace::before,
body[data-active-page="pilot"] #pilotProposalSection::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 4.5rem;
  height: .22rem;
  display: block;
  background: linear-gradient(90deg, #d86b31, #efad62, transparent);
}
body[data-active-page="pilot"] #pilotPushCard { min-height: 0; }
body[data-active-page="pilot"] #pilotClubWorkspace > .portal-grid { grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr); align-items: start; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-flight-journal { margin-top: 1rem; }

@media (max-width: 900px) {
  body[data-active-page="pilot"] .pilot-portal-workspace,
  body[data-active-page="pilot"] .pilot-workspace-tabs { grid-template-columns: minmax(0, 1fr); }
  body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-zone-config { border-top: 1px solid rgba(23,52,60,.11); border-left: 0; padding: .7rem 0 0; }
  body[data-active-page="pilot"] #pilotFlightMediaSection,
  body[data-active-page="pilot"] #pilotPushCard,
  body[data-active-page="pilot"] #pilotAvailableSection,
  body[data-active-page="pilot"] #pilotAssignedSection { grid-column: 1; }
}
@media (max-width: 760px) {
  body[data-active-page="pilot"] .pilot-workspace-header { align-items: flex-start; flex-direction: column; gap: .9rem; }
  body[data-active-page="pilot"] .pilot-workspace-header-actions { justify-content: flex-start; }
  body[data-active-page="pilot"] .pilot-workspace-tabs { padding: .6rem; }
  body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-zone-families { gap: .7rem; }
  body[data-active-page="pilot"] .pilot-board-shell { padding: .8rem !important; }
  body[data-active-page="pilot"] .pilot-board-columns { grid-template-columns: repeat(6, minmax(14.5rem, 1fr)); }
  body[data-active-page="pilot"] #pilotClubWorkspace > .portal-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Pilot cockpit correction: wide operational surfaces stay wide, while the
   compact notification rail and club controls share the upper workspace. */
body[data-active-page="pilot"] .pilot-portal-workspace {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 1.8vw, 1.5rem);
}
body[data-active-page="pilot"] .pilot-workspace-nav-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(18rem, .75fr);
  gap: 1rem;
  align-items: start;
  align-content: start;
  grid-auto-rows: max-content;
  width: 100%;
  min-width: 0;
}
body[data-active-page="pilot"] .pilot-workspace-nav-row .pilot-workspace-tabs {
  grid-column: auto;
  width: 100%;
  min-width: 0;
  height: auto;
  align-self: start;
  box-sizing: border-box;
}
body[data-active-page="pilot"] .pilot-nav-notifications {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  grid-auto-rows: max-content;
  gap: .65rem;
  width: 100%;
  min-width: 0;
  align-self: start;
}
body[data-active-page="pilot"] .pilot-nav-notifications .pilot-push-card {
  grid-column: 1 !important;
  grid-row: auto !important;
  order: initial !important;
  justify-self: stretch !important;
  width: 100%;
  min-height: 0;
  height: fit-content !important;
  box-sizing: border-box;
  display: grid;
  align-items: start;
  gap: .6rem;
  padding: .7rem .85rem !important;
}
body[data-active-page="pilot"] .pilot-nav-notifications .pilot-push-card .section-toolbar {
  display: grid;
  gap: .25rem;
  min-width: 0;
  margin: 0;
}
body[data-active-page="pilot"] .pilot-nav-notifications .pilot-push-card .section-toolbar > div {
  min-width: 0;
}
body[data-active-page="pilot"] .pilot-nav-notifications .pilot-push-card .helper-copy {
  display: block;
  margin: .25rem 0 0;
  overflow-wrap: anywhere;
  font-size: .7rem;
}
body[data-active-page="pilot"] .pilot-nav-notifications .pilot-push-card .status-pill {
  display: none;
}
body[data-active-page="pilot"] .pilot-nav-notifications .pilot-push-card .inline-actions {
  margin: 0;
  justify-content: flex-start;
}
body[data-active-page="pilot"] .pilot-nav-notifications .pilot-proposal-alert {
  grid-column: 1 !important;
  grid-row: auto !important;
  width: 100%;
  box-sizing: border-box;
  align-self: start;
  min-width: 0;
  margin: 0;
  border-radius: .65rem;
}
body[data-active-page="pilot"] #pilotClubWorkspace {
  grid-column: 1 / -1;
  grid-row: auto;
  order: 1;
  width: 100%;
}
body[data-active-page="pilot"] #pilotClubWorkspace > .pilot-club-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(22rem, .95fr);
  gap: 1rem;
  align-items: stretch;
}
body[data-active-page="pilot"] #pilotClubWorkspace > .pilot-club-layout > .pilot-club-management {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-width: 0;
}
body[data-active-page="pilot"] #pilotClubWorkspace > .pilot-club-layout > .pilot-club-management > .card,
body[data-active-page="pilot"] #pilotClubWorkspace > .pilot-club-layout > .club-flight-journal {
  min-width: 0;
  margin: 0;
}
body[data-active-page="pilot"] #pilotClubWorkspace > .pilot-club-layout > .club-flight-journal {
  height: 100%;
  box-sizing: border-box;
}
body[data-active-page="pilot"] .pilot-inbox-available-grid {
  display: contents;
  grid-column: 1 / -1;
}
body[data-active-page="pilot"] .pilot-inbox-card,
body[data-active-page="pilot"] #pilotFlightMediaSection,
body[data-active-page="pilot"] #pilotLedgerSection,
body[data-active-page="pilot"] #pilotAssignedSection,
body[data-active-page="pilot"] #pilotAvailableSection,
body[data-active-page="pilot"] #pilotProposalSection {
  grid-column: 1 / -1 !important;
  width: 100%;
  min-width: 0;
}
body[data-active-page="pilot"] .pilot-inbox-card { order: 2; }
body[data-active-page="pilot"] #pilotFlightMediaSection { order: 3; }
body[data-active-page="pilot"] #pilotLedgerSection { order: 4; }
body[data-active-page="pilot"] #pilotAssignedSection { order: 5; }
body[data-active-page="pilot"] #pilotAvailableSection { order: 6; }
body[data-active-page="pilot"] #pilotProposalSection { order: 7; }
body[data-active-page="pilot"] .pilot-section-accordion {
  margin: 0;
  padding: .15rem .95rem .95rem;
  border: 0;
  border-radius: .55rem;
  background: transparent;
  box-shadow: none;
}
body[data-active-page="pilot"] .pilot-section-accordion summary {
  min-height: 4rem;
  padding: .55rem 0;
}
body[data-active-page="pilot"] .pilot-section-accordion summary > span:first-child {
  display: grid;
  gap: .18rem;
}
body[data-active-page="pilot"] .pilot-section-accordion summary strong {
  color: #17343c;
  font-size: 1rem;
  letter-spacing: .02em;
  text-transform: none;
}
body[data-active-page="pilot"] .pilot-section-accordion summary small {
  color: #64757b;
  font-size: .72rem;
}
body[data-active-page="pilot"] .pilot-section-accordion .pilot-accordion-content {
  padding-top: .35rem;
  border-top: 1px solid rgba(23,52,60,.1);
}
body[data-active-page="pilot"] #pilotLedgerSection .pilot-section-accordion { background: transparent; }
body[data-active-page="pilot"] #pilotProposalSection .pilot-section-accordion { background: transparent; }
@media (max-width: 900px) {
  body[data-active-page="pilot"] .pilot-workspace-nav-row { grid-template-columns: minmax(0, 1fr); }
  body[data-active-page="pilot"] .pilot-club-layout { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 760px) {
  body[data-active-page="pilot"] .pilot-workspace-nav-row { gap: .75rem; }
  body[data-active-page="pilot"] .pilot-nav-notifications .pilot-push-card { align-items: flex-start; }
  body[data-active-page="pilot"] .pilot-nav-notifications .pilot-push-card .inline-actions { margin-left: auto; }
  body[data-active-page="pilot"] .pilot-section-accordion { padding-inline: .7rem; }
}

/* Pilot four-state board, club calendar and focused flight card. */
body[data-active-page="pilot"] .pilot-board-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; overflow: visible; }
body[data-active-page="pilot"] .pilot-board-card { cursor: pointer; }
body[data-active-page="pilot"] .pilot-board-card:hover, body[data-active-page="pilot"] .pilot-board-card:focus-visible { outline: 2px solid rgba(216,107,49,.55); outline-offset: 3px; }
.pilot-state-addon { display: grid; gap: .25rem; margin: .45rem 0; padding: .6rem .7rem; border: 1px solid rgba(193,139,42,.42); border-radius: .45rem; background: #fff6dc; color: #604514; font-size: .72rem; }
.pilot-state-addon span { color: #725c2e; line-height: 1.4; }
.pilot-share-control { display: grid; gap: .35rem; margin: .5rem 0; padding: .65rem .7rem; border: 1px solid rgba(40,127,109,.25); border-radius: .45rem; background: rgba(229,247,242,.72); color: #155d58; font-size: .72rem; }
.pilot-share-control label { display: flex; align-items: flex-start; gap: .4rem; font-weight: 750; }
.pilot-share-control select { min-height: 2.2rem; }
.pilot-share-control small { color: #55736e; line-height: 1.35; }
.pilot-club-calendar { display: grid; gap: .8rem; margin: .8rem 0 1rem; }
.club-session-locked { opacity: .62; filter: saturate(.45); }
.club-session-lock { display: grid; gap: .35rem; padding: .9rem; border: 1px dashed #b9c5c6; border-radius: .6rem; color: #66777c; background: repeating-linear-gradient(135deg, #f1f3f0, #f1f3f0 8px, #e9ece8 8px, #e9ece8 16px); }
.club-session-lock strong { color: #53676d; }
.pilot-calendar-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: .8rem; border: 1px solid rgba(40,127,109,.2); border-radius: .65rem; background: linear-gradient(135deg, rgba(237,248,244,.95), rgba(255,255,255,.9)); }
.pilot-calendar-header h4 { margin: .15rem 0 .25rem; color: #17343c; }
.pilot-calendar-header .helper-copy { margin: 0; }
.pilot-calendar-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: .35rem; color: #52686c; font-size: .72rem; font-weight: 750; }
.pilot-calendar-range-label { display:inline-flex; align-items:center; min-height:2rem; padding:0 .55rem; border:1px solid rgba(40,127,109,.2); border-radius:999px; color:#17343c; background:#fff; white-space:nowrap; }
.pilot-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(8rem, 1fr)); gap: .45rem; overflow-x: auto; padding-bottom: .25rem; }
.pilot-calendar-day { min-height: 12rem; padding: .55rem; border: 1px solid #d8dee1; border-radius: .5rem; background: #fbfcfa; }
.pilot-calendar-day > header { display: flex; align-items: center; justify-content: space-between; gap: .35rem; padding-bottom: .45rem; border-bottom: 1px solid #e2e7e6; color: #30484e; font-size: .72rem; }
.pilot-calendar-day > header span { display: grid; min-width: 1.35rem; height: 1.35rem; place-items: center; border-radius: 999px; background: #dfeee8; color: #155d58; font-size: .65rem; }
.pilot-calendar-day > div { display: grid; gap: .4rem; padding-top: .45rem; }
.pilot-calendar-flight { display: grid; gap: .18rem; width: 100%; padding: .55rem; border: 1px solid rgba(40,127,109,.25); border-left: 3px solid #328a7b; border-radius: .38rem; color: #17343c; background: #fff; text-align: left; cursor: pointer; }
.pilot-calendar-flight:hover, .pilot-calendar-flight:focus-visible { border-color: #d86b31; outline: 2px solid rgba(216,107,49,.25); outline-offset: 1px; }
.pilot-calendar-flight.is-complete { border-left-color: #1f7b67; background: #f0f8f4; }
.pilot-calendar-flight strong { overflow-wrap: anywhere; font-size: .7rem; }
.pilot-calendar-flight span, .pilot-calendar-flight small { color: #65757b; font-size: .64rem; line-height: 1.25; }
.pilot-calendar-empty { margin: 0; color: #879398; font-size: .68rem; }
.pilot-flight-focus { position: fixed; inset: 0; z-index: 160; display: flex; justify-content: flex-end; background: rgba(12,31,36,.35); }
.pilot-flight-focus.hidden { display: none; }
.pilot-flight-focus-backdrop { position: absolute; inset: 0; }
.pilot-flight-focus-dialog { position: relative; display: grid; grid-template-rows: auto minmax(0,1fr); width: min(36vw, 42rem); min-width: 22rem; height: 100%; overflow: auto; padding: 1rem; box-sizing: border-box; background: #f7f5ee; box-shadow: -1rem 0 3rem rgba(23,52,60,.2); }
.pilot-flight-focus-dialog > header { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; padding-bottom: .8rem; border-bottom: 1px solid rgba(23,51,58,.14); }
.pilot-flight-focus-dialog h2 { margin: .15rem 0 0; color: #17343c; font-size: 1.25rem; }
.pilot-flight-focus-dialog #pilotFlightFocusContent { padding-top: 1rem; }
.pilot-customer-qr-dialog { max-width: min(720px, calc(100vw - 32px)); }
.pilot-customer-qr-content { display: grid; gap: 18px; justify-items: center; padding: 18px clamp(16px, 4vw, 42px) 30px; text-align: center; }
.pilot-customer-qr-content img { width: min(560px, 82vw); height: auto; aspect-ratio: 1; background: #fff; border: 14px solid #fff; border-radius: 12px; box-shadow: 0 18px 50px rgba(17, 50, 56, .18); image-rendering: pixelated; }
.pilot-customer-qr-content .qr-access-url { max-width: 100%; overflow-wrap: anywhere; color: var(--muted, #52686c); font-size: .82rem; }
.pilot-client-access-list { display: grid; gap: .7rem; }
.pilot-client-access-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; border: 1px solid rgba(23,51,58,.12); border-radius: .75rem; background: rgba(255,255,255,.55); }
.pilot-client-access-row p, .pilot-client-access-row small { display: block; margin: .2rem 0 0; color: #52686c; }
.customer-flight-media-stage { margin: .8rem 0; padding: .85rem 1rem; border: 1px solid rgba(40,127,109,.22); border-radius: .75rem; background: linear-gradient(135deg, rgba(237,248,243,.9), rgba(255,250,240,.9)); }
.customer-flight-media-stage p { margin-bottom: 0; }
@media (max-width: 640px) { .pilot-client-access-row { align-items: flex-start; flex-direction: column; } }
.pilot-focus-booking .pilot-board-card { cursor: default; }
.pilot-focus-club-flight { display: grid; gap: .8rem; padding: 1rem; border: 1px solid #d8dee1; border-radius: .7rem; background: #fff; }
.pilot-focus-club-flight h3 { margin: 0; color: #17343c; }
.pilot-focus-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .55rem; }
.pilot-focus-facts span { display: grid; gap: .15rem; padding: .55rem; border-radius: .4rem; background: #f0f3f4; color: #5b6c73; font-size: .72rem; }
.pilot-focus-facts strong { color: #30484e; font-size: .64rem; text-transform: uppercase; letter-spacing: .05em; }
body.pilot-focus-open { overflow: hidden; }
@media (max-width: 900px) { body[data-active-page="pilot"] .pilot-board-columns { grid-template-columns: 1fr; } .pilot-calendar-grid { grid-template-columns: repeat(7, minmax(11rem, 1fr)); } .pilot-flight-focus-dialog { width: min(92vw, 42rem); min-width: 0; } }
@media (max-width: 640px) { .pilot-calendar-header { flex-direction: column; } .pilot-calendar-nav { justify-content: flex-start; } .pilot-flight-focus-dialog { width: 100vw; } }

/* Pilot club workspace refresh: compact management row, full-width calendar,
   and a tactile split media surface with an explicit preview action. */
body[data-active-page="pilot"] #pilotClubWorkspace > .pilot-club-layout {
  grid-template-columns: minmax(0, 1fr);
}
body[data-active-page="pilot"] #pilotClubWorkspace > .pilot-club-layout > .pilot-club-management {
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .9fr);
  align-items: start;
}
body[data-active-page="pilot"] #pilotClubWorkspace > .pilot-club-layout > .pilot-club-management > .card:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .7rem 1rem;
  align-items: end;
}
body[data-active-page="pilot"] #pilotClubWorkspace > .pilot-club-layout > .pilot-club-management > .card:first-child > .section-toolbar,
body[data-active-page="pilot"] #pilotClubWorkspace > .pilot-club-layout > .pilot-club-management > .card:first-child > #pilotClubSessionStatus,
body[data-active-page="pilot"] #pilotClubWorkspace > .pilot-club-layout > .pilot-club-management > .card:first-child > #pilotClubMembers,
body[data-active-page="pilot"] #pilotClubWorkspace > .pilot-club-layout > .pilot-club-management > .card:first-child > #pilotClubInviteForm {
  grid-column: 1 / -1;
}
body[data-active-page="pilot"] #pilotClubWorkspace > .pilot-club-layout > .pilot-club-management > .card:first-child > .field {
  min-width: 0;
  margin: 0;
}
body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubSessionControls {
  margin: 0;
  justify-content: flex-end;
  flex-wrap: nowrap;
}
body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubSessionControls .button { white-space: nowrap; }
body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(9rem, .7fr) auto;
  gap: .65rem;
  align-items: end;
}
body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm h4,
body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-email-field,
body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .field-help { grid-column: 1 / -1; }
body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .button { align-self: end; }
body[data-active-page="pilot"] #pilotClubWorkspace > .pilot-club-layout > .club-flight-journal {
  width: 100%;
  height: auto;
  min-width: 0;
}
body[data-active-page="pilot"] #pilotFlightMediaSection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(1rem, 2vw, 2rem);
  align-items: start;
}
body[data-active-page="pilot"] #pilotFlightMediaSection > .section-toolbar,
body[data-active-page="pilot"] #pilotFlightMediaSection > .helper-copy {
  grid-column: 1 / -1;
}
body[data-active-page="pilot"] #pilotFlightMediaSection > #pilotMediaForm { grid-column: 1; min-width: 0; }
body[data-active-page="pilot"] #pilotFlightMediaSection > #pilotMediaList { grid-column: 2; min-width: 0; }
body[data-active-page="pilot"] #pilotMediaList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  align-content: start;
  perspective: 1100px;
}
body[data-active-page="pilot"] #pilotMediaList > .media-summary,
body[data-active-page="pilot"] #pilotMediaList > .helper-copy { grid-column: 1 / -1; }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card {
  min-width: 0;
  border-color: rgba(40,109,97,.2);
  background: linear-gradient(145deg, #ffffff, #edf6f2);
  color: #17343c;
  box-shadow: 10px 14px 0 rgba(40,109,97,.08), 0 18px 30px rgba(23,52,60,.14);
  transform: rotateY(-4deg) translateY(0);
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card:nth-of-type(odd) { transform: rotateY(4deg) translateY(.35rem); }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card:hover,
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card:focus-visible { transform: translateY(-.35rem) rotateY(0); box-shadow: 0 22px 36px rgba(23,52,60,.2); }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-visual { aspect-ratio: 4 / 3; }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy { padding: .75rem; }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy strong,
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy p { color: #17343c; }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy small { color: #64757b; }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-kind-pill { color: #286d61; background: #e3f1ec; font-size: .62rem; }
body[data-active-page="pilot"] #pilotMediaLightbox { z-index: 180; }
body[data-active-page="pilot"] .pilot-media-lightbox-panel { color: #f6efe7; }
/* Pilot follow-up: folder media cards, clearer status holds and centred focus. */
body[data-active-page="pilot"] #pilotClubWorkspace { border-color: rgba(40,127,109,.22); background: linear-gradient(135deg, rgba(241,248,244,.96), rgba(255,250,240,.98) 58%, rgba(232,243,239,.94)); }
body[data-active-page="pilot"] #pilotClubWorkspace .club-create-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-create-fields .field { min-width: 0; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-active-identity { position: relative; display: flex; align-items: center; gap: .7rem; min-width: 0; overflow: hidden; padding: .7rem .8rem; border: 1px solid rgba(40,127,109,.22); border-radius: .7rem; background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(226,243,237,.78)); }
body[data-active-page="pilot"] #pilotClubWorkspace .club-active-identity::before { content: ''; position: absolute; inset: 0; background-image: var(--club-cover); background-position: center; background-size: cover; opacity: .12; pointer-events: none; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-active-identity > * { position: relative; z-index: 1; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-active-identity > div { display: grid; gap: .15rem; min-width: 0; flex: 1 1 auto; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-active-identity > div strong { overflow-wrap: anywhere; color: #17343c; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-active-identity > div span { color: #5d7474; font-size: .7rem; }
.club-active-logo { width: 2.55rem; height: 2.55rem; flex: 0 0 auto; object-fit: cover; border: 2px solid rgba(255,255,255,.92); border-radius: .65rem; background: #d9eee6; box-shadow: 0 .25rem .65rem rgba(23,52,60,.12); }
.club-active-logo-fallback { display: grid; place-items: center; color: #286d61; font-size: 1.15rem; }
.club-members-disclosure { margin-top: .55rem; border: 1px solid rgba(40,127,109,.18); border-radius: .6rem; background: rgba(255,255,255,.62); }
.club-members-disclosure summary { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .5rem .65rem; cursor: pointer; color: #285b58; font-size: .75rem; font-weight: 800; list-style: none; }
.club-members-disclosure summary::-webkit-details-marker { display: none; }
.club-members-disclosure summary::after { content: '⌄'; color: #328a7b; }
.club-members-disclosure[open] summary::after { content: '⌃'; }
.club-members-disclosure summary strong { display: grid; min-width: 1.35rem; height: 1.35rem; place-items: center; border-radius: 999px; background: #dfeee8; color: #155d58; font-size: .65rem; }
.club-members-list { display: grid; gap: .35rem; padding: 0 .65rem .65rem; }
.club-member-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .4rem .45rem; border-top: 1px solid rgba(40,127,109,.1); }
.club-member-row strong { color: #30484e; font-size: .72rem; }
body[data-active-page="pilot"] .pilot-board-toolbar-controls > .pilot-board-range,
body[data-active-page="pilot"] .pilot-board-toolbar-controls > .pilot-board-filter { flex: 1 1 11rem; min-width: 10rem; }
body[data-active-page="pilot"] .pilot-board-toolbar-controls > .pilot-board-range select,
body[data-active-page="pilot"] .pilot-board-toolbar-controls > .pilot-board-filter select { width: 100%; min-height: 2.35rem; }
body[data-active-page="pilot"] .pilot-board-toolbar-controls [data-pilot-board-type],
body[data-active-page="pilot"] .pilot-board-toolbar-controls [data-pilot-board-days],
body[data-active-page="pilot"] .pilot-board-toolbar-controls [data-pilot-board-status] { height: 2.35rem; min-height: 2.35rem; box-sizing: border-box; }
body[data-active-page="pilot"] .pilot-board-toolbar-controls > .pilot-board-range,
body[data-active-page="pilot"] .pilot-board-toolbar-controls > .pilot-board-filter { display: grid; gap: .25rem; align-content: end; }
body[data-active-page="pilot"] .pilot-share-control { grid-template-columns: minmax(0, 1fr) minmax(8rem, 12rem); align-items: center; gap: .25rem .5rem; padding: .45rem .55rem; }
body[data-active-page="pilot"] .pilot-share-control label { align-items: center; min-width: 0; }
body[data-active-page="pilot"] .pilot-share-control label span { overflow-wrap: anywhere; line-height: 1.2; }
body[data-active-page="pilot"] .pilot-share-control select { min-height: 1.9rem; padding: .25rem .45rem; font-size: .7rem; }
body[data-active-page="pilot"] .pilot-share-control small { grid-column: 1 / -1; font-size: .62rem; }
body[data-active-page="pilot"] #pilotMediaList { grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .7rem; align-content: start; align-self: stretch; perspective: none; }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card { position: relative; overflow: visible; min-height: 0; transform: none !important; border: 1px solid rgba(40,127,109,.25); border-radius: .65rem; background: linear-gradient(145deg, #f8fffb, #dcefe8 72%, #c9e3da); box-shadow: .28rem .28rem 0 rgba(40,127,109,.15), .56rem .56rem 0 rgba(40,127,109,.07), 0 .7rem 1.1rem rgba(23,52,60,.1); }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card::before { content: ''; position: absolute; z-index: 2; top: -.36rem; left: .65rem; width: 2.8rem; height: .55rem; border: 1px solid rgba(40,127,109,.23); border-bottom: 0; border-radius: .35rem .35rem 0 0; background: #dcefe8; }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card:hover, body[data-active-page="pilot"] #pilotMediaList .pilot-media-card:focus-visible { transform: translateY(-.2rem) !important; border-color: #328a7b; box-shadow: .28rem .28rem 0 rgba(40,127,109,.15), .56rem .56rem 0 rgba(40,127,109,.07), 0 1rem 1.4rem rgba(23,52,60,.16); }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-visual { aspect-ratio: 5 / 4; border-radius: .55rem .55rem .35rem .35rem; background: linear-gradient(145deg, #c5e3d9, #eaf7f2); }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy { gap: .25rem; padding: .48rem .55rem .58rem; }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy strong { max-width: 12ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .68rem; }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy p { display: -webkit-box; overflow: hidden; margin: 0; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .62rem; line-height: 1.25; }
body[data-active-page="pilot"] .pilot-card-state-banner { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: .15rem 0 .45rem; padding: .48rem .58rem; border: 2px solid currentColor; border-radius: .45rem; font-size: .68rem; }
body[data-active-page="pilot"] .pilot-card-state-banner strong { font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; }
body[data-active-page="pilot"] .pilot-card-state-reschedule { color: #80571a; background: linear-gradient(135deg, #fff4cf, #ffebad); border-color: #d59b2d; }
body[data-active-page="pilot"] .pilot-card-state-weather { color: #7c3e2a; background: linear-gradient(135deg, #fff0df, #ffe0c7); border-color: #d96e3c; }
body[data-active-page="pilot"] .pilot-board-card.is-reschedule-hold { border-color: #d59b2d; box-shadow: 0 0 0 3px rgba(213,155,45,.16), 0 .55rem 1.1rem rgba(128,87,26,.1); }
body[data-active-page="pilot"] .pilot-board-card.is-weather-hold { border-color: #d96e3c; box-shadow: 0 0 0 3px rgba(217,110,60,.16), 0 .55rem 1.1rem rgba(124,62,42,.1); }
body[data-active-page="pilot"] .pilot-flight-focus { justify-content: center; align-items: center; padding: 1rem; background: rgba(12,31,36,.56); backdrop-filter: blur(5px); }
body[data-active-page="pilot"] .pilot-flight-focus-dialog { width: min(64rem, calc(100vw - 2rem)); min-width: 0; height: min(88vh, 48rem); max-height: calc(100vh - 2rem); border: 1px solid rgba(40,127,109,.24); border-radius: 1.1rem; box-shadow: 0 1.5rem 4rem rgba(23,52,60,.28); }
body[data-active-page="pilot"] .pilot-flight-focus-dialog > header { padding: .9rem 1rem; border-radius: .7rem; background: linear-gradient(135deg, #edf8f3, #fffaf0); }
body[data-active-page="pilot"] .pilot-flight-focus-dialog #pilotFlightFocusContent { padding: 1rem; overflow: auto; }
@media (max-width: 900px) {
  body[data-active-page="pilot"] #pilotClubWorkspace .club-create-fields { grid-template-columns: minmax(0, 1fr); }
  body[data-active-page="pilot"] .pilot-share-control { grid-template-columns: minmax(0, 1fr); }
  body[data-active-page="pilot"] .pilot-share-control small { grid-column: auto; }
  body[data-active-page="pilot"] .pilot-flight-focus { padding: .5rem; }
  body[data-active-page="pilot"] .pilot-flight-focus-dialog { width: min(100%, 42rem); height: calc(100vh - 1rem); }
}
@media (max-width: 560px) {
  body[data-active-page="pilot"] #pilotMediaList { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-active-page="pilot"] .pilot-card-state-banner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 900px) {
  body[data-active-page="pilot"] #pilotClubWorkspace > .pilot-club-layout > .pilot-club-management { grid-template-columns: minmax(0, 1fr); }
  body[data-active-page="pilot"] #pilotFlightMediaSection { grid-template-columns: minmax(0, 1fr); }
  body[data-active-page="pilot"] #pilotFlightMediaSection > #pilotMediaForm,
  body[data-active-page="pilot"] #pilotFlightMediaSection > #pilotMediaList { grid-column: 1; }
}
@media (max-width: 560px) {
  body[data-active-page="pilot"] #pilotClubWorkspace > .pilot-club-layout > .pilot-club-management > .card:first-child { display: block; }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubSessionControls { justify-content: flex-start; margin-top: .7rem; }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm { display: block; }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > * { margin-top: .65rem; }
  body[data-active-page="pilot"] #pilotMediaList { grid-template-columns: minmax(0, 1fr); }
  body[data-active-page="pilot"] #pilotMediaList > .media-summary,
  body[data-active-page="pilot"] #pilotMediaList > .helper-copy { grid-column: 1; }
}

/* Pilot follow-up: wide media rail, readable focus card and multi-pilot filters. */
body[data-active-page="pilot"] #pilotFlightMediaSection { grid-template-columns: minmax(17rem, .7fr) minmax(0, 1.3fr); }
body[data-active-page="pilot"] #pilotFlightMediaSection > #pilotMediaList { grid-column: 2; width: 100%; }

/* Club workspace v3: Active club and New club share one controlled surface. */
body[data-active-page="pilot"] #pilotClubWorkspace .club-active-panel { display: grid; gap: .75rem; border-color: rgba(40,127,109,.3); background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(231,246,239,.88)); }
body[data-active-page="pilot"] #pilotClubWorkspace .club-selector-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .7rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-session-actions { display: flex; flex-wrap: wrap; gap: .45rem; padding-bottom: .06rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-session-actions .button-danger { color: #8c3025; border-color: rgba(160,61,48,.48); background: #fff4f0; font-weight: 800; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-exit-note { margin: -.25rem 0 0; color: #7d5b46; font-size: .72rem; line-height: 1.45; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-stats-grid > div { display: grid; gap: .16rem; min-width: 0; padding: .65rem .7rem; border: 1px solid rgba(40,127,109,.16); border-radius: .65rem; background: rgba(255,255,255,.7); }
body[data-active-page="pilot"] #pilotClubWorkspace .club-stats-grid strong { color: #155d58; font-size: 1.25rem; line-height: 1; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-stats-grid span { color: #5d7474; font-size: .64rem; line-height: 1.25; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-create-disclosure { margin-top: .15rem; border-top: 1px solid rgba(40,127,109,.18); padding-top: .7rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-create-disclosure summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; cursor: pointer; list-style: none; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-create-disclosure summary::-webkit-details-marker { display: none; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-create-disclosure summary strong,
body[data-active-page="pilot"] #pilotClubWorkspace .club-create-disclosure summary small { display: block; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-create-disclosure summary strong { color: #285b58; font-size: .84rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-create-disclosure summary small { margin-top: .18rem; color: #6e7f80; font-size: .68rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-create-disclosure form { margin-top: .8rem; }
.club-invite-context { margin: .7rem 0; padding: .7rem .8rem; border: 1px solid rgba(40,127,109,.28); border-radius: .65rem; background: #edf8f3; color: #285b58; font-size: .78rem; line-height: 1.45; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-picker { display: grid; gap: .45rem; margin-bottom: .65rem; padding: .65rem; border: 1px solid rgba(40,127,109,.15); border-radius: .65rem; background: rgba(255,255,255,.56); }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-profile { display: grid; gap: .16rem; color: #5d7474; font-size: .68rem; line-height: 1.35; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-profile strong { color: #285b58; font-size: .78rem; }
@media (max-width: 700px) {
  body[data-active-page="pilot"] #pilotClubWorkspace .club-selector-row { grid-template-columns: minmax(0, 1fr); }
  body[data-active-page="pilot"] #pilotClubWorkspace .club-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
body[data-active-page="pilot"] #pilotMediaList { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; perspective: none; }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-track { display: flex; gap: 1rem; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: .35rem .25rem .8rem; }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card { flex: 0 0 clamp(19rem, 31vw, 29rem); scroll-snap-align: start; min-height: 21rem; box-shadow: .35rem .35rem 0 rgba(40,127,109,.16), .7rem .7rem 0 rgba(40,127,109,.08), 0 1rem 1.5rem rgba(23,52,60,.12); }

/* Pegazus club card: approved option C, scoped to the Pilot club workspace. */
body[data-active-page="pilot"] #pilotClubWorkspace { position: relative; overflow: visible; border-color: rgba(22,76,80,.2); background: #f7fbf8; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-active-panel { position: relative; overflow: visible; gap: .9rem; padding: clamp(1rem, 2vw, 1.35rem); border-color: rgba(22,76,80,.18); background: #f9fcfa; box-shadow: 0 .75rem 2rem rgba(22,76,80,.08); }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-hero { position: relative; isolation: isolate; min-height: 13rem; overflow: hidden; border-radius: 1rem; color: #f6fffb; background: #17343c; box-shadow: 0 .8rem 1.6rem rgba(23,52,60,.2); }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-hero::before { content: ''; position: absolute; z-index: -2; inset: 0; background-image: var(--club-cover); background-position: center; background-size: cover; filter: saturate(.92); }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(9,33,40,.9) 0%, rgba(13,49,55,.68) 52%, rgba(13,49,55,.2) 100%); }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-hero-content { display: flex; align-items: flex-end; gap: 1rem; min-height: 13rem; box-sizing: border-box; padding: clamp(1rem, 3vw, 1.7rem); }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-mark { display: grid; flex: 0 0 auto; place-items: center; width: 4.4rem; height: 4.4rem; border: 1px solid rgba(255,255,255,.55); border-radius: 1rem; background: rgba(230,250,240,.18); box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.18); backdrop-filter: blur(3px); }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-mark .club-active-logo { width: 3.4rem; height: 3.4rem; border: 2px solid rgba(255,255,255,.9); border-radius: .8rem; background: rgba(223,246,237,.9); }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-mark .club-active-logo-fallback { color: #b9ead6; font-size: 1.7rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-copy { display: grid; align-content: end; gap: .22rem; min-width: 0; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-kicker { margin: 0; color: #a9dfca; font-size: .64rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-copy h4 { margin: 0; color: #fff; font-size: clamp(1.35rem, 3vw, 2.15rem); line-height: 1.05; overflow-wrap: anywhere; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-copy p { margin: 0; color: #e1f4eb; font-size: .86rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-copy small { color: #b7d7cf; font-size: .7rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-role { align-self: flex-start; margin-left: auto; padding: .38rem .58rem; border: 1px solid rgba(183,236,216,.42); border-radius: 999px; color: #d8f7e9; background: rgba(22,89,82,.5); font-size: .65rem; font-weight: 800; white-space: nowrap; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-empty { display: flex; align-items: center; gap: .75rem; min-height: 7rem; padding: 1rem; color: #285b58; background: #eaf6f0; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-empty > div { display: grid; gap: .2rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-empty strong { font-size: .9rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-empty span:last-child { color: #688080; font-size: .72rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-controls { padding: .75rem; border: 1px solid rgba(22,76,80,.14); border-radius: .8rem; background: #fff; box-shadow: 0 .35rem .9rem rgba(22,76,80,.06); }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-controls .field { margin: 0; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-controls .field > span { color: #356361; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-controls select { min-height: 2.65rem; border-color: rgba(22,76,80,.22); color: #17343c; background: #f6fbf8; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-controls .club-session-actions { align-items: end; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-controls .club-session-actions .button { min-height: 2.65rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-stats-grid > div { min-height: 4.1rem; align-content: center; padding: .7rem .8rem; border-color: rgba(22,76,80,.14); background: #fff; box-shadow: 0 .25rem .6rem rgba(22,76,80,.04); }
body[data-active-page="pilot"] #pilotClubWorkspace .club-stats-grid strong { color: #17635c; font-size: 1.45rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-stats-grid span { color: #6b7f7d; font-size: .65rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-picker { position: relative; z-index: 1; margin: 0; padding: .75rem; border-color: rgba(22,76,80,.14); background: #fff; box-shadow: 0 .3rem .75rem rgba(22,76,80,.05); }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-picker .field { margin: 0; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-picker .field > span { color: #356361; font-size: .68rem; font-weight: 800; text-transform: uppercase; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-picker select { min-height: 2.45rem; border-color: rgba(22,76,80,.2); }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-profile { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-profile small { color: #71817f; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-drawer { position: absolute; z-index: 5; top: 1rem; right: 1rem; width: min(23rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); overflow: auto; padding: 1rem; border: 1px solid rgba(22,76,80,.2); border-radius: .95rem; color: #17343c; background: rgba(255,255,255,.98); box-shadow: 0 1.1rem 2.8rem rgba(23,52,60,.23); }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-drawer > header { display: flex; align-items: flex-start; justify-content: space-between; gap: .7rem; padding-bottom: .75rem; border-bottom: 1px solid rgba(22,76,80,.12); }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-drawer h4 { margin: .15rem 0 0; color: #17343c; font-size: 1rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-drawer-profile { display: flex; align-items: center; gap: .7rem; padding: .9rem 0; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 50%; color: #fff; background: #1d7469; font-weight: 800; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-drawer-profile div { display: grid; gap: .18rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-drawer-profile strong { color: #17343c; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-drawer-profile span { color: #69807f; font-size: .72rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; margin: 0; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-details > div { padding: .5rem; border-radius: .55rem; background: #f0f8f4; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-details dt { color: #6f8381; font-size: .61rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-details dd { margin: .18rem 0 0; color: #285b58; font-size: .7rem; font-weight: 700; overflow-wrap: anywhere; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-flight-summary { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid rgba(22,76,80,.12); }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-flight-summary .section-toolbar { margin: 0 0 .6rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-flight-summary h5 { margin: .12rem 0 0; color: #17343c; font-size: 1.05rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-flight-list { display: grid; gap: .4rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-flight-row { display: grid; gap: .15rem; padding: .55rem .6rem; border-left: 3px solid #52a990; border-radius: .35rem; background: #f7fbf8; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-flight-row strong { color: #285b58; font-size: .72rem; }
body[data-active-page="pilot"] #pilotClubWorkspace .club-member-flight-row span { color: #71817f; font-size: .65rem; }
body[data-active-page="pilot"] #pilotClubWorkspace > .pilot-club-layout > .pilot-club-management { grid-template-columns: minmax(0, 1fr); }
body[data-active-page="pilot"] #pilotClubWorkspace > .pilot-club-layout > .pilot-club-management > .club-active-panel { display: flex !important; flex-direction: column; align-items: stretch !important; }
body[data-active-page="pilot"] #pilotClubWorkspace > .pilot-club-layout > .pilot-club-management > .club-active-panel > * { grid-column: auto; }
@media (max-width: 700px) {
  body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-hero-content { min-height: 11rem; padding: 1rem; }
  body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-mark { width: 3.5rem; height: 3.5rem; border-radius: .8rem; }
  body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-mark .club-active-logo { width: 2.65rem; height: 2.65rem; }
  body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-copy h4 { font-size: 1.3rem; }
  body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-role { position: absolute; top: 1rem; right: 1rem; }
  body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-controls { grid-template-columns: minmax(0, 1fr); }
  body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-controls .club-session-actions { justify-content: stretch; }
  body[data-active-page="pilot"] #pilotClubWorkspace .club-pegazus-controls .club-session-actions .button { flex: 1 1 0; }
  body[data-active-page="pilot"] #pilotClubWorkspace .club-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-active-page="pilot"] #pilotClubWorkspace .club-member-drawer { position: relative; top: auto; right: auto; width: auto; max-height: none; }
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-visual { aspect-ratio: 16 / 10; }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy { padding: .8rem .9rem 1rem; }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy strong { max-width: 24ch; font-size: .9rem; }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy p { font-size: .78rem; line-height: 1.4; }
.pilot-media-carousel-nav { display: flex; align-items: center; justify-content: flex-end; gap: .55rem; color: #286d61; font-size: .75rem; font-weight: 800; }
.pilot-media-carousel-nav .button { min-width: 2.4rem; padding-inline: .5rem; font-size: 1.15rem; line-height: 1; }

/* Owner correction: keep the earlier folder-card treatment, with the upload
   form on the left and the slightly enlarged media carousel on the right. */
body[data-active-page="pilot"] #pilotMediaList .pilot-media-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  width: 100%;
  overflow: visible;
  padding: .45rem .25rem .85rem;
  scroll-snap-type: none;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card {
  flex: 0 0 auto;
  min-height: 15rem;
  transform: none !important;
  border: 1px solid rgba(40,127,109,.25);
  border-radius: .65rem;
  background: linear-gradient(145deg, #f8fffb, #dcefe8 72%, #c9e3da);
  box-shadow: .28rem .28rem 0 rgba(40,127,109,.15), .56rem .56rem 0 rgba(40,127,109,.07), 0 .7rem 1.1rem rgba(23,52,60,.1);
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card::before {
  content: '';
  position: absolute;
  z-index: 2;
  top: -.36rem;
  left: .65rem;
  width: 2.8rem;
  height: .55rem;
  border: 1px solid rgba(40,127,109,.23);
  border-bottom: 0;
  border-radius: .35rem .35rem 0 0;
  background: #dcefe8;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-visual {
  aspect-ratio: 5 / 4;
  border-radius: .55rem .55rem .35rem .35rem;
  background: linear-gradient(145deg, #c5e3d9, #eaf7f2);
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy { gap: .25rem; padding: .58rem .65rem .7rem; }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy strong { max-width: 16ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .74rem; }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy p { display: -webkit-box; overflow: hidden; margin: 0; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .68rem; line-height: 1.3; }
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card:hover,
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card:focus-visible { transform: translateY(-.2rem) !important; border-color: #328a7b; box-shadow: .28rem .28rem 0 rgba(40,127,109,.15), .56rem .56rem 0 rgba(40,127,109,.07), 0 1rem 1.4rem rgba(23,52,60,.16); }
@media (max-width: 900px) {
  body[data-active-page="pilot"] #pilotFlightMediaSection > #pilotMediaList { grid-column: 1; }
}
@media (max-width: 560px) {
  body[data-active-page="pilot"] #pilotMediaList .pilot-media-track { grid-template-columns: minmax(0, 1fr); }
}
.pilot-checkbox-filter { display: grid; gap: .4rem; margin: .6rem 0; padding: .65rem .75rem; border: 1px solid rgba(40,127,109,.2); border-radius: .55rem; background: linear-gradient(135deg, rgba(241,249,245,.95), rgba(255,250,240,.95)); }
.pilot-checkbox-filter-label { color: #285b58; font-size: .72rem; font-weight: 800; }
.pilot-checkbox-filter-options { display: flex; flex-wrap: wrap; gap: .45rem .8rem; }
.pilot-checkbox-filter-options label { display: inline-flex; align-items: center; gap: .3rem; color: #30484e; font-size: .72rem; font-weight: 700; }
.pilot-checkbox-filter-options input { accent-color: #328a7b; }
body[data-active-page="pilot"] .pilot-board-pilot-filter { flex: 1 1 100%; min-width: 100%; }
body[data-active-page="pilot"] .pilot-board-search { display: grid; flex: 1 1 15rem; min-width: 13rem; gap: .25rem; align-content: end; }
body[data-active-page="pilot"] .pilot-board-search input { width: 100%; min-height: 2.35rem; box-sizing: border-box; }
body[data-active-page="pilot"] .pilot-flight-focus-dialog { grid-template-rows: auto auto; width: min(78rem, calc(100vw - 2rem)); height: auto; max-height: calc(100vh - 2rem); min-height: 0; padding: 1.25rem; }
body[data-active-page="pilot"] .pilot-flight-focus-dialog #pilotFlightFocusContent { min-height: 0; max-height: calc(100vh - 8rem); padding: 1rem 0 0; overflow: auto; }
body[data-active-page="pilot"] .pilot-focus-booking .pilot-board-card { padding: 1.25rem; font-size: 1rem; line-height: 1.5; }
body[data-active-page="pilot"] .pilot-focus-booking .pilot-board-card header { gap: 1rem; }
body[data-active-page="pilot"] .pilot-focus-booking .pilot-board-card .pilot-avatar { width: 3.25rem; height: 3.25rem; }
body[data-active-page="pilot"] .pilot-focus-booking .pilot-board-card strong { font-size: 1.1rem; }
body[data-active-page="pilot"] .pilot-focus-booking .pilot-board-card p,
body[data-active-page="pilot"] .pilot-focus-booking .pilot-board-card .pilot-board-next-step { font-size: .95rem; }
body[data-active-page="pilot"] .pilot-focus-booking .pilot-board-card .pilot-board-card-meta { gap: .6rem; padding: .65rem 0; font-size: .85rem; }
body[data-active-page="pilot"] #pilotProposalSection { border: 1px solid rgba(40,127,109,.24); background: linear-gradient(135deg, #f1faf5, #fffaf0 62%, #e8f3ef); box-shadow: 0 .7rem 1.8rem rgba(23,52,60,.08); }
body[data-active-page="pilot"] #pilotProposalSection .pilot-form-section { border: 1px solid rgba(40,127,109,.18); border-radius: .75rem; background: rgba(255,255,255,.72); box-shadow: 0 .35rem .8rem rgba(40,127,109,.06); }
body[data-active-page="pilot"] #pilotProposalSection .pilot-form-section-heading { color: #286d61; }
body[data-active-page="pilot"] #pilotProposalSection .pilot-form-section-index { background: linear-gradient(135deg, #328a7b, #d59b2d); color: #fff; box-shadow: 0 .2rem .5rem rgba(40,127,109,.2); }
body[data-active-page="pilot"] .pilot-proposal-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  align-items: start;
}
body[data-active-page="pilot"] #pilotProposalStatusSection {
  width: auto;
  margin-top: 0;
  padding: .9rem 1rem;
  border: 1px solid rgba(40,127,109,.18);
  border-radius: .75rem;
  background: rgba(255,255,255,.72);
  box-shadow: 0 .35rem .8rem rgba(40,127,109,.06);
}
body[data-active-page="pilot"] #pilotProposalStatusSection .section-toolbar { align-items: flex-start; gap: .7rem; }
body[data-active-page="pilot"] #pilotProposalStatusSection .section-toolbar h3 { margin: 0; }
body[data-active-page="pilot"] #pilotProposalStatusSection .proposal-list { display: grid; gap: .45rem; }
body[data-active-page="pilot"] #pilotProposalStatusSection .proposal-row { margin: 0; padding: .7rem 0; }
@media (max-width: 900px) {
  body[data-active-page="pilot"] #pilotFlightMediaSection { grid-template-columns: 1fr; }
  body[data-active-page="pilot"] #pilotFlightMediaSection > #pilotMediaForm,
  body[data-active-page="pilot"] #pilotFlightMediaSection > #pilotMediaList { grid-column: 1; }
  body[data-active-page="pilot"] .pilot-flight-focus-dialog { width: min(100%, 52rem); padding: .9rem; }
  body[data-active-page="pilot"] .pilot-proposal-status-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body[data-active-page="pilot"] #pilotMediaList .pilot-media-card { flex-basis: min(88vw, 26rem); min-height: 18rem; }
  .pilot-checkbox-filter-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-active-page="pilot"] .pilot-board-pilot-filter { min-width: 0; }
  body[data-active-page="pilot"] #pilotProposalStatusSection { width: auto; box-sizing: border-box; }
}

/* Owner follow-up: keep the mint folder treatment, but build each media card
   from layered Mac-like folders and keep the folder within the form's visual
   height (heading through the Ops-review button). */
body[data-active-page="pilot"] #pilotMediaList .pilot-media-track {
  align-items: start;
  column-gap: 1rem;
  row-gap: 1.15rem;
  padding: .85rem .75rem 1.1rem;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card {
  --pilot-folder-front: #f8fffb;
  --pilot-folder-middle: #e7f4ef;
  --pilot-folder-back: #d3ebe2;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: clamp(14rem, 19vw, 18rem);
  min-height: 0;
  max-height: 18rem;
  isolation: isolate;
  margin-top: .55rem;
  overflow: visible;
  transform: translateY(0) !important;
  background: linear-gradient(145deg, var(--pilot-folder-front), #dcefe8 72%, #c9e3da);
  box-shadow: .28rem .28rem 0 rgba(40,127,109,.15), .56rem .56rem 0 rgba(40,127,109,.07), 0 .7rem 1.1rem rgba(23,52,60,.1);
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card::before,
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(40,127,109,.24);
  border-radius: .65rem;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card::before {
  inset: .05rem .3rem .15rem .85rem;
  transform: translateY(-.72rem);
  background: linear-gradient(145deg, var(--pilot-folder-back), #c5e3d9);
  box-shadow: .22rem .22rem 0 rgba(40,127,109,.1);
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card::after {
  inset: .02rem .15rem .1rem .5rem;
  transform: translateY(-.38rem);
  background: linear-gradient(145deg, var(--pilot-folder-middle), #dcefe8);
  box-shadow: .16rem .16rem 0 rgba(40,127,109,.08);
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-visual {
  min-height: 0;
  height: 100%;
  aspect-ratio: auto;
  border-radius: .55rem .55rem .35rem .35rem;
  background: linear-gradient(145deg, #c5e3d9, #eaf7f2);
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-visual img,
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-visual video {
  height: 100%;
  object-fit: cover;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy {
  min-height: 4.25rem;
  overflow: hidden;
  gap: .25rem;
  padding: .48rem .6rem .58rem;
  background: linear-gradient(180deg, rgba(248,255,251,.76), rgba(220,239,232,.92));
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-track > .pilot-media-card:nth-child(odd) {
  transform: translateY(.35rem) !important;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-track > .pilot-media-card:nth-child(even) {
  transform: translateY(-.1rem) !important;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card:hover,
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card:focus-visible {
  transform: translateY(-.25rem) !important;
}

/* Owner follow-up: compact upper-right folder stack. Keep the same mint
   treatment, but make the folders small enough to sit above the upload CTA. */
body[data-active-page="pilot"] #pilotMediaList .pilot-media-track {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: .65rem;
  row-gap: .6rem;
  padding: .2rem .15rem .45rem;
  align-items: start;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card {
  height: clamp(7.25rem, 10vw, 8.75rem);
  max-height: 8.75rem;
  margin-top: .1rem;
  border-radius: .48rem;
  box-shadow: .18rem .18rem 0 rgba(40,127,109,.14), .36rem .36rem 0 rgba(40,127,109,.07), 0 .45rem .8rem rgba(23,52,60,.09);
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card::before {
  top: -.2rem;
  left: .42rem;
  width: 1.8rem;
  height: .34rem;
  border-radius: .22rem .22rem 0 0;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card::after {
  inset: .02rem .08rem .08rem .28rem;
  transform: translateY(-.2rem);
  border-radius: .48rem;
  box-shadow: .1rem .1rem 0 rgba(40,127,109,.06);
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card::before {
  transform: translateY(-.34rem);
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-visual {
  border-radius: .4rem .4rem .25rem .25rem;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy {
  min-height: 2.25rem;
  gap: .12rem;
  padding: .25rem .34rem .3rem;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy strong {
  max-width: 12ch;
  font-size: .58rem;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy p {
  -webkit-line-clamp: 1;
  font-size: .54rem;
  line-height: 1.15;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy small,
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-kind-pill {
  font-size: .5rem;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-track > .pilot-media-card:nth-child(odd) {
  transform: translateY(-.18rem) !important;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-track > .pilot-media-card:nth-child(even) {
  transform: translateY(-.42rem) !important;
}
@media (max-width: 560px) {
  body[data-active-page="pilot"] #pilotMediaList .pilot-media-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: .55rem;
    row-gap: .5rem;
  }
  body[data-active-page="pilot"] #pilotMediaList .pilot-media-card {
    height: min(8.25rem, 42vw);
    max-height: 8.25rem;
  }
}
@media (max-width: 560px) {
  body[data-active-page="pilot"] #pilotMediaList .pilot-media-card {
    height: min(8.25rem, 42vw);
    min-height: 0;
    max-height: 8.25rem;
  }
}

/* Pilot board card header: keep club sharing beside the flight identity. */
body[data-active-page="pilot"] .pilot-board-card > header.pilot-board-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: .45rem;
}
body[data-active-page="pilot"] .pilot-board-card-header > .pilot-inbox-identity {
  min-width: 0;
  align-items: flex-start;
}
body[data-active-page="pilot"] .pilot-board-card-header > .pilot-inbox-identity > .status-pill {
  flex: 0 0 auto;
  margin-left: auto;
}
body[data-active-page="pilot"] .pilot-board-card-header > .pilot-share-control {
  grid-column: 2;
  grid-row: 1;
}
body[data-active-page="pilot"] .pilot-board-card-header > .status-pill {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
}
body[data-active-page="pilot"] .pilot-share-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  width: clamp(9.5rem, 12vw, 11.5rem);
  min-width: 9.5rem;
  margin: 0;
  padding: .32rem .38rem;
  gap: .25rem .3rem;
  border: 1px solid rgba(40,127,109,.3);
  border-radius: .38rem;
  background: rgba(229,247,242,.78);
  color: #155d58;
  font-size: .66rem;
}
body[data-active-page="pilot"] .pilot-share-control label {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
  font-weight: 800;
}
body[data-active-page="pilot"] .pilot-share-control label input {
  width: .9rem !important;
  min-width: .9rem !important;
  max-width: .9rem !important;
  height: .9rem !important;
  min-height: .9rem !important;
  max-height: .9rem !important;
  flex: 0 0 .9rem;
  margin: .08rem 0 0;
  accent-color: #328a7b;
}
body[data-active-page="pilot"] .pilot-share-control label span {
  min-width: 0;
  align-self: start;
  overflow-wrap: anywhere;
  line-height: 1.15;
}
body[data-active-page="pilot"] .pilot-share-control select {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 1.65rem;
  padding: .18rem .3rem;
  font-size: .64rem;
}
@media (max-width: 560px) {
  body[data-active-page="pilot"] .pilot-board-card > header.pilot-board-card-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  body[data-active-page="pilot"] .pilot-board-card-header > .pilot-share-control {
    grid-column: 2;
    grid-row: 1;
    width: 7.5rem;
    min-width: 7.5rem;
  }
}
@media (max-width: 900px) {
  body[data-active-page="pilot"] .pilot-board-toolbar-controls > .pilot-board-search,
  body[data-active-page="pilot"] .pilot-board-toolbar-controls > .pilot-board-range,
  body[data-active-page="pilot"] .pilot-board-toolbar-controls > .pilot-board-filter,
  body[data-active-page="pilot"] .pilot-board-toolbar-controls > .pilot-board-time-basis {
    flex: 0 0 auto;
  }
}

/* Keep the Pilot status board's four status columns visible on desktop. */
body[data-active-page="pilot"] .pilot-board-columns {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  overflow: visible;
}
@media (max-width: 900px) {
  body[data-active-page="pilot"] .pilot-board-columns {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    overflow-x: visible;
  }
}

/* Pilot board status columns: passenger waiting is a status, not a next-action filter. */
body[data-active-page="pilot"] .pilot-board-columns {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  overflow: visible;
}

/* Give Ops the same readable section-heading/link hierarchy as Pilot tabs. */
body[data-active-page="ops"] .ops-section-tabs {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(18rem, .75fr);
  gap: 1rem;
  align-items: center;
  min-height: 143px;
  box-sizing: border-box;
  padding: .85rem 1rem;
  border: 1px solid rgba(23,52,60,.12);
  border-radius: .55rem;
  background: rgba(247,249,247,.88);
  box-shadow: 0 .65rem 1.5rem rgba(23,52,60,.055);
}
body[data-active-page="ops"] .ops-section-tabs .ops-tab-zone { min-width: 0; }
body[data-active-page="ops"] .ops-section-tabs .ops-tab-zone-config {
  border-left: 1px solid rgba(23,52,60,.11);
  padding-left: 1rem;
}
body[data-active-page="ops"] .ops-section-tabs .ops-tab-zone-families {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.4rem;
}
body[data-active-page="ops"] .ops-section-tabs .ops-tab-family {
  min-width: 0;
  padding: 0;
  border: 0;
}
body[data-active-page="ops"] .ops-section-tabs .ops-tab-family-label {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: .15rem .5rem;
  border-radius: 999px;
  background: rgba(216,107,49,.12);
  color: #6c5d50;
  font-size: .68rem;
  letter-spacing: .1em;
}
body[data-active-page="ops"] .ops-section-tabs .ops-tab-family-links {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .35rem;
}
body[data-active-page="ops"] .ops-section-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: .55rem .8rem;
  border: 1px solid rgba(40,127,109,.24);
  border-radius: .55rem;
  background: rgba(255,255,255,.84);
  color: #17343c;
  font-size: .86rem;
  font-weight: 850;
  letter-spacing: .01em;
  text-transform: none;
  text-decoration: none;
}
body[data-active-page="ops"] .ops-section-tabs a:hover,
body[data-active-page="ops"] .ops-section-tabs a:focus-visible,
body[data-active-page="ops"] .ops-section-tabs a.is-active {
  border-color: #d86b31;
  background: #fffaf2;
  color: #17343c;
  box-shadow: 0 .35rem .8rem rgba(23,52,60,.08);
  transform: translateY(-1px);
}
body[data-active-page="ops"] .ops-section-tabs a .ops-tab-badge {
  background: #d86b31;
  color: #fff;
}
@media (max-width: 900px) {
  body[data-active-page="pilot"] .pilot-board-columns,
  body[data-active-page="ops"] .ops-section-tabs {
    grid-template-columns: minmax(0, 1fr);
  }
  body[data-active-page="pilot"] .pilot-board-columns {
    width: 100%;
    overflow: visible;
  }
  body[data-active-page="ops"] .ops-section-tabs {
    min-height: 0;
    align-items: stretch;
  }
  body[data-active-page="ops"] .ops-section-tabs .ops-tab-zone-config {
    border-top: 1px solid rgba(23,52,60,.11);
    border-left: 0;
    padding: .75rem 0 0;
  }
}

/* Pilot navigation: section names are headings; the larger outlined items
   below them are the actual destinations. */
body[data-active-page="pilot"] .pilot-workspace-nav-row {
  align-items: stretch;
  grid-template-rows: max-content max-content;
}
body[data-active-page="pilot"] .pilot-workspace-nav-row .pilot-workspace-tabs {
  grid-column: 1;
  grid-row: 1;
  height: auto;
  min-height: 0;
  padding: .85rem 1rem;
  align-self: stretch;
  align-content: stretch;
  box-sizing: border-box;
}
body[data-active-page="pilot"] .pilot-nav-notifications {
  display: contents;
}
body[data-active-page="pilot"] .pilot-nav-notifications .pilot-push-card {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: stretch;
}
body[data-active-page="pilot"] .pilot-nav-notifications .pilot-proposal-alert {
  grid-column: 2 !important;
  grid-row: 2 !important;
  align-self: start;
}
body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-zone {
  display: flex;
  align-items: stretch;
}
body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-zone-families {
  width: 100%;
  align-items: stretch;
  gap: .75rem 1.2rem;
}
body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-family {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: .55rem;
  padding: .45rem .65rem .6rem;
  border-top-width: 3px;
  border-radius: .25rem;
  background: rgba(255,255,255,.38);
}
body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-family-label {
  display: inline-flex;
  align-items: center;
  min-height: 1.35rem;
  padding: .12rem .5rem;
  border-radius: 999px;
  background: rgba(23,52,60,.08);
  color: #294b54;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .12em;
  line-height: 1.2;
}
body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-family-links {
  align-items: center;
  gap: .35rem;
}
body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-family-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: .45rem .55rem;
  border: 1px solid rgba(23,52,60,.16);
  border-radius: .45rem;
  background: rgba(255,255,255,.82);
  color: #17343c;
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .02em;
  line-height: 1.15;
  text-transform: none;
  box-shadow: 0 .15rem .35rem rgba(23,52,60,.05);
}
body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-family-links a:hover,
body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-family-links a:focus-visible {
  border-color: rgba(216,107,49,.6);
  background: #fffaf4;
  color: #8d4a25;
}
@media (max-width: 900px) {
  body[data-active-page="pilot"] .pilot-workspace-nav-row { align-items: start; grid-template-rows: max-content max-content max-content; }
  body[data-active-page="pilot"] .pilot-workspace-nav-row .pilot-workspace-tabs { grid-column: 1; grid-row: 1; height: auto; min-height: 0; }
  body[data-active-page="pilot"] .pilot-nav-notifications .pilot-push-card { grid-column: 1 !important; grid-row: 2 !important; }
  body[data-active-page="pilot"] .pilot-nav-notifications .pilot-proposal-alert { grid-column: 1 !important; grid-row: 3 !important; }
}

/* Pilot delivery history: one full-width notification groups every delivery
   channel for the same event; delivered channels stay bright while pending
   and failed channels recede without hiding their state. */
body[data-active-page="pilot"] #pilotNotificationCard {
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: .1rem;
}
body[data-active-page="pilot"] #pilotNotificationCard .section-toolbar {
  align-items: center;
  margin-bottom: .9rem;
}
body[data-active-page="pilot"] #pilotNotificationCard .section-toolbar h3 { margin-bottom: 0; }
body[data-active-page="pilot"] #pilotNotificationCard.is-collapsed { padding-bottom: .7rem; }
body[data-active-page="pilot"] #pilotNotificationCard.is-collapsed #pilotNotificationList { display: none; }
body[data-active-page="pilot"] .pilot-notification-toolbar-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .45rem; }
body[data-active-page="pilot"] .pilot-notification-toolbar-actions .status-pill { white-space: nowrap; }
body[data-active-page="pilot"] .pilot-notification-toolbar-actions .hidden { display: none; }
body[data-active-page="pilot"] #pilotNotificationCard.is-collapsed #pilotProposalAlert { display: none; }
body[data-active-page="pilot"] .pilot-proposal-status-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(23, 52, 60, .12);
}
body[data-active-page="pilot"] .pilot-proposal-status-section .section-toolbar {
  margin-bottom: .5rem !important;
}
body[data-active-page="pilot"] .pilot-proposal-status-section .section-toolbar h3 {
  margin-bottom: 0;
}
body[data-active-page="pilot"] .pilot-proposal-status-section > .helper-copy {
  margin: 0 0 .55rem;
}
body[data-active-page="pilot"] .pilot-proposal-status-section .proposal-list {
  padding: .1rem .8rem;
  border: 1px solid rgba(40, 127, 109, .16);
  border-radius: .65rem;
  background: rgba(255, 255, 255, .62);
}
body[data-active-page="pilot"] .pilot-proposal-status-section .proposal-row.is-targeted {
  outline: 3px solid rgba(216, 107, 49, .42);
  outline-offset: 2px;
  border-radius: .45rem;
  background: rgba(255, 247, 224, .9);
}
/* Owner visual correction: the proposal status is one large review surface;
   its individual notifications read as three equal cards across desktop. */
body[data-active-page="pilot"] .pilot-proposal-status-grid {
  display: block;
  width: 100%;
  margin-top: 1rem;
}
body[data-active-page="pilot"] #pilotProposalStatusSection {
  grid-column: 1 / -1;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0;
  padding: 1.1rem 1.2rem 1.25rem;
}
body[data-active-page="pilot"] #pilotProposalStatusSection .proposal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  padding: .1rem 0 0;
  border: 0;
  background: transparent;
}
body[data-active-page="pilot"] #pilotProposalStatusSection .proposal-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  min-width: 0;
  min-height: 7.25rem;
  margin: 0;
  padding: .85rem;
  border: 1px solid rgba(40, 127, 109, .2);
  border-radius: .65rem;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 .25rem .7rem rgba(23, 52, 60, .06);
}
body[data-active-page="pilot"] #pilotProposalStatusSection .proposal-row:last-child {
  border-bottom: 1px solid rgba(40, 127, 109, .2);
}
body[data-active-page="pilot"] #pilotProposalStatusSection .proposal-row > div { min-width: 0; }
body[data-active-page="pilot"] #pilotProposalStatusSection .proposal-row .status-pill {
  align-self: start;
  justify-self: end;
  white-space: nowrap;
}
@media (max-width: 900px) {
  body[data-active-page="pilot"] #pilotProposalStatusSection .proposal-list {
    grid-template-columns: minmax(0, 1fr);
  }
  body[data-active-page="pilot"] #pilotProposalStatusSection .proposal-row {
    grid-template-columns: minmax(0, 1fr);
  }
  body[data-active-page="pilot"] #pilotProposalStatusSection .proposal-row .status-pill {
    justify-self: start;
    margin-top: .45rem;
  }
}

body[data-active-page="pilot"] #pilotNotificationList {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .8rem;
  width: 100%;
}
body[data-active-page="pilot"] .pilot-notification-group {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(15rem, .9fr);
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(35, 88, 86, .16);
  border-radius: .8rem;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,247,243,.88));
  box-shadow: 0 8px 20px rgba(24, 59, 61, .06);
}
body[data-active-page="pilot"] .pilot-notification-group-copy {
  display: grid;
  gap: .3rem;
  min-width: 0;
}
body[data-active-page="pilot"] .pilot-notification-group-copy strong,
body[data-active-page="pilot"] .pilot-notification-group-copy .helper-copy,
body[data-active-page="pilot"] .pilot-notification-group-copy small { overflow-wrap: anywhere; }
body[data-active-page="pilot"] .pilot-notification-group-copy .helper-copy { margin: 0; }
body[data-active-page="pilot"] .pilot-notification-group-copy small { color: #6b7b7e; font-size: .7rem; }
body[data-active-page="pilot"] .pilot-notification-group-actions { display: grid; gap: .55rem; min-width: 0; }
body[data-active-page="pilot"] .pilot-notification-channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
  min-width: 0;
}
body[data-active-page="pilot"] .pilot-notification-channel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: .35rem;
  row-gap: .05rem;
  min-width: 0;
  padding: .55rem .6rem;
  border: 1px solid rgba(25, 72, 70, .14);
  border-radius: .6rem;
  background: rgba(255,255,255,.9);
  color: #21484a;
  font-size: .72rem;
  font-weight: 850;
}
body[data-active-page="pilot"] .pilot-notification-channel small { grid-column: 2; color: #6c7d7d; font-size: .62rem; font-weight: 700; }
body[data-active-page="pilot"] .pilot-notification-channel-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #aab8b8; }
body[data-active-page="pilot"] .pilot-notification-channel.is-delivered { border-color: rgba(35, 141, 112, .42); background: #e6f6ef; color: #125d54; box-shadow: inset 0 0 0 1px rgba(35, 141, 112, .08); }
body[data-active-page="pilot"] .pilot-notification-channel.is-delivered .pilot-notification-channel-dot { background: #238d70; box-shadow: 0 0 0 .18rem rgba(35, 141, 112, .12); }
body[data-active-page="pilot"] .pilot-notification-channel.is-pending { opacity: .48; filter: saturate(.45); }
body[data-active-page="pilot"] .pilot-notification-channel.is-failed { opacity: .66; filter: saturate(.55); border-color: rgba(173, 91, 55, .22); }
body[data-active-page="pilot"] .pilot-notification-channel.is-failed .pilot-notification-channel-dot { background: #b66a4e; }
body[data-active-page="pilot"] .pilot-notification-read { justify-self: end; }
body[data-active-page="pilot"] .pilot-notification-read-state { justify-self: end; color: #287f6d; font-size: .7rem; font-weight: 800; }
body[data-active-page="pilot"] .pilot-notification-open { width: 100%; }
body[data-active-page="pilot"] .pilot-board-card.is-notification-target {
  outline: 3px solid rgba(216, 107, 49, .72);
  outline-offset: 4px;
  box-shadow: 0 0 0 .35rem rgba(216, 107, 49, .16), 0 12px 28px rgba(23, 52, 60, .14);
}
@media (max-width: 760px) {
  body[data-active-page="pilot"] #pilotNotificationCard { margin-top: 0; }
  body[data-active-page="pilot"] #pilotNotificationCard .section-toolbar { align-items: flex-start; }
  body[data-active-page="pilot"] .pilot-notification-group { grid-template-columns: minmax(0, 1fr); gap: .8rem; padding: .85rem; }
  body[data-active-page="pilot"] .pilot-notification-toolbar-actions { align-items: flex-start; justify-content: flex-start; }
  body[data-active-page="pilot"] .pilot-notification-group-actions { display: flex; flex-direction: column; width: 100%; }
  body[data-active-page="pilot"] .pilot-notification-read { order: -1; }
  body[data-active-page="pilot"] .pilot-notification-read { justify-self: stretch; width: 100%; }
  body[data-active-page="pilot"] .pilot-notification-read-state { justify-self: start; }
  body[data-active-page="pilot"] .pilot-notification-channels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body[data-active-page="pilot"] .pilot-notification-channel { padding: .5rem .45rem; }
}

.destination-forecast-slot { margin-top: .6rem; }
.destination-forecast-slot .destination-weather-overlay {
  padding: .8rem .9rem;
  border: 1px solid rgba(255, 248, 239, .34);
  border-radius: var(--radius-md);
  background: rgba(17, 28, 33, .7);
  color: #fff8f1;
  box-shadow: 0 18px 42px rgba(7, 16, 20, .25);
  backdrop-filter: blur(16px);
}
.destination-forecast-slot .section-toolbar { margin-bottom: .35rem; }
.destination-forecast-slot .section-toolbar h3,
.destination-forecast-slot .section-toolbar .eyebrow { color: #fff8f1; }
.destination-forecast-slot .landing-forecast-current,
.destination-forecast-slot .landing-forecast-day,
.destination-forecast-slot .landing-forecast-day span,
.destination-forecast-slot .landing-forecast-day strong { color: rgba(255, 248, 241, .92); }
.destination-forecast-slot .landing-forecast-day { border-color: rgba(255, 248, 239, .24); padding: .42rem 0; }
.destination-forecast-slot .landing-forecast-current { font-size: .76rem; line-height: 1.4; }
.destination-forecast-slot .landing-forecast-day { font-size: .72rem; }
body[data-active-page="explore"] .discover-spotlight-rail {
  top: clamp(5.5rem, 8vw, 7.5rem);
  bottom: auto;
}
@media (max-width: 900px) {
}
@media (max-width: 760px) {
  body[data-active-page="explore"] .discover-spotlight-rail {
    top: 5.2rem;
    right: .75rem;
    width: calc(100% - 1.5rem);
  }
  .destination-forecast-slot { margin-top: .5rem; }
}
@media (max-width: 760px) {
  body[data-active-page="explore"] .discover-spotlight-rail { top: 7.15rem; }
}

/* 2026-10-15 mobile Explore: keep the hero image dominant, then present the
   compact links/forecast before the longer destination details. */
@media (max-width: 760px) {
  body[data-active-page="explore"] .discover-spotlight-layout {
    display: flex;
    flex-direction: column;
  }
  body[data-active-page="explore"] #detailCard,
  body[data-active-page="explore"] #detailCard .destination-showcase {
    display: contents;
  }
  body[data-active-page="explore"] .destination-showcase-media {
    order: 1;
    width: 100%;
    min-height: 0;
    height: auto;
  }
  body[data-active-page="explore"] .discover-spotlight-media .detail-hero {
    height: min(72vh, 34rem);
    min-height: 0;
    aspect-ratio: auto;
    object-fit: cover;
  }
  body[data-active-page="explore"] .discover-spotlight-rail {
    order: 2;
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: calc(100% - 1.5rem);
    margin: .75rem auto 0;
  }
  body[data-active-page="explore"] .discover-rail-card {
    padding: .45rem .55rem;
  }
  body[data-active-page="explore"] .destination-rail {
    gap: .3rem;
  }
  body[data-active-page="explore"] .destination-chip {
    grid-template-columns: 1.65rem 1fr;
    gap: .35rem;
    min-height: 2.25rem;
    padding: .25rem;
  }
  body[data-active-page="explore"] .destination-chip img {
    width: 1.65rem;
    height: 1.65rem;
  }
  body[data-active-page="explore"] .destination-chip strong {
    font-size: .54rem;
  }
  body[data-active-page="explore"] .destination-chip small {
    font-size: .45rem;
  }
  body[data-active-page="explore"] .destination-forecast-slot {
    margin-top: .4rem;
  }
  body[data-active-page="explore"] .destination-forecast-slot .destination-weather-overlay {
    padding: .65rem .75rem;
  }
  body[data-active-page="explore"] .destination-forecast-slot .section-toolbar {
    margin-bottom: .15rem;
  }
  body[data-active-page="explore"] .destination-forecast-slot .section-toolbar h3 {
    font-size: .9rem;
  }
  body[data-active-page="explore"] .destination-forecast-slot .landing-forecast-current {
    font-size: .58rem;
  }
  body[data-active-page="explore"] .destination-forecast-slot .landing-forecast-days {
    gap: .1rem;
  }
  body[data-active-page="explore"] .destination-forecast-slot .landing-forecast-day {
    gap: .15rem .4rem;
    padding: .22rem 0;
    font-size: .56rem;
    line-height: 1.25;
  }
  body[data-active-page="explore"] .destination-forecast-slot .landing-forecast-day strong {
    min-width: 2.6rem;
  }
  body[data-active-page="explore"] .destination-showcase-body {
    order: 3;
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    padding: 1rem;
  }
}

/* Full-site audit fixes: explicit unavailable route, consent layer and customer media. */
.route-not-found-shell { max-width: 52rem; margin: 2rem auto; padding: clamp(2rem, 6vw, 5rem); text-align: center; }
.route-not-found-shell .inline-actions { justify-content: center; }
.analytics-consent-banner {
  z-index: 70;
  bottom: max(1rem, env(safe-area-inset-bottom));
}
.privacy-consent-settings {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--editorial-line);
  border-radius: var(--radius-lg);
  background: rgba(235, 246, 242, .84);
  box-shadow: 0 12px 26px rgba(23, 52, 60, .06);
}
.privacy-consent-settings h2 { margin: .15rem 0 .5rem; color: var(--ink); font-size: clamp(1.25rem, 2vw, 1.75rem); }
.privacy-consent-settings p { margin: 0; color: var(--muted); line-height: 1.6; }
.privacy-consent-status { margin-top: .65rem !important; font-weight: 800; color: var(--accent-strong) !important; }
@media (max-width: 760px) {
  body.analytics-consent-open[data-active-page]:not([data-active-page="ops"]):not([data-active-page="privacy"]) {
    padding-bottom: calc(5.7rem + env(safe-area-inset-bottom) + 12rem);
  }
  .analytics-consent-banner {
    left: .65rem;
    right: .65rem;
    bottom: var(--analytics-consent-bottom, calc(5.7rem + env(safe-area-inset-bottom) + .75rem));
    max-height: min(18rem, calc(100dvh - 7.25rem - env(safe-area-inset-bottom)));
    overflow: auto;
    flex-direction: column;
    align-items: stretch;
    gap: .7rem;
    padding: .9rem 1rem;
  }
  .analytics-consent-banner > div:first-child { min-width: 0; }
  .analytics-consent-banner strong { display: block; font-size: 1rem; line-height: 1.2; }
  .analytics-consent-banner p { max-width: none; font-size: .82rem; line-height: 1.35; }
  .analytics-consent-banner .inline-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: .55rem;
    margin: 0;
  }
  .analytics-consent-banner .button { width: 100%; min-width: 0; min-height: 2.8rem; }
  .privacy-consent-settings { grid-template-columns: 1fr; }
  .privacy-consent-settings .inline-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .privacy-consent-settings .button { width: 100%; }
}

@media (max-width: 760px) {
  .route-not-found-shell { margin: 1rem; padding: 2rem 1rem; }
  .route-not-found-shell .inline-actions { display: grid; grid-template-columns: 1fr; }
  body.booking-focus .mobile-app-nav .mobile-app-nav-link[data-page="explore"]:not(#bookingSection) { display: grid !important; visibility: visible !important; opacity: 1 !important; }
}

/* Keep the unavailable-route card below the shared header at phone/tablet
   widths; its two-line heading otherwise starts underneath the nav. */
@media (max-width: 900px) {
  body[data-active-page="notfound"] .page { padding-top: 9rem; }
}
.ops-guest-auth-mount:empty { display: none; }
.ops-guest-auth-mount .admin-access-card { max-width: 52rem; margin: 1rem auto 2rem; }

/* Privacy is a text-led public route, but its header must use the same
   centered, image-led shell as the other public pages instead of falling back
   to the legacy full-width translucent nav treatment. */
body[data-active-page="privacy"] .public-hero-shell {
  position: absolute !important;
  inset: 0 !important;
  z-index: 20;
  width: 100% !important;
  height: 0;
  padding: 0 !important;
  background: transparent !important;
}
body[data-active-page="privacy"] .public-hero-shell .topbar {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  right: auto !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  width: min(calc(100% - 2rem), 80rem) !important;
  max-width: none !important;
  min-height: 0;
  margin: 0 !important;
  transform: translateX(-50%);
  padding: 1rem clamp(1rem, 3.5vw, 3.25rem) 1.25rem !important;
  background: linear-gradient(180deg, rgba(8,25,30,.72), rgba(8,25,30,.18) 78%, transparent) !important;
  border: 0 !important;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
body[data-active-page="privacy"] .public-hero-shell .brand {
  display: flex !important;
  grid-column: 1;
  justify-self: start;
  min-width: 0;
}
body[data-active-page="privacy"] .public-hero-shell .nav-links {
  grid-column: 2;
  justify-self: center;
  width: max-content;
  justify-content: center;
  transform: none !important;
}
body[data-active-page="privacy"] .public-hero-shell .language-switch {
  grid-column: 3;
  justify-self: end;
}
body[data-active-page="privacy"] .public-hero-shell .brand-name,
body[data-active-page="privacy"] .public-hero-shell .brand-copy,
body[data-active-page="privacy"] .public-hero-shell .brand .eyebrow,
body[data-active-page="privacy"] .public-hero-shell .nav-link {
  color: #fff !important;
}
body[data-active-page="privacy"] .public-hero-shell .nav-link {
  padding-inline: .15rem !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body[data-active-page="privacy"] .public-hero-shell .language-switch {
  border-color: rgba(255,255,255,.42);
  background: rgba(8,25,30,.28);
}
body[data-active-page="privacy"] .public-hero-shell .language-switch button { color: rgba(255,255,255,.9); }
@media (max-width: 760px) {
  body[data-active-page="privacy"] .public-hero-shell .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 8rem;
    padding: .7rem 1rem 1.25rem !important;
  }
  body[data-active-page="privacy"] .public-hero-shell .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-self: center;
  }
  body[data-active-page="privacy"] .public-hero-shell .language-switch {
    grid-column: 2;
    grid-row: 1;
  }
}

/* The shared pseudo-element is the single active top-navigation marker.
   Earlier route-specific polish also added a text-decoration underline,
   which becomes a second visible line on narrow headers (and can overlap the
   intended marker on wider ones). Keep hover/focus/active states on the same
   single visual path without touching the fixed mobile app navigation. */
body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"], [data-active-page="ops"], [data-active-page="privacy"]) .public-hero-shell .nav-link,
body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"], [data-active-page="ops"], [data-active-page="privacy"]) .public-hero-shell .nav-link.is-active,
body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"], [data-active-page="ops"], [data-active-page="privacy"]) .public-hero-shell .nav-link.is-active:hover,
body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"], [data-active-page="ops"], [data-active-page="privacy"]) .public-hero-shell .nav-link.is-active:focus-visible,
body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"], [data-active-page="ops"], [data-active-page="privacy"]) .public-hero-shell .nav-link:hover,
body:is([data-active-page="discover"], [data-active-page="explore"], [data-active-page="about"], [data-active-page="pilot"], [data-active-page="ops"], [data-active-page="privacy"]) .public-hero-shell .nav-link:focus-visible {
  text-decoration: none !important;
  text-decoration-line: none !important;
}

/* Keep the assigned-takeoff carousel navigable at every viewport. The active
   editor stays centred while only the adjacent previews frame it. */
body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-nav .carousel-arrow {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
}
body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-neighbor-rail { display: none; }
body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-track {
  touch-action: pan-y;
  cursor: grab;
}
body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-track:active { cursor: grabbing; }

/* Pilot mobile density pass: keep each operational surface legible while
   making the repeated columns and takeoff selectors swipeable. This stays
   route-scoped and leaves the fixed mobile app navigation untouched. */
@media (max-width: 760px) {
  body[data-active-page="pilot"] .pilot-board-columns {
    grid-template-columns: repeat(4, minmax(0, 82vw)) !important;
    grid-template-rows: minmax(0, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: auto;
    width: max-content;
    min-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    gap: .55rem;
    padding: .1rem .1rem .65rem;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }
  body[data-active-page="pilot"] .pilot-board-column {
    min-width: 0;
    min-height: 0;
    padding: .55rem;
    gap: .45rem;
    scroll-snap-align: start;
  }
  body[data-active-page="pilot"] .pilot-board-column > header {
    padding: .35rem .2rem .5rem;
  }
  body[data-active-page="pilot"] .pilot-board-column h4 { font-size: .78rem; }
  body[data-active-page="pilot"] .pilot-board-column header p { font-size: .63rem; line-height: 1.25; }
  body[data-active-page="pilot"] .pilot-board-cards { min-height: 0; gap: .45rem; }
  body[data-active-page="pilot"] .pilot-board-card {
    gap: .35rem;
    padding: .58rem .62rem .55rem;
    border-radius: .38rem;
  }
  body[data-active-page="pilot"] .pilot-board-card > header { gap: .35rem; }
  body[data-active-page="pilot"] .pilot-board-card .pilot-avatar { width: 1.7rem; height: 1.7rem; }
  body[data-active-page="pilot"] .pilot-board-card .pilot-inbox-identity strong { font-size: .72rem; }
  body[data-active-page="pilot"] .pilot-board-card .pilot-inbox-identity p { margin-top: .12rem; font-size: .64rem; line-height: 1.25; }
  body[data-active-page="pilot"] .pilot-board-card-key { margin-bottom: .12rem; font-size: .56rem; }
  body[data-active-page="pilot"] .pilot-board-card-meta { gap: .25rem; margin: .08rem 0 .25rem; }
  body[data-active-page="pilot"] .pilot-board-card-meta span { padding: .14rem .28rem; font-size: .57rem; }
  body[data-active-page="pilot"] .pilot-board-card .status-pill { padding: .2rem .35rem; font-size: .55rem; }
  body[data-active-page="pilot"] .pilot-board-card > p { font-size: .65rem; line-height: 1.3; }
  body[data-active-page="pilot"] .pilot-board-next-step { margin: .15rem 0; }
  body[data-active-page="pilot"] .pilot-board-card .pilot-state-addon,
  body[data-active-page="pilot"] .pilot-board-card .pilot-share-control,
  body[data-active-page="pilot"] .pilot-board-card .pilot-sector-choice {
    gap: .25rem;
    margin: .25rem 0;
    padding: .42rem .5rem;
    font-size: .62rem;
  }
  body[data-active-page="pilot"] .pilot-board-card .weather-warning-panel-pilot {
    margin: .25rem 0;
    padding: .42rem .5rem;
    border-left-width: 3px;
    border-radius: .45rem;
    font-size: .64rem;
  }
  body[data-active-page="pilot"] .pilot-board-card .weather-warning-panel-pilot strong { font-size: .66rem; line-height: 1.25; }
  body[data-active-page="pilot"] .pilot-board-card .weather-warning-panel-pilot p { margin: .2rem 0 0; font-size: .6rem; line-height: 1.25; }
  body[data-active-page="pilot"] .pilot-board-card .booking-row-actions { gap: .3rem; }
  body[data-active-page="pilot"] .pilot-board-card .tiny-button { min-height: 1.9rem; padding: .3rem .42rem; font-size: .61rem; }

  body[data-active-page="pilot"] .pilot-carousel-featured {
    display: grid !important;
    grid-template-columns: 2.7rem minmax(0, 1fr) 2.7rem !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    gap: .4rem !important;
    padding: .2rem .25rem .55rem !important;
    overflow: visible !important;
  }
  body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-nav {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    display: grid !important;
    grid-template-columns: 2.7rem minmax(0, 1fr) 2.7rem;
    min-height: 2.35rem;
    align-items: center;
    justify-items: center;
    gap: .4rem;
  }
  body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-nav .carousel-arrow { display: grid; }
  body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-nav span { grid-column: 2; grid-row: 1; min-height: 1.7rem; padding: .25rem .55rem; font-size: .64rem; }
  body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-nav .carousel-arrow:first-child { grid-column: 1; grid-row: 1; }
  body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-nav .carousel-arrow:last-child { grid-column: 3; grid-row: 1; }
  body[data-active-page="pilot"] .pilot-carousel-featured .carousel-arrow {
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid rgba(216,107,49,.48);
    background: #fffaf2;
    color: #a84b20;
    font-size: 1.08rem;
    box-shadow: 0 .3rem .75rem rgba(23,52,60,.1);
  }
  body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-neighbor {
    position: relative !important;
    inset: auto !important;
    grid-row: 2 !important;
    width: auto !important;
    min-height: 100%;
    padding: .45rem .3rem;
    border-radius: .55rem;
    opacity: .82;
    filter: saturate(.8);
    transform: none !important;
  }
  body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-neighbor-previous { grid-column: 1 !important; }
  body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-neighbor-next { grid-column: 3 !important; }
  body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-neighbor .assigned-takeoff-name { font-size: .66rem; line-height: 1.08; }
  body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-neighbor .assigned-takeoff-location,
  body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-neighbor .helper-copy,
  body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-neighbor .pilot-takeoff-preview-form,
  body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-neighbor .status-pill { display: none; }
  body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-neighbor::after { padding-top: .45rem; font-size: .5rem; content: 'OTVORI'; }
  body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-card {
    grid-column: 2 !important;
    grid-row: 2 !important;
    padding: .7rem !important;
    border-width: 1px;
    box-shadow: 0 .65rem 1.35rem rgba(23,52,60,.12), 0 0 0 .16rem rgba(216,107,49,.08);
  }
  body[data-active-page="pilot"] .assigned-takeoff-name { font-size: 1.2rem; }
  body[data-active-page="pilot"] .assigned-takeoff-location { margin-top: .2rem; font-size: .72rem; line-height: 1.25; }
  body[data-active-page="pilot"] .assigned-takeoff-card > header { gap: .35rem; }
  body[data-active-page="pilot"] .assigned-takeoff-card .pilot-form-section { gap: .5rem; padding: .62rem; border-radius: .65rem; }
  body[data-active-page="pilot"] .assigned-takeoff-card .pilot-form-section-heading { gap: .45rem; padding-bottom: .45rem; }
  body[data-active-page="pilot"] .assigned-takeoff-card .pilot-form-section-heading strong { font-size: .68rem; }
  body[data-active-page="pilot"] .assigned-takeoff-card .pilot-form-section-heading small { font-size: .62rem; line-height: 1.25; }
  body[data-active-page="pilot"] .assigned-takeoff-card .pilot-form-section-index { width: 1.45rem; height: 1.45rem; font-size: .58rem; }
  body[data-active-page="pilot"] .assigned-takeoff-card .field-grid { gap: .45rem; }
  body[data-active-page="pilot"] .assigned-takeoff-card .field { gap: .18rem; }
  body[data-active-page="pilot"] .assigned-takeoff-card .field > span { font-size: .65rem; }
  body[data-active-page="pilot"] .assigned-takeoff-card textarea { min-height: 2.35rem; padding: .38rem .45rem; font-size: .72rem; line-height: 1.3; }
  body[data-active-page="pilot"] .assigned-takeoff-card .pilot-tracklog-dropzone { gap: .18rem; margin-top: .45rem; padding: .55rem; }
  body[data-active-page="pilot"] .assigned-takeoff-card .pilot-tracklog-dropzone strong { font-size: .68rem; }
  body[data-active-page="pilot"] .assigned-takeoff-card .pilot-tracklog-dropzone small { font-size: .6rem; line-height: 1.25; }

  body[data-active-page="pilot"] .pilot-available-carousel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto;
    width: 100%;
    min-width: 0;
    gap: .45rem;
    align-items: stretch;
    overflow: visible;
  }
  body[data-active-page="pilot"] .pilot-available-carousel > .pilot-carousel-nav {
    grid-column: 1 !important;
    grid-row: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 2.7rem minmax(0, 1fr) 2.7rem;
    align-items: center;
    gap: .45rem;
    margin: 0;
  }
  body[data-active-page="pilot"] .pilot-available-carousel .pilot-carousel-nav span { justify-self: center; font-size: .64rem; font-weight: 900; color: #52676d; }
  body[data-active-page="pilot"] .pilot-available-carousel .carousel-arrow { display: grid; }
  body[data-active-page="pilot"] .pilot-available-carousel > .pilot-selection-summary {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    padding: .45rem .6rem;
    border: 1px solid rgba(40,127,109,.2);
    border-radius: .45rem;
    background: rgba(232,241,238,.72);
    color: #52676d;
    font-size: .64rem;
    line-height: 1.3;
    text-align: center;
  }
  body[data-active-page="pilot"] .pilot-selection-summary strong { color: #286d61; font-size: .76rem; }
  body[data-active-page="pilot"] .pilot-available-carousel > .pilot-available-slides {
    grid-column: 1 !important;
    grid-row: 3 !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .4rem;
    overflow: visible;
  }
  body[data-active-page="pilot"] .pilot-available-slide.is-neighbor { display: none !important; }
  body[data-active-page="pilot"] .pilot-available-slide.is-current {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
    padding: .72rem;
    border-width: 1px;
    border-radius: .65rem;
  }
  body[data-active-page="pilot"] .pilot-available-slide.is-current > span:first-child { align-items: center; gap: .35rem .55rem; }
  body[data-active-page="pilot"] .pilot-available-slide.is-current input[type="checkbox"] { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: #d86b31; }
  body[data-active-page="pilot"] .pilot-available-slide.is-current strong { font-size: .92rem; line-height: 1.15; }
  body[data-active-page="pilot"] .pilot-available-slide.is-current small { font-size: .66rem; line-height: 1.25; }
  body[data-active-page="pilot"] .pilot-available-slide .assignment-role-badge { max-width: 7.2rem; padding: .28rem .38rem; font-size: .58rem; line-height: 1.15; text-align: center; }
  body[data-active-page="pilot"] #pilotRequestAssignments { width: 100%; min-height: 2.45rem; margin-top: .65rem; }
}

/* Club training controls: keep the mobile filter and calendar compact without
   shrinking their labelled touch targets or changing the desktop layout. */
@media (max-width: 760px) {
  body[data-active-page="pilot"] #pilotClubFlightPilotFilters {
    gap: .25rem;
    margin: .45rem 0;
    padding: .5rem .6rem;
  }
  body[data-active-page="pilot"] #pilotClubFlightPilotFilters .pilot-checkbox-filter-label {
    font-size: .68rem;
    line-height: 1.2;
  }
  body[data-active-page="pilot"] #pilotClubFlightPilotFilters .pilot-checkbox-filter-options {
    gap: .2rem .5rem;
  }
  body[data-active-page="pilot"] #pilotClubFlightPilotFilters .pilot-checkbox-filter-options label {
    min-height: 2.75rem;
    gap: .35rem;
    line-height: 1.15;
  }
  body[data-active-page="pilot"] #pilotClubFlightPilotFilters .pilot-checkbox-filter-options input[type="checkbox"] {
    flex: 0 0 1.1rem;
    width: 1.1rem;
    min-width: 1.1rem;
    height: 1.1rem;
    min-height: 1.1rem;
    margin: 0;
    padding: 0;
  }
  body[data-active-page="pilot"] #pilotClubCalendar {
    gap: .55rem;
    margin: .55rem 0 .75rem;
  }
  body[data-active-page="pilot"] #pilotClubCalendar .pilot-calendar-header {
    gap: .55rem;
    padding: .6rem;
  }
  body[data-active-page="pilot"] #pilotClubCalendar .pilot-calendar-header h4 {
    margin: .1rem 0 .15rem;
    font-size: 1rem;
    line-height: 1.15;
  }
  body[data-active-page="pilot"] #pilotClubCalendar .pilot-calendar-header .eyebrow {
    margin-bottom: .15rem;
    font-size: .64rem;
  }
  body[data-active-page="pilot"] #pilotClubCalendar .pilot-calendar-header .helper-copy {
    font-size: .72rem;
    line-height: 1.3;
  }
  body[data-active-page="pilot"] #pilotClubCalendar .pilot-calendar-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas: "range range range" "prev today next";
    width: 100%;
    gap: .3rem;
    align-items: center;
  }
  body[data-active-page="pilot"] #pilotClubCalendar .pilot-calendar-range-label {
    grid-area: range;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    min-height: 2.5rem;
    padding: .35rem .45rem;
    font-size: .68rem;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
  }
  body[data-active-page="pilot"] #pilotClubCalendar [data-club-calendar-nav="prev"] { grid-area: prev; }
  body[data-active-page="pilot"] #pilotClubCalendar [data-club-calendar-nav="today"] { grid-area: today; justify-self: center; }
  body[data-active-page="pilot"] #pilotClubCalendar [data-club-calendar-nav="next"] { grid-area: next; }
  body[data-active-page="pilot"] #pilotClubCalendar .pilot-calendar-nav > button {
    min-width: 0;
    width: 100%;
    min-height: 2.75rem;
    padding: .45rem .55rem;
    font-size: .72rem;
    line-height: 1.1;
  }
  body[data-active-page="pilot"] #pilotClubCalendar .pilot-calendar-nav [data-club-calendar-nav="today"] {
    width: auto;
    min-width: 4.8rem;
  }
}

/* Final Pilot mobile override: this must follow the older shared board-rail
   rules so the three cards show a real next-card preview. */
@media (max-width: 760px) {
  body[data-active-page="pilot"] #pilotInbox .pilot-board-columns {
    grid-template-columns: repeat(3, minmax(75vw, 75vw)) !important;
    grid-auto-flow: column;
    grid-auto-columns: auto;
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    margin-right: 0;
    padding-right: 1.2rem;
    overscroll-behavior-x: contain;
    scroll-padding-inline: .15rem;
    touch-action: pan-x pan-y;
  }
}

/* Mobile-only tab family treatment: keep every family visible in a compact
   column, with its destinations directly underneath. Desktop keeps the
   established two-zone layout above. */
@media (max-width: 760px) {
  body[data-active-page="pilot"] .pilot-workspace-nav-row .pilot-workspace-tabs,
  body[data-active-page="ops"] .ops-section-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .35rem;
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0 0 .8rem;
    padding: .45rem .35rem .5rem;
    box-sizing: border-box;
    overflow: visible;
    align-items: start;
  }

  body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-zone,
  body[data-active-page="ops"] .ops-section-tabs .ops-tab-zone,
  body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-zone-families,
  body[data-active-page="ops"] .ops-section-tabs .ops-tab-zone-families {
    display: contents;
  }

  body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-family,
  body[data-active-page="ops"] .ops-section-tabs .ops-tab-family {
    display: flex;
    min-width: 0;
    width: auto;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: .12rem;
    padding: .18rem .28rem .08rem;
    border: 0;
    border-top: 2px solid rgba(45,159,135,.42);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-family:nth-child(1),
  body[data-active-page="ops"] .ops-section-tabs .ops-tab-family:nth-child(1) { border-top-color: rgba(216,107,49,.72); }
  body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-family:nth-child(3),
  body[data-active-page="ops"] .ops-section-tabs .ops-tab-family:nth-child(3) { border-top-color: rgba(123,107,178,.62); }
  body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-family:nth-child(4),
  body[data-active-page="ops"] .ops-section-tabs .ops-tab-family:nth-child(4) { border-top-color: rgba(123,107,178,.62); }

  body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-family-label,
  body[data-active-page="ops"] .ops-section-tabs .ops-tab-family-label {
    display: block;
    min-width: 0;
    min-height: 1.35rem;
    padding: .15rem .28rem;
    color: #294b54;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-align: left;
  }

  body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-family-links,
  body[data-active-page="ops"] .ops-section-tabs .ops-tab-family-links {
    display: flex;
    min-width: 0;
    margin-top: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-family-links a,
  body[data-active-page="ops"] .ops-section-tabs .ops-tab-family-links a {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 2.75rem;
    padding: .32rem .28rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #52666b;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1.15;
    text-decoration: none;
    text-transform: none;
    overflow-wrap: anywhere;
  }

  body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-family-links a:hover,
  body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-family-links a:focus-visible,
  body[data-active-page="ops"] .ops-section-tabs .ops-tab-family-links a:hover,
  body[data-active-page="ops"] .ops-section-tabs .ops-tab-family-links a:focus-visible,
  body[data-active-page="ops"] .ops-section-tabs .ops-tab-family-links a.is-active {
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #8d4a25;
    outline: 0;
  }
}

@media (max-width: 760px) {
  /* Ops has four families; give each the same compact mobile column treatment
     without changing its desktop grid or the Pilot's four-column geometry. */
  body[data-active-page="ops"] .ops-section-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Mobile-only invite refinement: keep the email and read-only toggle on one compact row. */
body[data-active-page="pilot"] #pilotClubWorkspace .pilot-invite-role-mobile { display: none; }
@media (max-width: 760px) {
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(7.2rem, 34%);
    gap: .5rem;
    align-items: start;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .section-toolbar {
    grid-column: 1 / -1;
    margin-top: 0;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-email-field {
    grid-column: 1;
    min-width: 0;
    margin-top: 0;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-email-field input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    min-height: 2.75rem;
    padding-inline: .65rem;
    font-size: .78rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-email-field .field-help {
    margin-top: .3rem;
    font-size: .65rem;
    line-height: 1.3;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-role-select { display: none; }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-role-mobile {
    display: flex;
    grid-column: 2;
    align-items: center;
    justify-content: space-between;
    gap: .35rem;
    min-width: 0;
    min-height: 2.75rem;
    margin-top: 1.05rem;
    padding: .25rem .35rem .25rem .45rem;
    box-sizing: border-box;
    border: 1px solid rgba(40,109,97,.26);
    border-radius: .45rem;
    background: #f5fbf8;
    color: #285b58;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1.15;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-role-mobile span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-role-mobile input[type="checkbox"] {
    flex: 0 0 1.1rem;
    width: 1.1rem;
    min-width: 1.1rem;
    height: 1.1rem;
    min-height: 1.1rem;
    margin: 0;
    padding: 0;
    accent-color: #286d61;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .button {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0;
  }
}

/* Responsive form guardrails: keep the media dropzone readable when browser
   zoom reduces the effective CSS viewport. Explicit areas prevent the native
   file control from stealing the text column or forcing implicit placement. */
.media-dropzone {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "title" "hint" "file";
  align-items: start;
  min-width: 0;
}
.media-dropzone > strong { grid-area: title; min-width: 0; line-height: 1.25; }
.media-dropzone > span { grid-area: hint; min-width: 0; line-height: 1.35; overflow-wrap: anywhere; }
.media-dropzone > input { grid-area: file; min-width: 0; max-width: 100%; align-self: center; }
@media (max-width: 900px) {
  .media-dropzone {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "hint" "file";
    gap: .55rem;
  }
  .media-dropzone > input { width: 100%; align-self: stretch; }
}

/* Selected takeoff editor: give the active card a calm inner frame instead
   of leaving headings, fields and GPS actions against the border. */
body[data-active-page="pilot"] .pilot-carousel-featured .assigned-takeoff-card {
  box-sizing: border-box;
  padding: clamp(1.15rem, 2.2vw, 2rem);
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(249,246,238,.94)) !important;
}
body[data-active-page="pilot"] .assigned-takeoff-card > header {
  align-items: flex-start;
  margin: 0 0 1.05rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid rgba(23,52,60,.12);
}
body[data-active-page="pilot"] .assigned-takeoff-card > header > div { min-width: 0; }
body[data-active-page="pilot"] .assigned-takeoff-card > .helper-copy {
  margin: 0 0 1rem;
  padding: .7rem .85rem;
  border-left: 3px solid #d86b31;
  border-radius: .35rem;
  background: linear-gradient(135deg, rgba(232,241,238,.72), rgba(255,250,244,.86));
  color: #52676d;
  line-height: 1.45;
}
body[data-active-page="pilot"] .assigned-takeoff-card > .pilot-takeoff-edit-form {
  display: grid;
  gap: 1rem;
  min-width: 0;
}
body[data-active-page="pilot"] .assigned-takeoff-card .pilot-form-section {
  padding: 1rem 1.1rem;
  border-color: rgba(40,127,109,.18);
  background: rgba(255,255,255,.72);
  box-shadow: 0 .35rem .9rem rgba(23,52,60,.045);
}
body[data-active-page="pilot"] .assigned-takeoff-card .pilot-form-section .field-grid { min-width: 0; }
body[data-active-page="pilot"] .assigned-takeoff-card .pilot-form-section textarea { max-width: 100%; box-sizing: border-box; }
body[data-active-page="pilot"] .assigned-takeoff-card > .pilot-tracklog-dropzone {
  display: grid;
  gap: .3rem;
  margin: .15rem 0 0;
  padding: .85rem 1rem;
  border-color: rgba(40,127,109,.28);
  border-radius: .65rem;
  background: linear-gradient(135deg, rgba(232,241,238,.72), rgba(255,250,244,.82));
}
body[data-active-page="pilot"] .assigned-takeoff-card > [data-takeoff-edit-feedback],
body[data-active-page="pilot"] .assigned-takeoff-card > [data-pilot-tracklog-feedback] { margin-inline: .15rem; }
@media (max-width: 760px) {
  body[data-active-page="pilot"] .pilot-carousel-featured .assigned-takeoff-card { padding: .8rem; }
  body[data-active-page="pilot"] .assigned-takeoff-card > header { margin-bottom: .8rem; padding-bottom: .75rem; }
  body[data-active-page="pilot"] .assigned-takeoff-card .pilot-form-section { padding: .72rem .78rem; }
}

/* The available-picker nav uses display:contents so its arrows and page
   indicator can flank the cards. Explicitly place the summary below the
   whole rail; otherwise CSS grid auto-placement drops it into the narrow
   left arrow gutter on desktop. */
@media (min-width: 761px) {
  body[data-active-page="pilot"] .pilot-available-carousel > .pilot-selection-summary {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: .55rem .75rem;
    border: 1px solid rgba(40,127,109,.2);
    border-radius: .55rem;
    background: rgba(232,241,238,.72);
    color: #52676d;
    line-height: 1.35;
    text-align: center;
  }
  body[data-active-page="pilot"] .pilot-available-carousel > .pilot-carousel-nav > span {
    grid-column: 2;
    grid-row: 3;
    margin-top: 0;
    justify-self: center;
    color: #52676d;
    font-size: .72rem;
    font-weight: 900;
  }
  body[data-active-page="pilot"] .pilot-available-carousel > .pilot-available-slides {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
}

/* Available takeoffs stay horizontally scrollable on the Pilot/Ops surface,
   including after the legacy mobile carousel rules above. */
body[data-active-page="pilot"] .pilot-available-carousel > .pilot-available-slides {
  display: flex !important;
  grid-template-columns: none !important;
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory;
}
body[data-active-page="pilot"] .pilot-available-carousel > .pilot-available-slides > .pilot-available-slide {
  flex: 0 0 min(88vw, 32rem);
  width: min(88vw, 32rem);
  scroll-snap-align: center;
}

/* Ops owns the board actions, so its waiting cards stay fully readable. The
   mobile board is an internal rail rather than a clipped max-content child. */
body[data-active-page="ops"] .ops-flight-board .ops-board-card.is-awaiting-ops {
  opacity: 1;
  filter: none;
  background: #fff;
}
body[data-active-page="ops"] .ops-flight-board .ops-board-card.is-awaiting-ops::after { display: none; }
body[data-active-page="ops"] .pilot-board-status-legend { margin: .35rem 0 0; color: #65757b; font-size: .68rem; line-height: 1.35; }
body[data-active-page="ops"] .pilot-board-status-legend strong { color: #17343c; }
@media (max-width: 760px) {
  body[data-active-page="ops"] .ops-flight-board .pilot-board-columns {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100%;
    grid-template-columns: repeat(7, minmax(82vw, 1fr));
    margin-right: 0;
    overflow-x: auto;
    overflow-y: hidden;
    box-sizing: border-box;
    padding-right: .25rem;
  }
  body[data-active-page="ops"] .ops-flight-board .pilot-board-column,
  body[data-active-page="ops"] .ops-flight-board .pilot-board-card { min-width: 0; box-sizing: border-box; }
  body[data-active-page="ops"] .ops-flight-board .pilot-board-card { width: 100%; }
}

/* Final Ops board guard: every status card uses the same compact card type,
   including the weather hold badge, and long operational identifiers stay
   inside the card instead of escaping its column. */
body[data-active-page="ops"] .ops-flight-board .ops-board-card { cursor: pointer; }
body[data-active-page="ops"] .ops-flight-board .ops-board-card:focus-visible { outline: 3px solid #d86b31; outline-offset: 3px; }
body[data-active-page="ops"] .ops-flight-board .ops-board-card .pilot-inbox-identity strong,
body[data-active-page="ops"] .ops-flight-board .ops-board-card .pilot-inbox-identity p,
body[data-active-page="ops"] .ops-flight-board .ops-board-card > p,
body[data-active-page="ops"] .ops-flight-board .ops-board-card .pilot-board-next-step,
body[data-active-page="ops"] .ops-flight-board .ops-board-card .pilot-board-card-meta,
body[data-active-page="ops"] .ops-flight-board .ops-board-card .pilot-board-card-meta span { min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
body[data-active-page="ops"] .ops-flight-board .ops-board-card .weather-warning-badge,
body[data-active-page="ops"] .ops-flight-board .ops-board-card .ops-voucher-badge { box-sizing: border-box; width: fit-content; max-width: 100%; padding: .18rem .35rem; border-radius: .22rem; font: inherit; font-size: .63rem; font-weight: 800; line-height: 1.2; white-space: normal; overflow-wrap: anywhere; }
body[data-active-page="ops"] .admin-flight-focus .ops-board-card { cursor: default; }

/* Owner reference correction: horizontal status strip and four draft thumbnails between metadata and execution line. */
@media (min-width: 901px) {
  #adminFlightMediaSection .media-queue-inline {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr) minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1.35fr);
    align-items: center;
    column-gap: .8rem;
    row-gap: .45rem;
  }
  #adminFlightMediaSection .media-queue-header { grid-column: 1 / -1; }
  #adminFlightMediaSection .media-queue-live { grid-column: 1 / span 2; margin: 0; }
  #adminFlightMediaSection .media-queue-target-inline { grid-column: 3; margin: 0; }
  #adminFlightMediaSection .media-queue-action-inline { grid-column: 4; margin: 0; }
  #adminFlightMediaSection .media-queue-next { grid-column: 5; margin: 0; }
  #adminFlightMediaSection .media-queue-following { grid-column: 1 / -1; margin: 0; }
  #adminFlightMediaSection .admin-media-row {
    grid-template-columns: minmax(14rem, 17rem) minmax(11rem, 14rem) minmax(0, 1fr) minmax(13rem, 16rem);
  }
  #adminFlightMediaSection .media-inline-drafts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .55rem;
    margin-top: 0;
    padding: .55rem;
    align-self: start;
  }
  #adminFlightMediaSection .media-inline-drafts-heading { grid-column: 1 / -1; }
  #adminFlightMediaSection .media-inline-draft-choice { min-height: 2rem; }
}

@media (min-width: 761px) and (max-width: 900px) {
  #adminFlightMediaSection .admin-media-row {
    grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
  }
  #adminFlightMediaSection .admin-media-row > .media-card-asset { grid-column: 1; }
  #adminFlightMediaSection .admin-media-row > div:nth-child(2) { grid-column: 2; }
  #adminFlightMediaSection .admin-media-row > .media-inline-drafts { grid-column: 2; }
  #adminFlightMediaSection .admin-media-row > .media-execution-plan { grid-column: 1 / -1; }
  #adminFlightMediaSection .media-inline-drafts { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
}

@media (max-width: 760px) {
  #adminFlightMediaSection .admin-media-row > .media-inline-drafts { order: 3; }
  #adminFlightMediaSection .admin-media-row > .media-execution-plan { order: 4; }
  #adminFlightMediaSection .media-inline-drafts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
}

/* Ops focus uses a centred reading canvas instead of the Pilot side rail. */
body[data-active-page="ops"] .admin-flight-focus {
  justify-content: center;
  align-items: center;
  padding: 1rem;
  box-sizing: border-box;
  background: rgba(12,31,36,.42);
  backdrop-filter: blur(12px);
}
body[data-active-page="ops"] .admin-flight-focus .pilot-flight-focus-dialog {
  width: min(60rem, calc(100vw - 2rem));
  min-width: 0;
  height: auto;
  max-height: calc(100vh - 2rem);
  border: 1px solid rgba(23,51,58,.14);
  border-radius: 1rem;
  box-shadow: 0 1.5rem 4rem rgba(23,52,60,.28);
}
body[data-active-page="ops"] .admin-flight-focus .pilot-focus-booking .ops-board-card { cursor: default; }
body[data-active-page="ops"] .admin-flight-focus .ops-board-card.is-awaiting-ops { opacity: 1; filter: none; background: #fff; }
body[data-active-page="ops"] .admin-flight-focus .ops-board-card.is-awaiting-ops::after { display: none; }
.admin-flight-focus-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin: 0 0 .75rem; }
.admin-flight-focus-fact, .admin-flight-focus-note { min-width: 0; padding: .8rem; border: 1px solid rgba(23,51,58,.12); border-radius: .75rem; background: #fff; }
.admin-flight-focus-fact { display: grid; align-content: start; gap: .25rem; }
.admin-flight-focus-fact small, .admin-flight-focus-note small { color: #64757a; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.admin-flight-focus-fact strong { color: #17343c; overflow-wrap: anywhere; }
.admin-flight-focus-fact span, .admin-flight-focus-note p { margin: 0; color: #425a60; font-size: .86rem; line-height: 1.4; overflow-wrap: anywhere; }
.admin-flight-focus-note { grid-column: 1 / -1; }
@media (max-width: 640px) { .admin-flight-focus-details { grid-template-columns: 1fr; } .admin-flight-focus-note { grid-column: auto; } }

.media-draft-focus {
  position: fixed;
  inset: 0;
  z-index: 170;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  background: rgba(12,31,36,.48);
  backdrop-filter: blur(14px);
}
.media-draft-focus.hidden { display: none; }
.media-draft-focus-backdrop { position: absolute; inset: 0; }
.media-draft-focus-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0,1fr);
  width: min(58rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1rem;
  border: 1px solid rgba(23,51,58,.14);
  border-radius: 1rem;
  background: #f7f5ee;
  box-shadow: 0 1.5rem 4rem rgba(23,52,60,.3);
}
.media-draft-focus-dialog > header { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; padding-bottom: .8rem; border-bottom: 1px solid rgba(23,51,58,.14); }
.media-draft-focus-dialog h2 { margin: .15rem 0 0; color: #17343c; font-size: 1.25rem; }
.media-draft-focus-dialog #adminMediaDraftFocusContent,
.media-draft-focus-dialog #adminMediaOriginalFocusContent { display: grid; grid-template-columns: minmax(14rem, 28rem) minmax(0,1fr); align-items: center; gap: 1rem; padding-top: 1rem; }
.media-draft-focus-preview { display: grid; place-items: center; min-height: 18rem; max-height: calc(100vh - 9rem); padding: .65rem; border-radius: .8rem; background: #17343c; }
.media-draft-focus-preview img,
.media-draft-focus-preview video { display: block; width: 100%; max-height: calc(100vh - 10rem); object-fit: contain; border-radius: .55rem; }
.media-draft-focus-meta { display: grid; gap: .55rem; min-width: 0; padding: 1rem; border: 1px solid rgba(23,51,58,.12); border-radius: .7rem; background: rgba(255,255,255,.76); color: #52686c; line-height: 1.45; overflow-wrap: anywhere; }
.media-draft-focus-meta strong { color: #17343c; font-size: 1rem; }
#adminFlightMediaSection .media-draft-thumbnail { cursor: zoom-in; }
#adminFlightMediaSection .media-draft-thumbnail:focus-visible { outline: 3px solid #d86b31; outline-offset: 3px; }
#adminFlightMediaSection .media-inline-draft-meta { grid-column: 1 / -1; margin: 0; color: #52686c; font-size: .62rem; line-height: 1.35; overflow-wrap: anywhere; }
#adminFlightMediaSection .media-inline-draft-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; min-width: 0; }
#adminFlightMediaSection .media-inline-draft-actions .inline-feedback { min-width: 0; color: #286d61; font-size: .62rem; line-height: 1.3; overflow-wrap: anywhere; }
#adminFlightMediaSection .media-manual-social-actions { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, auto)); align-items: center; gap: .3rem; padding-top: .35rem; border-top: 1px dashed rgba(40,127,109,.24); }
 #adminFlightMediaSection .media-manual-social-actions .tiny-button { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
 #adminFlightMediaSection .media-manual-social-actions .media-share-button { border-color: rgba(40,127,109,.42); color: #155d58; background: rgba(229,247,242,.86); }
#adminFlightMediaSection .media-manual-permalink { display: grid; grid-column: 1 / -1; gap: .12rem; min-width: 0; color: #52686c; font-size: .59rem; font-weight: 750; }
#adminFlightMediaSection .media-manual-permalink input { width: 100%; min-width: 0; min-height: 1.9rem; padding: .3rem .4rem; border: 1px solid rgba(23,51,58,.18); border-radius: .35rem; color: #17343c; background: #fff; font-size: .65rem; }
#adminFlightMediaSection .media-manual-social-actions .inline-feedback { grid-column: 1 / -1; }
 @media (max-width: 640px) {
   #adminFlightMediaSection .media-manual-social-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
   #adminFlightMediaSection .media-manual-social-actions .tiny-button { width: 100%; }
 }
#adminFlightMediaSection .media-inline-draft-actions.is-confirmed { justify-content: flex-start; }
#adminFlightMediaSection .media-inline-drafts-send { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; padding-top: .35rem; border-top: 1px solid rgba(40,127,109,.18); }
#adminFlightMediaSection .media-inline-drafts-send .helper-copy { margin: 0; font-size: .62rem; }
#adminFlightMediaSection .media-inline-drafts-send [data-media-social-selected-feedback] { flex-basis: 100%; color: #a44b1f; font-size: .65rem; font-weight: 750; overflow-wrap: anywhere; }
#adminFlightMediaSection .media-inline-drafts-note { grid-column: 1 / -1; color: #748287; font-size: .62rem; line-height: 1.35; }
#adminFlightMediaSection .media-draft-preflight-flow { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-top: .25rem; padding-top: .35rem; border-top: 1px dashed rgba(40,127,109,.24); }
#adminFlightMediaSection .media-plan-stage.is-complete .media-draft-preflight-flow { opacity: 1; }
#adminFlightMediaSection .media-draft-preflight-flow .media-plan-note { flex: 1 1 12rem; }
#adminFlightMediaSection .media-draft-preflight-flow .inline-feedback { flex-basis: 100%; color: #a44b1f; font-size: .65rem; font-weight: 750; overflow-wrap: anywhere; }
#adminFlightMediaSection .media-draft-action-complete { color: #647b75 !important; background: #dce7e2 !important; border-color: #bdcec7 !important; cursor: not-allowed; opacity: 1 !important; }
#adminFlightMediaSection .media-draft-action-feedback.is-complete { color: #286d61; }
#adminFlightMediaSection .media-social-send-button { position: relative; }
#adminFlightMediaSection .media-social-send-button.media-social-send-gated { filter: none; opacity: .72; cursor: not-allowed; pointer-events: none; }
#adminFlightMediaSection .media-plan-stage.is-locked .media-social-send-gated { filter: none; }
@media (max-width: 760px) {
  .media-draft-focus-dialog { width: 100vw; max-height: calc(100vh - 1rem); padding: .75rem; }
  .media-draft-focus-dialog #adminMediaDraftFocusContent,
  .media-draft-focus-dialog #adminMediaOriginalFocusContent { grid-template-columns: 1fr; }
  .media-draft-focus-preview { min-height: 12rem; max-height: 56vh; }
  .media-draft-focus-preview img,
  .media-draft-focus-preview video { max-height: 54vh; }
}

/* Owner correction: restore the compact vertical execution plan on desktop. */
#adminFlightMediaSection .media-execution-plan {
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
#adminFlightMediaSection .media-plan-terminal > div { display: grid; gap: .18rem; min-width: 0; }
#adminFlightMediaSection .media-plan-terminal .media-plan-note { display: block; font-weight: 500; }
#adminFlightMediaSection .media-plan-terminal .button:disabled { color: #6e7c7c !important; background: #dce5e1 !important; border-color: #bdcec7 !important; opacity: .72; cursor: not-allowed; }
@media (min-width: 901px) {
  #adminFlightMediaSection .admin-media-row {
    grid-template-columns: minmax(14rem, 17rem) minmax(11rem, 14rem) minmax(0, 1fr) minmax(13rem, 16rem);
  }
  #adminFlightMediaSection .admin-media-row > .media-execution-plan {
    grid-column: auto;
    grid-row: auto;
    align-self: start;
    padding: .15rem 0 0 .15rem;
  }
  #adminFlightMediaSection .media-plan-heading { gap: .35rem; margin-bottom: .25rem; padding-bottom: .2rem; }
  #adminFlightMediaSection .media-plan-heading strong { font-size: .66rem !important; }
  #adminFlightMediaSection .media-plan-heading small { font-size: .54rem; }
  #adminFlightMediaSection .media-sequence-label { font-size: .54rem; }
  #adminFlightMediaSection .media-plan-list {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 0;
  }
  #adminFlightMediaSection .media-plan-stage {
    grid-template-columns: 1.1rem minmax(0, 1fr);
    gap: .28rem;
    padding: .18rem .15rem .18rem 0;
    border-left-width: 1px;
  }
  #adminFlightMediaSection .media-plan-stage::after {
    left: .55rem;
    right: auto;
    top: auto;
    bottom: -.18rem;
    width: 1px;
    height: .22rem;
  }
  #adminFlightMediaSection .media-plan-node {
    width: 1rem;
    height: 1rem;
    margin-left: -.5rem;
    margin-top: 0;
    font-size: .54rem;
  }
  #adminFlightMediaSection .media-plan-stage-copy { gap: .12rem; }
  #adminFlightMediaSection .media-plan-stage-heading { gap: .2rem; }
  #adminFlightMediaSection .media-plan-stage-heading strong { font-size: .64rem !important; }
  #adminFlightMediaSection .media-plan-stage-heading small { font-size: .54rem; line-height: 1.1; }
  #adminFlightMediaSection .media-plan-stage-actions { gap: .18rem; }
  #adminFlightMediaSection .media-plan-stage-actions .button {
    min-height: 1.55rem;
    padding: .2rem .35rem;
    border-radius: .3rem;
    font-size: .57rem;
    line-height: 1.1;
  }
  #adminFlightMediaSection .media-plan-note,
  #adminFlightMediaSection .media-plan-complete-label,
  #adminFlightMediaSection .media-plan-next-step,
  #adminFlightMediaSection .media-plan-action-feedback { font-size: .58rem; line-height: 1.2; }
  #adminFlightMediaSection .media-plan-select { min-width: 6.5rem; font-size: .54rem; }
  #adminFlightMediaSection .media-plan-select select { min-height: 1.55rem; padding: .2rem .3rem; font-size: .58rem; }
  #adminFlightMediaSection .media-plan-terminal { gap: .3rem; margin-top: .2rem; padding-top: .25rem; font-size: .54rem; }
  #adminFlightMediaSection .media-plan-terminal .button { min-height: 1.5rem; padding: .2rem .35rem; font-size: .56rem; }
  #adminFlightMediaSection .media-plan-terminal > div { gap: .08rem; }
  #adminFlightMediaSection .media-plan-stage.is-complete,
  #adminFlightMediaSection .media-plan-stage.is-locked,
  #adminFlightMediaSection .media-plan-stage.is-active { background: transparent; }
  #adminFlightMediaSection .media-plan-stage.is-skipped { border-left-style: dashed; }
}
@media (min-width: 761px) and (max-width: 900px) {
  #adminFlightMediaSection .admin-media-row > .media-execution-plan { grid-column: 1 / -1; }
}
/* Keep the Pilot filters compact like the reference toolbar: the time basis
   is one labelled control with both choices and its period on one row. */
@media (min-width: 901px) {
  body[data-active-page="pilot"] .pilot-board-toolbar-controls {
    flex-wrap: nowrap;
    gap: .45rem;
  }
  body[data-active-page="pilot"] .pilot-board-toolbar-controls > .pilot-board-search {
    flex: 0 1 13rem;
    min-width: 11rem;
  }
  body[data-active-page="pilot"] .pilot-board-toolbar-controls > .pilot-board-filter {
    flex: 0 1 auto;
    min-width: 8rem;
  }
  body[data-active-page="pilot"] .pilot-board-toolbar-controls > .pilot-board-filter select {
    width: auto;
    min-width: 8rem;
    max-width: 11rem;
  }
  body[data-active-page="pilot"] .pilot-board-toolbar-controls > .pilot-board-time-basis {
    display: grid;
    flex: 0 1 23rem;
    min-width: 19rem;
    width: auto;
    padding-inline: .45rem;
  }
  body[data-active-page="pilot"] .pilot-board-time-basis-options {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
  }
  body[data-active-page="pilot"] .pilot-board-time-basis-options label {
    flex: 0 0 auto;
  }
  body[data-active-page="pilot"] .pilot-board-time-basis-options select {
    flex: 1 1 8rem;
    width: auto;
    min-width: 8rem;
  }
}

@media (max-width: 900px) {
  body[data-active-page="pilot"] .pilot-board-toolbar-controls > .pilot-board-filter {
    min-width: 0;
  }
  body[data-active-page="pilot"] .pilot-board-toolbar-controls > .pilot-board-filter select {
    width: 100%;
    max-width: none;
  }
  body[data-active-page="pilot"] .pilot-board-time-basis {
    width: 100%;
    min-width: 0;
  }
  body[data-active-page="pilot"] .pilot-board-time-basis-options {
    flex-wrap: wrap;
    height: auto;
    min-height: 2.75rem;
  }
  body[data-active-page="pilot"] .pilot-board-time-basis-options select {
    flex: 1 1 10rem;
    min-width: 9rem;
  }
}

/* The reason field is required by the reschedule endpoint; keep it visible
   and compact instead of leaving it as a narrow, apparently empty grid cell. */
body[data-active-page="pilot"] .pilot-reschedule-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: .35rem;
  margin-top: .35rem;
  padding: .4rem;
  align-items: center;
}
body[data-active-page="pilot"] .pilot-reschedule-form input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 2rem;
  height: 2rem;
  padding: .25rem .4rem;
  font-size: .68rem;
}
body[data-active-page="pilot"] .pilot-reschedule-form button {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 2rem;
  padding: .25rem .55rem;
  font-size: .68rem;
  white-space: nowrap;
}
@media (max-width: 760px) {
  body[data-active-page="pilot"] .pilot-reschedule-form {
    gap: .3rem;
  }
}

/* Explore location shortcuts: keep all three recent takeoffs in one calm,
   equal row. The rail is intentionally compact, so the long operational
   status sentence does not belong inside these quick-choice controls. */
body[data-active-page="explore"] .discover-spotlight-rail .destination-rail,
body[data-active-page="discover"] .discover-spotlight-rail .destination-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: .45rem;
}

body[data-active-page="explore"] .discover-spotlight-rail .destination-chip,
body[data-active-page="discover"] .discover-spotlight-rail .destination-chip {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 3rem auto;
  align-content: start;
  gap: .3rem;
  min-width: 0;
  min-height: 5.1rem;
  height: 100%;
  padding: .35rem;
  border-radius: .9rem;
}

body[data-active-page="explore"] .discover-spotlight-rail .destination-chip img,
body[data-active-page="discover"] .discover-spotlight-rail .destination-chip img {
  width: 100%;
  height: 3rem;
  border-radius: .62rem;
}

body[data-active-page="explore"] .discover-spotlight-rail .destination-chip span,
body[data-active-page="discover"] .discover-spotlight-rail .destination-chip span {
  min-width: 0;
  gap: .15rem;
}

body[data-active-page="explore"] .discover-spotlight-rail .destination-chip strong,
body[data-active-page="discover"] .discover-spotlight-rail .destination-chip strong {
  min-width: 0;
  overflow: hidden;
  font-size: .66rem;
  line-height: 1.1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-active-page="explore"] .discover-spotlight-rail .destination-chip small,
body[data-active-page="discover"] .discover-spotlight-rail .destination-chip small {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 248, 239, .72);
  font-size: .56rem;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 760px) {
  body[data-active-page="explore"] .discover-spotlight-rail .destination-chip,
  body[data-active-page="discover"] .discover-spotlight-rail .destination-chip {
    grid-template-rows: 2.05rem auto;
    min-height: 4rem;
    padding: .28rem;
  }

  body[data-active-page="explore"] .discover-spotlight-rail .destination-chip img,
  body[data-active-page="discover"] .discover-spotlight-rail .destination-chip img {
    width: 100%;
    height: 2.05rem;
  }

  body[data-active-page="explore"] .discover-spotlight-rail .destination-chip strong,
  body[data-active-page="discover"] .discover-spotlight-rail .destination-chip strong {
    font-size: .62rem;
  }

  body[data-active-page="explore"] .discover-spotlight-rail .destination-chip small,
  body[data-active-page="discover"] .discover-spotlight-rail .destination-chip small {
    font-size: .5rem;
  }
}

/* Keep Pilot notification actions at the same compact pill scale as the
   unread summary; this final scoped rule wins over the global button theme. */
body[data-active-page="pilot"] #pilotNotificationCard .pilot-notification-toolbar-actions .button-small,
body[data-active-page="pilot"] #pilotNotificationCard .pilot-notification-read {
  min-height: 1.95rem;
  padding: .34rem .58rem;
  border-radius: .3rem;
  box-shadow: none;
  font-size: .68rem;
  line-height: 1.2;
}

body[data-active-page="pilot"] #pilotNotificationCard #pilotNotificationToggle {
  background: var(--bg-soft);
  border-color: var(--line-strong);
  color: var(--text);
}

@media (max-width: 760px) {
  body[data-active-page="pilot"] #pilotNotificationCard .pilot-notification-read {
    width: auto;
    align-self: flex-start;
    justify-self: start;
  }
}

/* Pilot reference control: use one compact chevron for every existing
   disclosure, with the control on the far right of the section header. */
body[data-active-page="pilot"] .pilot-ops-accordion summary::before { display: none; content: none; }
body[data-active-page="pilot"] .pilot-ops-accordion summary > .pilot-disclosure-chevron,
body[data-active-page="pilot"] #pilotClubWorkspace .club-create-disclosure summary > .pilot-disclosure-chevron {
  display: grid;
  flex: 0 0 1.7rem;
  width: 1.7rem;
  height: 1.7rem;
  margin-left: auto;
  place-items: center;
  border: 1px solid rgba(40,127,109,.28);
  border-radius: 999px;
  color: #286d61;
  background: rgba(240,249,245,.86);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
body[data-active-page="pilot"] .pilot-ops-accordion[open] summary > .pilot-disclosure-chevron,
body[data-active-page="pilot"] #pilotClubWorkspace .club-create-disclosure[open] summary > .pilot-disclosure-chevron {
  transform: rotate(90deg);
}
body[data-active-page="pilot"] .pilot-ops-accordion summary:hover > .pilot-disclosure-chevron,
body[data-active-page="pilot"] #pilotClubWorkspace .club-create-disclosure summary:hover > .pilot-disclosure-chevron {
  color: #fff;
  background: #287f6d;
}
body[data-active-page="pilot"] .pilot-ops-accordion summary:focus-visible,
body[data-active-page="pilot"] #pilotClubWorkspace .club-create-disclosure summary:focus-visible {
  outline: 3px solid rgba(216,107,49,.45);
  outline-offset: 3px;
  border-radius: .4rem;
}
body[data-active-page="pilot"] #pilotNotificationCard #pilotNotificationToggle {
  display: inline-grid;
  flex: 0 0 2.25rem;
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0;
  place-items: center;
  border-radius: 999px;
}
body[data-active-page="pilot"] #pilotNotificationCard #pilotNotificationToggle .pilot-icon-toggle-glyph {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  transform: translateX(.03rem);
  transition: transform .2s ease;
}
body[data-active-page="pilot"] #pilotNotificationCard #pilotNotificationToggle[aria-expanded="true"] .pilot-icon-toggle-glyph {
  transform: rotate(90deg) translateX(.03rem);
}

/* Extend the same compact right-side disclosure control to the three
   operational Pilot surfaces that were previously always expanded. */
body[data-active-page="pilot"] .pilot-card-disclosure {
  margin: 0;
  padding: clamp(1rem, 2vw, 1.75rem);
}
body[data-active-page="pilot"] .pilot-card-disclosure > summary.section-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 3.4rem;
  cursor: pointer;
  list-style: none;
}
body[data-active-page="pilot"] .pilot-card-disclosure > summary.section-toolbar::-webkit-details-marker { display: none; }
body[data-active-page="pilot"] .pilot-card-disclosure > summary.section-toolbar::before { display: none; content: none; }
body[data-active-page="pilot"] .pilot-card-disclosure > summary.section-toolbar > div { min-width: 0; }
body[data-active-page="pilot"] .pilot-card-disclosure > summary.section-toolbar > div h3 { overflow-wrap: anywhere; }
body[data-active-page="pilot"] .pilot-card-disclosure > summary.section-toolbar > .pilot-disclosure-chevron {
  display: grid;
  flex: 0 0 1.7rem;
  width: 1.7rem;
  height: 1.7rem;
  margin-left: auto;
  place-items: center;
  border: 1px solid rgba(40,127,109,.28);
  border-radius: 999px;
  color: #286d61;
  background: rgba(240,249,245,.86);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
body[data-active-page="pilot"] .pilot-card-disclosure[open] > summary.section-toolbar > .pilot-disclosure-chevron { transform: rotate(90deg); }
body[data-active-page="pilot"] .pilot-card-disclosure > summary.section-toolbar:hover > .pilot-disclosure-chevron {
  color: #fff;
  background: #287f6d;
}
body[data-active-page="pilot"] .pilot-card-disclosure > summary.section-toolbar:focus-visible {
  outline: 3px solid rgba(216,107,49,.45);
  outline-offset: 3px;
  border-radius: .4rem;
}
@media (max-width: 760px) {
  body[data-active-page="pilot"] .pilot-card-disclosure { padding: .8rem; }
  body[data-active-page="pilot"] .pilot-card-disclosure > summary.section-toolbar { gap: .55rem; }
  body[data-active-page="pilot"] .pilot-card-disclosure > summary.section-toolbar > .status-pill { max-width: none; white-space: nowrap; text-align: right; }
}

/* Keep the flight-media form at its pre-disclosure inset. The details
   wrapper adds the chevron without shrinking the established form rhythm. */
body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure {
  padding: clamp(1.25rem, 2vw, 1.75rem);
}

/* The assignment action belongs to the live selection bar: the count stays
   readable on the left and the existing action remains on the right. */
body[data-active-page="pilot"] #pilotAvailableSection .pilot-selection-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: .95rem 0 0;
  padding: .5rem .7rem .5rem .85rem;
  border: 1px solid rgba(40,127,109,.22);
  border-radius: .55rem;
  background: linear-gradient(115deg, rgba(232,241,238,.94), rgba(255,250,244,.98) 68%, rgba(241,226,202,.78));
  box-shadow: 0 .35rem .9rem rgba(23,52,60,.06), inset 0 1px 0 rgba(255,255,255,.7);
  color: #52676d;
  line-height: 1.35;
  text-align: center;
}
body[data-active-page="pilot"] #pilotAvailableSection .pilot-selection-summary-copy {
  min-width: 0;
  flex: 1 1 auto;
}
body[data-active-page="pilot"] #pilotAvailableSection .pilot-selection-summary strong {
  color: #286d61;
  font-size: 1.05em;
}
body[data-active-page="pilot"] #pilotAvailableSection #pilotRequestAssignments {
  flex: 0 0 auto;
  margin: 0;
  border-color: rgba(200,95,43,.44);
  background: linear-gradient(135deg, #d86b31, #ef9d60);
  box-shadow: 0 .35rem .8rem rgba(200,95,43,.2);
}
body[data-active-page="pilot"] #pilotAvailableSection #pilotRequestAssignments:hover:not(:disabled),
body[data-active-page="pilot"] #pilotAvailableSection #pilotRequestAssignments:focus-visible {
  background: linear-gradient(135deg, #c85f2b, #e98e50);
}
@media (max-width: 760px) {
  body[data-active-page="pilot"] #pilotAvailableSection .pilot-selection-summary {
    align-items: stretch;
    flex-direction: column;
    gap: .55rem;
    margin-top: .7rem;
    padding: .55rem .6rem .6rem;
    font-size: .64rem;
  }
  body[data-active-page="pilot"] #pilotAvailableSection #pilotRequestAssignments {
    width: 100%;
    min-height: 2.45rem;
  }
}

/* Owner follow-up: every Pilot review marker shares the far-right header slot. */
body[data-active-page="pilot"] .pilot-card-disclosure > summary.section-toolbar > .status-pill,
body[data-active-page="pilot"] .pilot-ops-accordion:not(.pilot-card-disclosure) > summary > .status-pill {
  flex: 0 1 auto;
  margin-left: auto;
  white-space: nowrap;
}
body[data-active-page="pilot"] .pilot-card-disclosure > summary.section-toolbar,
body[data-active-page="pilot"] .pilot-ops-accordion:not(.pilot-card-disclosure) > summary {
  flex-direction: row;
  flex-wrap: nowrap;
}
body[data-active-page="pilot"] .pilot-card-disclosure > summary.section-toolbar > div,
body[data-active-page="pilot"] .pilot-ops-accordion:not(.pilot-card-disclosure) > summary > span:first-child {
  flex: 1 1 auto;
  min-width: 0;
}
body[data-active-page="pilot"] .pilot-card-disclosure > summary.section-toolbar > .pilot-disclosure-chevron,
body[data-active-page="pilot"] .pilot-ops-accordion:not(.pilot-card-disclosure) > summary > .pilot-disclosure-chevron {
  margin-left: 0;
}
body[data-active-page="pilot"] .pilot-ops-accordion:not(.pilot-card-disclosure) > summary {
  min-width: 0;
}
body[data-active-page="pilot"] .pilot-ops-accordion:not(.pilot-card-disclosure) > summary > .status-pill {
  max-width: none;
  white-space: nowrap;
  text-align: right;
}

/* Restore the media card's original form rhythm after adding details. */
body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure {
  display: grid;
  grid-template-columns: minmax(17rem, .7fr) minmax(0, 1.3fr);
  column-gap: clamp(1rem, 2vw, 2rem);
  align-items: start;
  padding: clamp(1.25rem, 2vw, 1.75rem);
}
body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure > summary.section-toolbar {
  grid-column: 1 / -1;
  width: auto;
  margin: 0 0 .75rem;
  padding: 0;
}
body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure > .helper-copy {
  grid-column: 1 / -1;
  max-width: 46ch;
  margin: 0 0 .2rem;
}
body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure > #pilotMediaForm {
  grid-column: 1;
  width: 100%;
  min-width: 0;
  align-self: start;
}
body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure > #pilotMediaList {
  grid-column: 2;
  width: 100%;
  min-width: 0;
  align-self: start;
}

/* Five-day club view: the rail follows the actual rendered window. */
body[data-active-page="pilot"] #pilotClubCalendar .pilot-calendar-grid {
  grid-template-columns: repeat(5, minmax(8rem, 1fr));
}

/* Screenshot-led compact invite layout: context and submit action share the
   first row; email and role share the second row. IDs and handlers stay put. */
body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(12rem, .72fr);
  align-items: end;
  column-gap: .8rem;
  row-gap: .65rem;
}
body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .section-toolbar {
  grid-column: 1 / 3;
  grid-row: 1;
  align-self: start;
  min-width: 0;
  margin: 0;
}
body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-email-field {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}
body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-role-select {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}
body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-role-mobile {
  display: none;
}
body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .button {
  grid-column: 3;
  grid-row: 1;
  width: 100%;
  min-height: 2.75rem;
  align-self: center;
  margin: 0;
}
@media (max-width: 900px) {
  body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure {
    grid-template-columns: minmax(0, 1fr);
  }
  body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure > #pilotMediaForm,
  body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure > #pilotMediaList {
    grid-column: 1;
  }
  body[data-active-page="pilot"] #pilotClubCalendar .pilot-calendar-grid {
    grid-template-columns: repeat(5, minmax(11rem, 1fr));
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .section-toolbar {
    grid-column: 1 / -1;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-email-field {
    grid-column: 1;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-role-select {
    grid-column: 2;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .button {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}
@media (max-width: 560px) {
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm {
    grid-template-columns: minmax(0, 1fr) minmax(7.2rem, 34%);
    align-items: start;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-email-field {
    grid-column: 1;
    grid-row: 2;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-role-select {
    display: none;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-role-mobile {
    display: flex;
    grid-column: 2;
    grid-row: 2;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    min-height: 2.75rem;
    margin-top: 1.05rem;
    padding: .25rem .35rem .25rem .45rem;
    box-sizing: border-box;
    border: 1px solid rgba(40,109,97,.26);
    border-radius: .45rem;
    background: #f5fbf8;
    color: #285b58;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1.15;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-role-mobile input[type="checkbox"] {
    flex: 0 0 1.1rem;
    width: 1.1rem;
    min-width: 1.1rem;
    height: 1.1rem;
    min-height: 1.1rem;
    margin: 0;
    padding: 0;
    accent-color: #286d61;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .button {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

/* Pilot club visual polish: align the role and submit controls, then make
   training/tandem cards use the available calendar space with a compact
   type tag and readable operational metadata. */
body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .button { grid-column: 3; grid-row: 2; align-self: start; margin-top: 2.625rem; }
body[data-active-page="pilot"] #pilotClubCalendar .pilot-calendar-grid { gap: .65rem; }
body[data-active-page="pilot"] #pilotClubCalendar .pilot-calendar-day { min-height: 19rem; padding: .7rem; }
body[data-active-page="pilot"] #pilotClubCalendar .pilot-calendar-day > header { padding-bottom: .55rem; font-size: .78rem; }
body[data-active-page="pilot"] #pilotClubCalendar .pilot-calendar-day > div { gap: .55rem; padding-top: .55rem; }
body[data-active-page="pilot"] #pilotClubCalendar .pilot-calendar-flight { gap: .35rem; min-height: 5.35rem; padding: .68rem .72rem; border-left-width: 4px; border-radius: .5rem; background: #fff; }
body[data-active-page="pilot"] #pilotClubCalendar .pilot-calendar-flight.is-training { border-left-color: #287f6d; background: linear-gradient(145deg, #f1faf6, #fff); }
body[data-active-page="pilot"] #pilotClubCalendar .pilot-calendar-flight.is-tandem { border-left-color: #d86b31; background: linear-gradient(145deg, #fff8ef, #fff); }
body[data-active-page="pilot"] .pilot-calendar-flight-head,
body[data-active-page="pilot"] .pilot-club-flight-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: .55rem; min-width: 0; }
body[data-active-page="pilot"] .pilot-calendar-flight-head strong,
body[data-active-page="pilot"] .pilot-club-flight-title-row strong { min-width: 0; color: #17343c; font-size: .82rem; line-height: 1.15; overflow-wrap: anywhere; }
body[data-active-page="pilot"] .pilot-flight-type-tag { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 1.25rem; padding: .18rem .38rem; border: 1px solid currentColor; border-radius: 999px; font-size: .56rem; font-weight: 850; letter-spacing: .06em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
body[data-active-page="pilot"] .pilot-calendar-flight.is-training .pilot-flight-type-tag,
body[data-active-page="pilot"] .pilot-club-flight-row.is-training .pilot-flight-type-tag { color: #287f6d; background: #e4f4ed; }
body[data-active-page="pilot"] .pilot-calendar-flight.is-tandem .pilot-flight-type-tag,
body[data-active-page="pilot"] .pilot-club-flight-row.is-tandem .pilot-flight-type-tag { color: #b65327; background: #fff0df; }
body[data-active-page="pilot"] .pilot-calendar-flight-meta { display: grid; gap: .1rem; min-width: 0; color: #405a60; font-size: .72rem; line-height: 1.25; }
body[data-active-page="pilot"] .pilot-calendar-flight-meta span,
body[data-active-page="pilot"] .pilot-calendar-flight-submeta,
body[data-active-page="pilot"] .pilot-club-flight-meta,
body[data-active-page="pilot"] .pilot-club-flight-submeta { color: #64757b; font-size: .68rem; line-height: 1.3; }
body[data-active-page="pilot"] .pilot-calendar-flight-meta span:first-child,
body[data-active-page="pilot"] .pilot-club-flight-meta { color: #405a60; font-weight: 700; }
body[data-active-page="pilot"] #pilotClubFlights .pilot-club-flight-row { display: grid; margin: .35rem 0; padding: .8rem .85rem; border-left: 4px solid #287f6d; border-radius: .55rem; background: linear-gradient(145deg, #f1faf6, #fff); }
body[data-active-page="pilot"] #pilotClubFlights .pilot-club-flight-row.is-tandem { border-left-color: #d86b31; background: linear-gradient(145deg, #fff8ef, #fff); }
body[data-active-page="pilot"] .pilot-club-flight-copy { display: grid; gap: .28rem; min-width: 0; }
body[data-active-page="pilot"] .pilot-club-flight-copy p { margin: 0; }
body[data-active-page="pilot"] .pilot-club-flight-copy .helper-copy { margin-top: .12rem; font-size: .72rem; line-height: 1.35; }
body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure > summary.section-toolbar { align-items: center; gap: .75rem; }
body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure > summary.section-toolbar > div { flex: 1 1 auto; min-width: 0; }
body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure > summary.section-toolbar > .status-pill { flex: 0 0 auto; }
body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure > #pilotMediaForm { padding: .9rem; border: 1px solid rgba(40,127,109,.16); border-radius: .7rem; background: rgba(255,255,255,.72); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure > #pilotMediaList { min-height: 100%; padding: .15rem 0 0; }
@media (max-width: 900px) {
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .button { grid-column: 1 / -1; grid-row: 3; width: 100%; margin-top: 0; }
  body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure > #pilotMediaForm { padding: .75rem; }
}
@media (max-width: 560px) {
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .button { grid-column: 1 / -1; grid-row: 3; }
  body[data-active-page="pilot"] #pilotClubCalendar .pilot-calendar-day { min-height: 16rem; }
}

/* Owner reference correction: restore the old media surface placement and
   keep the new disclosure chevron as the only added behavior. */
@media (min-width: 901px) {
  body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure {
    grid-template-columns: minmax(17rem, .7fr) minmax(0, 1.3fr);
    grid-template-areas: "header header" "helper helper" "form rail";
    column-gap: clamp(1rem, 2vw, 2rem);
  }
  body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure > summary.section-toolbar {
    grid-area: header;
  }
  body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure > .helper-copy {
    grid-area: helper;
    max-width: none;
  }
  body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure > #pilotMediaForm {
    grid-area: form;
  }
  body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure > #pilotMediaList {
    grid-area: rail;
    width: 100%;
  }
  body[data-active-page="pilot"] #pilotMediaList .pilot-media-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr) minmax(12rem, .75fr);
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-email-field {
    grid-column: 1 / 2;
    grid-row: 2;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-role-select {
    grid-column: 2 / 3;
    grid-row: 2;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .button {
    grid-column: 3 / 4;
    grid-row: 2;
    align-self: start;
    margin-top: 2.625rem;
  }
}
@media (min-width: 561px) and (max-width: 900px) {
  body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure > .helper-copy { max-width: none; }
  body[data-active-page="pilot"] #pilotMediaList .pilot-media-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure > #pilotMediaForm,
  body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure > #pilotMediaList {
    grid-column: 1;
    grid-row: auto;
  }
}
@media (max-width: 560px) {
  body[data-active-page="pilot"] #pilotMediaList .pilot-media-track { grid-template-columns: minmax(0, 1fr); }
}

/* Final desktop placement guard: the reference is a two-column flex surface;
   this avoids the legacy details/grid cascade placing both children in the
   first implicit track. */
@media (min-width: 901px) {
  body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure { display: block; }
  body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure > summary.section-toolbar,
  body[data-active-page="pilot"] #pilotFlightMediaSection.pilot-card-disclosure > .helper-copy { width: 100%; max-width: none; box-sizing: border-box; }
  body[data-active-page="pilot"] #pilotFlightMediaSection .pilot-media-layout {
    display: grid;
    grid-template-columns: minmax(17rem, .7fr) minmax(0, 1.3fr);
    column-gap: clamp(1rem, 2vw, 2rem);
    align-items: start;
    margin-top: .35rem;
  }
  body[data-active-page="pilot"] #pilotFlightMediaSection .pilot-media-layout > #pilotMediaForm { grid-column: 1; width: 100%; min-width: 0; }
  body[data-active-page="pilot"] #pilotFlightMediaSection .pilot-media-layout > #pilotMediaList { grid-column: 2; width: 100%; min-width: 0; }
}
@media (max-width: 900px) {
  body[data-active-page="pilot"] #pilotFlightMediaSection .pilot-media-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .8rem;
  }
  body[data-active-page="pilot"] #pilotFlightMediaSection .pilot-media-layout > #pilotMediaForm,
  body[data-active-page="pilot"] #pilotFlightMediaSection .pilot-media-layout > #pilotMediaList { grid-column: 1; width: 100%; }
}

/* Owner reference geometry: restore the archived 2x2 folder rail. The only
   intentional post-baseline behavior is the native disclosure chevron above. */
body[data-active-page="pilot"] #pilotMediaList .pilot-media-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  width: 100%;
  overflow: visible;
  padding: .45rem .25rem .85rem;
  scroll-snap-type: none;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card {
  flex: 0 0 auto;
  height: auto;
  min-height: 15rem;
  max-height: none;
  margin-top: 0;
  transform: none !important;
  border: 1px solid rgba(40,127,109,.25);
  border-radius: .65rem;
  background: linear-gradient(145deg, #f8fffb, #dcefe8 72%, #c9e3da);
  box-shadow: .28rem .28rem 0 rgba(40,127,109,.15), .56rem .56rem 0 rgba(40,127,109,.07), 0 .7rem 1.1rem rgba(23,52,60,.1);
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card::before {
  content: '';
  position: absolute;
  z-index: 2;
  inset: auto auto auto .65rem;
  top: -.36rem;
  width: 2.8rem;
  height: .55rem;
  border: 1px solid rgba(40,127,109,.23);
  border-bottom: 0;
  border-radius: .35rem .35rem 0 0;
  background: #dcefe8;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card::after {
  content: none;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-visual {
  height: auto;
  min-height: 0;
  aspect-ratio: 5 / 4;
  border-radius: .55rem .55rem .35rem .35rem;
  background: linear-gradient(145deg, #c5e3d9, #eaf7f2);
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-visual img,
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-visual video {
  height: 100%;
  object-fit: cover;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy {
  min-height: 0;
  gap: .25rem;
  padding: .58rem .65rem .7rem;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy strong {
  max-width: 16ch;
  font-size: .74rem;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy p {
  -webkit-line-clamp: 2;
  font-size: .68rem;
  line-height: 1.3;
}
@media (max-width: 560px) {
  body[data-active-page="pilot"] #pilotMediaList .pilot-media-track {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Owner follow-up: four compact folder thumbnails in a real horizontal
   carousel. Keep the existing delegated click/lightbox behavior intact. */
body[data-active-page="pilot"] #pilotMediaList .pilot-media-track {
  display: flex;
  flex-wrap: nowrap;
  gap: .55rem;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  padding: .55rem .25rem .65rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card {
  flex: 0 0 calc((100% - 1.65rem) / 4);
  width: auto;
  min-width: 0;
  min-height: 0;
  height: auto;
  max-height: none;
  scroll-snap-align: start;
  cursor: zoom-in;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-visual {
  aspect-ratio: 4 / 3;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy {
  min-height: 3.55rem;
  padding: .42rem .5rem .52rem;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy strong {
  max-width: 13ch;
  font-size: .68rem;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy p {
  font-size: .62rem;
  line-height: 1.25;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-copy small {
  font-size: .58rem;
}
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-visual img,
body[data-active-page="pilot"] #pilotMediaList .pilot-media-card .media-card-visual video {
  cursor: zoom-in;
}

/* Owner reference: the invite controls share one framed row, with the
   outlined action compact and aligned to the far right. */
@media (min-width: 901px) {
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm {
    grid-template-columns: minmax(0, 1fr);
    gap: .7rem;
    padding: 0;
    border: 0;
    background: transparent;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .section-toolbar {
    grid-column: 1;
    grid-row: auto;
    margin: 0;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-controls {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr) auto;
    align-items: end;
    gap: .75rem;
    min-width: 0;
    padding: .8rem;
    border: 1px solid rgba(40,127,109,.22);
    border-radius: .7rem;
    background: linear-gradient(135deg, rgba(248,255,251,.96), rgba(226,244,237,.92));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 .35rem .8rem rgba(23,52,60,.06);
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-email-field,
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-role-select {
    grid-column: auto;
    grid-row: auto;
    min-width: 0;
    margin: 0;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-role-mobile { display: none; }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-controls > .button {
    grid-column: auto;
    grid-row: auto;
    width: auto;
    min-width: max-content;
    min-height: 2.75rem;
    margin: 0;
    justify-self: end;
    align-self: end;
    white-space: nowrap;
  }
}
@media (min-width: 561px) and (max-width: 900px) {
  body[data-active-page="pilot"] #pilotMediaList .pilot-media-card { flex-basis: calc((100% - 1.1rem) / 3); }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm {
    grid-template-columns: minmax(0, 1fr);
    gap: .7rem;
    padding: 0;
    border: 0;
    background: transparent;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .section-toolbar { grid-column: 1; grid-row: auto; margin: 0; }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: .65rem;
    padding: .7rem;
    border: 1px solid rgba(40,127,109,.22);
    border-radius: .7rem;
    background: linear-gradient(135deg, rgba(248,255,251,.96), rgba(226,244,237,.92));
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-email-field { grid-column: 1; grid-row: 1; }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-role-select { grid-column: 2; grid-row: 1; }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-role-mobile { display: none; }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-controls > .button {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin: 0;
  }
}
@media (max-width: 560px) {
  body[data-active-page="pilot"] #pilotMediaList .pilot-media-card { flex-basis: min(10rem, calc((100% - .55rem) / 2)); }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm {
    grid-template-columns: minmax(0, 1fr);
    gap: .6rem;
    padding: 0;
    border: 0;
    background: transparent;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .section-toolbar { grid-column: 1; grid-row: auto; margin: 0; }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(7.2rem, 34%);
    align-items: start;
    gap: .5rem;
    padding: .55rem;
    border: 1px solid rgba(40,127,109,.22);
    border-radius: .65rem;
    background: linear-gradient(135deg, rgba(248,255,251,.96), rgba(226,244,237,.92));
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-email-field { grid-column: 1; grid-row: 1; min-width: 0; }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-role-select { display: none; }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-role-mobile {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    min-height: 2.75rem;
    margin: 1.05rem 0 0;
    padding: .25rem .35rem .25rem .45rem;
    box-sizing: border-box;
    border: 1px solid rgba(40,109,97,.26);
    border-radius: .45rem;
    background: #f5fbf8;
    color: #285b58;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1.15;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-role-mobile input[type="checkbox"] {
    flex: 0 0 1.1rem;
    width: 1.1rem;
    min-width: 1.1rem;
    height: 1.1rem;
    min-height: 1.1rem;
    margin: 0;
    padding: 0;
    accent-color: #286d61;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-controls > .button {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin: 0;
  }
}

/* Owner correction: the three invite controls stay on one framed row and
   the helper sentence is a separate full-width line below them. */
body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-helper {
  grid-column: 1 / -1;
  grid-row: 2;
  display: block;
  min-width: 0;
  margin: 0;
  color: #52717a;
  font-size: .68rem;
  line-height: 1.3;
}
@media (min-width: 561px) {
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-controls {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr) auto;
    align-items: end;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-email-field,
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-role-select {
    grid-column: auto;
    grid-row: 1;
    min-width: 0;
    margin: 0;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-role-mobile { display: none; }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-controls > .button {
    grid-column: 3;
    grid-row: 1;
    width: auto;
    min-width: 11rem;
    min-height: 2.75rem;
    margin: 0;
    justify-self: end;
    align-self: end;
    white-space: nowrap;
  }
}
@media (min-width: 901px) {
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-helper {
    white-space: nowrap;
  }
}
@media (max-width: 560px) {
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-helper {
    grid-column: 1 / -1;
    grid-row: 3;
    white-space: normal;
  }
}
@media (min-width: 561px) and (max-width: 900px) {
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm > .pilot-invite-controls {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-email-field,
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-role-select {
    grid-column: auto;
    grid-row: 1;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-controls > .button {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }
  body[data-active-page="pilot"] #pilotClubWorkspace #pilotClubInviteForm .pilot-invite-helper {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

/* Manual social handoff: keep each draft readable instead of squeezing long
   labels into a four-column thumbnail card. */
@media (min-width: 761px) {
  #adminFlightMediaSection .media-inline-draft-row {
    grid-column: 1 / -1;
    grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr);
    column-gap: .65rem;
    align-items: start;
  }
  #adminFlightMediaSection .media-inline-draft-row > .media-draft-thumbnail { grid-column: 1; grid-row: 1 / span 4; }
  #adminFlightMediaSection .media-inline-draft-row > .media-inline-draft-choice,
  #adminFlightMediaSection .media-inline-draft-row > .media-inline-draft-meta,
  #adminFlightMediaSection .media-inline-draft-row > .media-inline-draft-actions { grid-column: 2; }
  #adminFlightMediaSection .media-manual-social-actions { grid-template-columns: repeat(3, minmax(8rem, 1fr)); }
  #adminFlightMediaSection .media-manual-social-actions .tiny-button { overflow-wrap: normal; word-break: normal; white-space: normal; }
}
@media (max-width: 760px) {
  #adminFlightMediaSection .media-inline-draft-row { grid-column: 1 / -1; }
  #adminFlightMediaSection .media-manual-social-actions .tiny-button { overflow-wrap: normal; word-break: normal; white-space: normal; }
}

/* Owner-requested execution-line placement: proposal cards belong to step 4,
   and the state colors must remain legible when that step contains thumbnails. */
#adminFlightMediaSection .media-plan-stage-actions > .media-inline-drafts {
  flex: 1 1 100%;
  width: 100%;
  margin-top: .28rem;
  box-sizing: border-box;
}
#adminFlightMediaSection .media-plan-stage.is-complete {
  border-left-color: #2b9863;
  background: rgba(228, 247, 236, .9);
}
#adminFlightMediaSection .media-plan-stage.is-complete .media-plan-node {
  border-color: #2b9863;
  color: #fff;
  background: #2b9863;
}
#adminFlightMediaSection .media-plan-stage.is-complete .media-plan-stage-copy,
#adminFlightMediaSection .media-plan-stage.is-locked .media-plan-stage-copy,
#adminFlightMediaSection .media-plan-stage.is-skipped .media-plan-stage-copy { opacity: 1; }
#adminFlightMediaSection .media-plan-stage.is-locked {
  border-left-color: #aab7b2;
  background: rgba(241, 245, 243, .92);
}
#adminFlightMediaSection .media-plan-stage.is-locked .media-plan-node {
  border-color: #9aa9a3;
  color: #5c6c66;
  background: #e3ebe7;
}
#adminFlightMediaSection .media-plan-stage.is-active {
  border-left-color: #d86b31;
  background: rgba(255, 239, 224, .95);
}
#adminFlightMediaSection .media-plan-stage.is-active .media-plan-node {
  border-color: #d86b31;
  color: #fff;
  background: #d86b31;
}
#adminFlightMediaSection .media-plan-stage.is-skipped {
  border-left-color: #7d9490;
  background: rgba(234, 241, 239, .82);
}
#adminFlightMediaSection .media-plan-stage.is-skipped .media-plan-node {
  border-color: #7d9490;
  color: #536964;
  background: #e0e9e6;
}

@media (min-width: 901px) {
  #adminFlightMediaSection .admin-media-row {
    grid-template-columns: minmax(14rem, 17rem) minmax(11rem, 14rem) minmax(0, 1fr);
  }
  #adminFlightMediaSection .admin-media-row > .media-execution-plan {
    grid-column: 3 / -1;
  }
  #adminFlightMediaSection .media-plan-stage-actions > .media-inline-drafts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  #adminFlightMediaSection .media-plan-stage-actions > .media-inline-drafts > .media-inline-draft-row {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
  }
  #adminFlightMediaSection .media-plan-stage-actions > .media-inline-drafts > .media-inline-draft-row > .media-draft-thumbnail,
  #adminFlightMediaSection .media-plan-stage-actions > .media-inline-drafts > .media-inline-draft-row > .media-inline-draft-choice,
  #adminFlightMediaSection .media-plan-stage-actions > .media-inline-drafts > .media-inline-draft-row > .media-inline-draft-meta,
  #adminFlightMediaSection .media-plan-stage-actions > .media-inline-drafts > .media-inline-draft-row > .media-inline-draft-actions { grid-column: 1; }
  #adminFlightMediaSection .media-plan-stage-actions > .media-inline-drafts > .media-inline-draft-row > .media-draft-thumbnail { grid-row: auto; }
  #adminFlightMediaSection .media-plan-stage-actions > .media-inline-drafts .media-manual-social-actions { grid-template-columns: 1fr; }
}

@media (min-width: 761px) and (max-width: 900px) {
  #adminFlightMediaSection .media-plan-stage-actions > .media-inline-drafts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #adminFlightMediaSection .media-plan-stage-actions > .media-inline-drafts .media-manual-social-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Caption editing and one explicit multi-target draft action. */
#adminFlightMediaSection .media-caption-editor {
  display: grid;
  gap: .28rem;
  margin: .55rem 0 .35rem;
  padding: .55rem;
  border: 1px solid rgba(40, 127, 109, .18);
  border-radius: .65rem;
  background: rgba(248, 252, 250, .82);
}
#adminFlightMediaSection .media-caption-editor > span,
#adminFlightMediaSection .media-target-picker legend {
  color: #155d58;
  font-size: .67rem;
  font-weight: 850;
}
#adminFlightMediaSection .media-caption-editor textarea {
  width: 100%;
  min-height: 4.2rem;
  resize: vertical;
  box-sizing: border-box;
  padding: .45rem .55rem;
  border: 1px solid rgba(23, 51, 58, .18);
  border-radius: .45rem;
  background: #fff;
  color: #17333a;
  font: inherit;
  line-height: 1.35;
}
#adminFlightMediaSection .media-caption-editor-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .4rem;
}
#adminFlightMediaSection .media-caption-editor-actions small,
#adminFlightMediaSection .media-target-picker .media-plan-note {
  color: #65777a;
  font-size: .62rem;
  line-height: 1.35;
}
#adminFlightMediaSection .media-draft-controls {
  display: grid;
  gap: .38rem;
  width: 100%;
  min-width: 0;
}
#adminFlightMediaSection .media-target-picker {
  display: grid;
  gap: .35rem;
  width: 100%;
  min-width: 0;
  margin: .2rem 0 0;
  padding: .55rem;
  border: 1px solid rgba(40, 127, 109, .22);
  border-radius: .65rem;
  background: rgba(235, 247, 242, .72);
}
#adminFlightMediaSection .media-target-picker legend { padding: 0 .2rem; }
#adminFlightMediaSection .media-target-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .3rem;
}
#adminFlightMediaSection .media-target-option {
  display: flex;
  align-items: center;
  gap: .35rem;
  min-width: 0;
  padding: .38rem .45rem;
  border: 1px solid rgba(40, 127, 109, .18);
  border-radius: .45rem;
  background: rgba(255, 255, 255, .72);
  color: #17333a;
  font-size: .68rem;
  font-weight: 750;
}
#adminFlightMediaSection .media-target-option input { accent-color: #287f6d; }
#adminFlightMediaSection .media-target-option span { overflow-wrap: anywhere; }
#adminFlightMediaSection .media-draft-preflight-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: .28rem;
  width: 100%;
  margin-top: .2rem;
  padding: .45rem 0 0;
  border-top: 1px dashed rgba(40, 127, 109, .24);
}
#adminFlightMediaSection .media-draft-preflight-flow .button { justify-self: start; }
#adminFlightMediaSection .media-draft-preflight-flow .media-plan-note,
#adminFlightMediaSection .media-draft-preflight-flow .inline-feedback { display: block; }
#adminFlightMediaSection .media-manual-social-gated { grid-column: 1 / -1; }

@media (max-width: 760px) {
  #adminFlightMediaSection .media-caption-editor-actions { grid-template-columns: 1fr; }
  #adminFlightMediaSection .media-caption-editor-actions .button { width: 100%; }
  #adminFlightMediaSection .media-target-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Final owner visual correction: keep the caption and destination controls
   compact so the execution line keeps the available space for its thumbnails. */
#adminFlightMediaSection .media-caption-editor {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .18rem .3rem;
  margin: .3rem 0 .22rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
#adminFlightMediaSection .media-caption-editor .media-caption-label {
  grid-column: 1 / -1;
  color: #286d61;
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .035em;
  text-transform: uppercase;
}
#adminFlightMediaSection .media-caption-editor textarea {
  min-height: 2.7rem;
  padding: .3rem .4rem;
  border-radius: .3rem;
  font-size: .66rem;
  line-height: 1.25;
}
#adminFlightMediaSection .media-caption-editor-actions {
  display: flex;
  align-items: stretch;
  gap: .22rem;
  min-width: 0;
}
#adminFlightMediaSection .media-caption-editor-actions .media-caption-save,
#adminFlightMediaSection .media-draft-submit,
#adminFlightMediaSection .media-preflight-button {
  width: max-content;
  min-width: 0;
  min-height: 1.45rem;
  padding: .18rem .38rem;
  border-radius: .28rem;
  font-size: .55rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .025em;
  text-transform: none;
  white-space: nowrap;
}
#adminFlightMediaSection .media-caption-editor-actions .inline-feedback {
  align-self: center;
  min-height: 0;
  color: #286d61;
  font-size: .55rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
#adminFlightMediaSection .media-draft-controls {
  gap: .25rem;
}
#adminFlightMediaSection .media-target-picker {
  margin: .18rem 0 0;
  padding: .28rem 0 0;
  border: 0;
  border-top: 1px solid rgba(40, 127, 109, .18);
  border-radius: 0;
  background: transparent;
}
#adminFlightMediaSection .media-target-picker legend {
  padding: 0 .15rem 0 0;
  color: #286d61;
  font-size: .58rem;
  letter-spacing: .025em;
  text-transform: uppercase;
}
#adminFlightMediaSection .media-target-options {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: .22rem;
}
#adminFlightMediaSection .media-target-option {
  flex: 1 1 calc(25% - .22rem);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: .24rem;
  min-width: 5.1rem;
  min-height: 2.75rem;
  box-sizing: border-box;
  padding: .22rem .34rem;
  border: 1px solid rgba(40, 127, 109, .18);
  border-radius: .3rem;
  background: rgba(255, 255, 255, .62);
  color: #17333a;
  font-size: .57rem;
  font-weight: 800;
  line-height: 1.05;
}
#adminFlightMediaSection .media-target-option input {
  flex: 0 0 auto;
  width: .78rem;
  height: .78rem;
  margin: 0;
}
#adminFlightMediaSection .media-target-option span { min-width: 0; }
#adminFlightMediaSection .media-draft-preflight-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem;
  padding-top: .25rem;
}
#adminFlightMediaSection .media-draft-preflight-flow .media-plan-note {
  flex: 1 1 8rem;
  font-size: .56rem;
  line-height: 1.15;
}
#adminFlightMediaSection .media-draft-preflight-flow .inline-feedback {
  flex-basis: 100%;
  font-size: .56rem;
}
@media (max-width: 760px) {
  #adminFlightMediaSection .media-caption-editor-actions { grid-template-columns: none; }
  #adminFlightMediaSection .media-caption-editor-actions .media-caption-save { width: max-content; }
  #adminFlightMediaSection .media-target-option { flex-basis: calc(50% - .22rem); min-width: 0; }
  #adminFlightMediaSection .media-draft-submit { justify-self: start; }
}

#adminFlightMediaSection .media-plan-terminal .button { text-transform: none; }

/* Owner reference correction: keep the source image and its title/details in
   the left work column, with the execution line using the full right side. */
@media (min-width: 761px) {
  #adminFlightMediaSection .admin-media-row {
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    align-items: start;
    column-gap: .9rem;
    row-gap: .35rem;
  }
  #adminFlightMediaSection .admin-media-row > .media-card-asset {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }
  #adminFlightMediaSection .admin-media-row > .media-card-details {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    min-width: 0;
  }
  #adminFlightMediaSection .admin-media-row > .media-execution-plan {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  #adminFlightMediaSection .admin-media-row > .media-card-asset,
  #adminFlightMediaSection .admin-media-row > .media-card-details,
  #adminFlightMediaSection .admin-media-row > .media-execution-plan {
    grid-column: 1;
  }
  #adminFlightMediaSection .admin-media-row > .media-card-asset { grid-row: 1; }
  #adminFlightMediaSection .admin-media-row > .media-card-details { grid-row: 2; }
  #adminFlightMediaSection .admin-media-row > .media-execution-plan { grid-row: 3; }
}

/* Proposal actions should read like the surrounding metadata, not like large
   primary CTAs. Keep them compact in both the gallery and manual-handoff rows. */
#adminFlightMediaSection .media-inline-draft-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .2rem;
}
#adminFlightMediaSection .media-inline-draft-actions .tiny-button {
  width: auto;
  min-width: 0;
  min-height: 1.42rem;
  padding: .16rem .34rem;
  border-radius: .28rem;
  box-shadow: none;
  font-family: inherit;
  font-size: .61rem;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: none;
  white-space: normal;
}
#adminFlightMediaSection .media-manual-social-actions {
  display: flex;
  grid-template-columns: none;
  gap: .2rem;
  padding-top: .25rem;
}
#adminFlightMediaSection .media-manual-social-actions .tiny-button {
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}
#adminFlightMediaSection .media-manual-permalink {
  flex: 1 1 100%;
  gap: .1rem;
  font-family: inherit;
  font-size: .59rem;
  font-weight: 750;
}
#adminFlightMediaSection .media-manual-permalink small {
  color: #748287;
  font-size: .55rem;
  font-weight: 500;
  line-height: 1.2;
}
#adminFlightMediaSection .media-manual-permalink input {
  min-height: 1.55rem;
  padding: .18rem .32rem;
  border-radius: .28rem;
  font-family: inherit;
  font-size: .61rem;
}
#adminFlightMediaSection .media-inline-draft-actions .inline-feedback {
  flex: 1 1 100%;
  font-family: inherit;
  font-size: .61rem;
}

/* Keep each destination field attached to the image it controls. */
#adminFlightMediaSection .media-inline-target-option {
  display: flex;
  align-items: center;
  gap: .28rem;
  width: 100%;
  min-width: 0;
  min-height: 1.85rem;
  box-sizing: border-box;
  margin: .04rem 0 0;
  padding: .22rem .32rem;
  border-color: rgba(40, 127, 109, .25);
  background: rgba(255, 255, 255, .82);
  font-size: .59rem;
  line-height: 1.15;
}
#adminFlightMediaSection .media-inline-target-option input {
  flex: 0 0 auto;
  width: .8rem;
  height: .8rem;
  margin: 0;
}
#adminFlightMediaSection .media-inline-target-option span {
  min-width: 0;
  overflow-wrap: anywhere;
}
#adminFlightMediaSection .media-draft-empty {
  display: grid;
  place-items: center;
  gap: .25rem;
  min-height: 5rem;
  padding: .55rem;
  border: 1px dashed rgba(40, 127, 109, .26);
  border-radius: .55rem;
  color: #647b75;
  background: rgba(255, 255, 255, .42);
  text-align: center;
}
#adminFlightMediaSection .media-draft-empty strong { color: #286d61; font-size: .66rem; }
#adminFlightMediaSection .media-draft-empty span { font-size: .58rem; line-height: 1.25; }

/* Owner portal correction: constrain portal reading width and use the quiet Ops/media-editorial treatment. */
body[data-active-page="customer"] main.page > .route-intro-light,
body[data-active-page="customer"] main.page > .customer-portal-grid {
  width: min(calc(100% - 2rem), 70rem) !important;
  max-width: 70rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body[data-active-page="customer"] main.page > .route-intro-light {
  min-height: 24rem;
  margin-bottom: 1.35rem;
  border-radius: .65rem;
}
body[data-active-page="customer"] main.page > .customer-portal-grid {
  display: grid;
  gap: 1rem;
  padding: 0 0 3rem !important;
  background: transparent !important;
}
body[data-active-page="customer"] .customer-journey-intro {
  grid-template-columns: minmax(0, 1fr) minmax(16rem, .7fr);
  padding: 1.1rem 1.25rem;
  border-radius: .65rem;
  background: #17343c;
  box-shadow: none;
}
body[data-active-page="customer"] .customer-journey-intro h2 { font-size: clamp(1.6rem, 3vw, 2.55rem); }
body[data-active-page="customer"] .customer-journey-steps > div { min-height: 2.65rem; padding: .45rem .55rem; border-radius: .35rem; background: rgba(255,255,255,.06); }
body[data-active-page="customer"] .customer-journey-steps b { width: 1.45rem; height: 1.45rem; border-radius: .25rem; font-size: .72rem; }
body[data-active-page="customer"] .customer-portal-grid .card,
body[data-active-page="customer"] .customer-reentry-card {
  border-radius: .55rem;
  box-shadow: 0 8px 20px rgba(23,52,60,.06);
}
body[data-active-page="customer"] .customer-portal-grid .section-toolbar { gap: .75rem; }
body[data-active-page="customer"] .customer-portal-grid .status-pill,
body[data-active-page="customer"] .customer-portal-grid .filter-pill {
  border-radius: .25rem;
  padding: .22rem .42rem;
  font-size: .62rem;
  letter-spacing: .04em;
}
body[data-active-page="customer"] .customer-portal-grid .button,
body[data-active-page="customer"] .customer-portal-grid .tiny-button {
  min-height: 1.95rem;
  padding: .34rem .58rem;
  border-radius: .3rem;
  box-shadow: none;
  font-size: .68rem;
}
body[data-active-page="customer"] .customer-media-drafts {
  margin: .9rem 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
body[data-active-page="customer"] .customer-media-drafts > .section-toolbar {
  padding: .7rem 0;
  border-bottom: 1px solid rgba(23,51,58,.14);
}
body[data-active-page="customer"] .customer-media-draft-row {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr) minmax(12rem, .72fr);
  align-items: start;
  gap: .8rem;
  padding: .8rem 0;
  border-top: 1px solid rgba(23,51,58,.1);
}
body[data-active-page="customer"] .customer-media-draft-row:first-of-type { border-top: 0; }
body[data-active-page="customer"] .customer-media-draft-preview {
  width: 9rem;
  height: 7rem;
  border-radius: .35rem;
  background: #17343c;
}
body[data-active-page="customer"] .customer-media-draft-row > div { min-width: 0; }
body[data-active-page="customer"] .customer-media-draft-row > div:nth-child(2) { display: grid; gap: .35rem; }
body[data-active-page="customer"] .customer-media-draft-row .customer-publication-choice {
  margin-top: .35rem;
  padding: .6rem;
  border-radius: .35rem;
  background: #f4f7f3;
}
body[data-active-page="customer"] .customer-media-draft-row .booking-row-actions,
body[data-active-page="customer"] .customer-media-draft-row .inline-actions {
  align-items: flex-start;
  justify-content: flex-start;
  gap: .3rem;
}
body[data-active-page="customer"] .customer-share-caption {
  margin: .3rem 0 .45rem;
  padding: .55rem .65rem;
  border-left: 2px solid #f47755;
  background: #f7f3ea;
  color: #30484e;
  line-height: 1.45;
}
body[data-active-page="customer"] .customer-media-draft-row textarea,
body[data-active-page="customer"] .customer-media-draft-row select,
body[data-active-page="customer"] .customer-media-draft-row input {
  border-radius: .3rem;
}
body[data-active-page="customer"] .customer-media-draft-row .checkbox-row {
  padding: .3rem 0;
  border: 0;
  background: transparent;
}
body[data-active-page="pilot"] .pilot-auth-card .button,
body[data-active-page="pilot"] .pilot-auth-card .tiny-button { border-radius: .3rem; box-shadow: none; }
body[data-active-page="customer"] .pilot-public-flight-access {
  grid-column: 1 / -1;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: .8rem 0 1.5rem;
  padding: 1rem 1.1rem;
  border-top: 1px solid rgba(23,51,58,.16);
  border-bottom: 1px solid rgba(23,51,58,.16);
  background: rgba(255,255,255,.42);
}
body[data-active-page="customer"] .pilot-public-flight-access .section-toolbar { padding-bottom: .55rem; border-bottom: 1px solid rgba(23,51,58,.1); }
body[data-active-page="customer"] .pilot-public-flight-access h2 { margin: .15rem 0 0; font-size: clamp(1.45rem, 2.4vw, 2rem); }
body[data-active-page="customer"] .pilot-public-flight-access .access-list-note { color: #52686c; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pilot-public-flight-access-list { display: grid; }
.pilot-public-flight-access-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, .85fr);
  align-items: center;
  gap: .75rem 1rem;
  padding: .75rem .1rem;
  border-bottom: 1px solid rgba(23,51,58,.1);
}
.pilot-public-flight-access-row:last-child { border-bottom: 0; }
.public-flight-access-summary {
  display: grid;
  grid-template-columns: 8.5rem minmax(7rem, 1fr) 5.4rem 5.2rem 6.5rem 5.4rem;
  align-items: center;
  gap: .65rem;
  min-width: 0;
}
.public-flight-access-cell { min-width: 0; display: grid; gap: .12rem; }
.public-flight-access-cell small { color: #7a898a; font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; }
.public-flight-access-cell strong { min-width: 0; overflow-wrap: anywhere; color: #17343c; font-size: .76rem; line-height: 1.25; }
.public-flight-access-flight strong { color: #286d61; font-size: .72rem; }
.public-flight-access-status strong { font-weight: 750; }
.public-flight-access-notification strong { color: #286d61; }
.public-flight-access-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  align-items: end;
  gap: .5rem;
  min-width: 0;
}
.public-flight-access-actions { min-width: 0; }
.public-flight-access-form .field { min-width: 0; }
.public-flight-access-form .field input { min-width: 0; width: 100%; }
.public-flight-access-form .inline-feedback { grid-column: 1 / -1; min-height: 1.1rem; margin: 0; }
.public-flight-access-form .inline-actions { margin: 0; }
.public-flight-access-form .button { white-space: nowrap; }
@media (max-width: 820px) {
  .pilot-public-flight-access-row { grid-template-columns: 1fr; align-items: stretch; gap: .55rem; }
  .public-flight-access-summary { grid-template-columns: 8.5rem minmax(0, 1fr); gap: .45rem; }
  .public-flight-access-summary .public-flight-access-cell:nth-child(3),
  .public-flight-access-summary .public-flight-access-cell:nth-child(4),
  .public-flight-access-summary .public-flight-access-cell:nth-child(5),
  .public-flight-access-summary .public-flight-access-cell:nth-child(6) { display: none; }
  .public-flight-access-summary .public-flight-access-status { display: none; }
  .public-flight-access-form { grid-template-columns: 1fr; }
  .public-flight-access-form .inline-feedback { grid-column: auto; }
  .public-flight-access-form .button { width: 100%; }
}
@media (max-width: 700px) {
  body[data-active-page="customer"] main.page > .route-intro-light,
  body[data-active-page="customer"] main.page > .customer-portal-grid { width: calc(100% - 1rem) !important; }
  body[data-active-page="customer"] main.page > .route-intro-light { min-height: 18rem; }
  body[data-active-page="customer"] .customer-journey-intro { grid-template-columns: 1fr; padding: .9rem; }
  body[data-active-page="customer"] .customer-portal-grid .section-toolbar { align-items: flex-start; }
  body[data-active-page="customer"] .customer-media-draft-row { grid-template-columns: 1fr; gap: .55rem; }
  body[data-active-page="customer"] .customer-media-draft-preview { width: 100%; height: min(52vw, 13rem); }
  body[data-active-page="customer"] .customer-media-draft-row .booking-row-actions,
  body[data-active-page="customer"] .customer-media-draft-row .inline-actions { width: 100%; }
  .pilot-public-flight-access-row { grid-template-columns: 1fr; gap: .55rem; }
}
body[data-active-page="customer"] .customer-shareable-media-row { display: grid; gap: .7rem; padding: .75rem 0 0; border-top: 1px solid rgba(23,51,58,.12); }
body[data-active-page="customer"] .customer-shareable-media-row .media-plan-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
body[data-active-page="customer"] .customer-shareable-media-row .media-plan-heading > div { display: grid; gap: .12rem; }
body[data-active-page="customer"] .customer-shareable-media-row .media-plan-heading strong { color: #17343c; font-size: .8rem; }
body[data-active-page="customer"] .customer-shareable-media-row .media-plan-heading small { color: #748287; font-size: .62rem; }
body[data-active-page="customer"] .customer-shareable-media-row .media-sequence-label { color: #286d61; font-size: .61rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
body[data-active-page="customer"] .customer-share-caption-editor { display: grid; gap: .4rem; padding: .65rem; border: 1px solid rgba(23,51,58,.12); border-radius: .45rem; background: #f7faf7; }
body[data-active-page="customer"] .customer-share-caption-editor .field { gap: .25rem; }
body[data-active-page="customer"] .customer-share-caption-editor textarea { min-height: 4.2rem; resize: vertical; }
body[data-active-page="customer"] .customer-share-caption-editor small { color: #748287; font-size: .62rem; line-height: 1.45; }
body[data-active-page="customer"] .customer-share-caption-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }
body[data-active-page="customer"] .customer-share-caption-actions .inline-feedback { min-height: 1rem; }
body[data-active-page="customer"] .customer-social-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
body[data-active-page="customer"] .customer-social-preview-card { display: grid; align-content: start; gap: .4rem; min-width: 0; padding: .5rem; border: 1px solid rgba(23,51,58,.14); border-radius: .55rem; background: #fff; box-shadow: 0 5px 16px rgba(23,52,60,.06); }
body[data-active-page="customer"] .customer-social-preview-topline { display: grid; gap: .1rem; }
body[data-active-page="customer"] .customer-social-preview-topline strong { color: #17343c; font-size: .72rem; }
body[data-active-page="customer"] .customer-social-preview-topline span { color: #748287; font-size: .6rem; }
body[data-active-page="customer"] .customer-social-preview-frame { min-width: 0; overflow: hidden; border: 1px solid rgba(23,51,58,.1); border-radius: .38rem; background: #f7faf7; }
body[data-active-page="customer"] .customer-social-preview-account { display: grid; grid-template-columns: 1.45rem minmax(0, 1fr) auto; align-items: center; gap: .35rem; padding: .45rem; }
body[data-active-page="customer"] .customer-social-preview-avatar { display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: #153e43; color: #f8f5ea; font-size: .62rem; font-weight: 850; }
body[data-active-page="customer"] .customer-social-preview-account span:nth-child(2) { display: grid; gap: .08rem; min-width: 0; }
body[data-active-page="customer"] .customer-social-preview-account b { overflow: hidden; color: #17343c; font-size: .58rem; text-overflow: ellipsis; white-space: nowrap; }
body[data-active-page="customer"] .customer-social-preview-account small { overflow: hidden; color: #748287; font-size: .52rem; text-overflow: ellipsis; white-space: nowrap; }
body[data-active-page="customer"] .customer-social-preview-more { color: #748287; font-size: .68rem; letter-spacing: .04em; }
body[data-active-page="customer"] .customer-social-preview-media-frame { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: #dce9e1; }
body[data-active-page="customer"] .customer-social-preview-media-frame .customer-social-preview-media { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; }
body[data-active-page="customer"] .customer-social-preview-media-source { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
body[data-active-page="customer"] .customer-social-preview-card > .customer-social-preview-frame > .customer-social-preview-media { display: block; width: 100%; aspect-ratio: 4 / 5; border: 0; background: #dce9e1; object-fit: cover; }
body[data-active-page="customer"] .customer-social-preview-tiktok .customer-social-preview-media-frame { aspect-ratio: 9 / 16; max-height: 32rem; }
body[data-active-page="customer"] .customer-social-preview-tiktok > .customer-social-preview-frame > .customer-social-preview-media { aspect-ratio: 9 / 16; max-height: 32rem; }
body[data-active-page="customer"] .customer-social-preview-copy { display: grid; gap: .18rem; padding: .45rem; }
body[data-active-page="customer"] .customer-social-preview-copy strong { overflow: hidden; color: #17343c; font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }
body[data-active-page="customer"] .customer-social-preview-copy p { display: -webkit-box; overflow: hidden; min-height: 2.2rem; margin: 0; color: #52666b; font-size: .58rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
body[data-active-page="customer"] .customer-social-preview-copy small { color: #748287; font-size: .54rem; }
body[data-active-page="customer"] .customer-social-preview-card .booking-row-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; }
body[data-active-page="customer"] .customer-social-preview-card .tiny-button { min-width: 0; padding-inline: .3rem; font-size: .61rem; }
body[data-active-page="customer"] .customer-social-preview-card .inline-feedback { min-height: 1.05rem; font-size: .58rem; }
@media (max-width: 900px) {
  body[data-active-page="customer"] .customer-social-preview-grid { grid-template-columns: 1fr; }
  body[data-active-page="customer"] .customer-social-preview-card { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  body[data-active-page="customer"] .customer-social-preview-card .customer-social-preview-topline,
  body[data-active-page="customer"] .customer-social-preview-card .customer-social-preview-frame { grid-column: 1 / -1; }
  body[data-active-page="customer"] .customer-social-preview-card .booking-row-actions { grid-column: 1; }
  body[data-active-page="customer"] .customer-social-preview-card .inline-feedback { grid-column: 2; align-self: center; }
}
@media (max-width: 520px) {
  body[data-active-page="customer"] .customer-social-preview-card { grid-template-columns: 1fr; }
  body[data-active-page="customer"] .customer-social-preview-card .inline-feedback { grid-column: auto; }
}

/* Customer portal visual contract: use the verified Pilot shell as the
   shared reading frame. Keep customer-specific content and handlers intact;
   only the route geometry, hero asset and hierarchy are shared. */
body[data-active-page="customer"] main.page > #customer.section-heading { display: none; }
body[data-active-page="customer"] main.page > .route-intro,
body[data-active-page="customer"] main.page > #customerSection {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body[data-active-page="customer"] main.page > .route-intro {
  position: relative;
  display: block;
  min-height: clamp(39rem, 72vh, 54rem);
  margin-top: 0 !important;
  margin-bottom: clamp(3rem, 6vw, 5rem) !important;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-xl);
  box-shadow: var(--editorial-shadow);
  overflow: hidden;
  isolation: isolate;
  background: #17343c;
}
body[data-active-page="customer"] .route-intro-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
  opacity: 1 !important;
  background-position: center;
  background-image: linear-gradient(90deg, rgba(22,53,63,.28), rgba(22,53,63,0) 68%), url("/assets/customer-portal-hero-editorial-v1.webp") !important;
}
body[data-active-page="customer"] .route-intro-image::after {
  background: linear-gradient(90deg, rgba(8,25,30,.86) 0%, rgba(8,25,30,.5) 42%, rgba(8,25,30,.08) 82%), linear-gradient(0deg, rgba(8,25,30,.5), transparent 58%);
}
body[data-active-page="customer"] .route-intro-copy {
  position: relative;
  z-index: 1;
  justify-content: flex-end;
  width: 100%;
  min-height: clamp(39rem, 72vh, 54rem);
  margin: 0;
  padding: clamp(10rem, 16vw, 13rem) clamp(1.25rem, 6vw, 6rem) clamp(3.5rem, 8vw, 7rem);
  background: transparent !important;
  color: #fff !important;
}
body[data-active-page="customer"] .route-intro-copy h1 {
  max-width: 9ch;
  margin-bottom: 1.15rem;
  font-size: clamp(3.5rem, 7.4vw, 7rem);
  line-height: .88;
  letter-spacing: -.06em;
  color: #fff !important;
  text-wrap: balance;
}
body[data-active-page="customer"] .route-intro-copy p:not(.eyebrow) {
  max-width: 38ch;
  color: rgba(255,255,255,.86) !important;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
}
body[data-active-page="customer"] .route-intro-copy .eyebrow { color: #9de0d1 !important; }
body[data-active-page="customer"] main.page > #customerSection {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, .92fr);
  align-items: start;
  gap: clamp(1rem, 2.4vw, 1.5rem);
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.25rem, 4vw, 3rem) 3rem !important;
  background: transparent !important;
}
body[data-active-page="customer"] #customerSection > .customer-journey-intro,
body[data-active-page="customer"] #customerSection > .customer-reentry-card,
body[data-active-page="customer"] #customerSection > .customer-public-flight-access,
body[data-active-page="customer"] #customerSection > .customer-welcome-card,
body[data-active-page="customer"] #customerSection > .portal-card-bookings,
body[data-active-page="customer"] #customerSection > .customer-media-drafts {
  grid-column: 1 / -1;
}
body[data-active-page="customer"] #customerSection > .customer-journey-intro {
  border-radius: var(--radius-xl);
  box-shadow: none;
}
body[data-active-page="customer"] #customerSection > .portal-card,
body[data-active-page="customer"] #customerSection > .customer-reentry-card {
  min-width: 0;
}
body[data-active-page="customer"] .customer-account-login-form {
  margin-top: .7rem;
  padding: .8rem;
  border: 1px solid rgba(40,127,109,.2);
  border-radius: .45rem;
  background: rgba(247,250,247,.82);
}
body[data-active-page="customer"] .customer-account-login-form .checkbox-row { display: flex; align-items: flex-start; gap: .55rem; margin: .15rem 0; }
body[data-active-page="customer"] .customer-account-login-form .checkbox-row input { flex: 0 0 1rem; width: 1rem; min-width: 1rem; height: 1rem; margin: .18rem 0 0; accent-color: #287f6d; }
body[data-active-page="customer"] .customer-account-login-form .checkbox-row span { display: grid; gap: .18rem; min-width: 0; }
body[data-active-page="customer"] .customer-account-login-form .checkbox-row small { display: block; color: #627479; line-height: 1.35; }
body[data-active-page="customer"] .customer-access-divider {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 1rem 0 .6rem;
  color: #748287;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
body[data-active-page="customer"] .customer-access-divider::before,
body[data-active-page="customer"] .customer-access-divider::after { content: ''; height: 1px; flex: 1; background: rgba(23,51,58,.13); }
body[data-active-page="customer"] .customer-welcome-card {
  display: grid;
  gap: .7rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(40,127,109,.25);
  border-radius: .55rem;
  background: #f7faf7;
  box-shadow: none;
}
body[data-active-page="customer"] .booking-confirmation-surface {
  padding: 1.15rem 1.2rem 1.25rem;
  border: 2px solid rgba(40,127,109,.46);
  border-radius: .75rem;
  background: linear-gradient(135deg, #eefaf6 0%, #fff 78%);
  box-shadow: 0 10px 24px rgba(23,51,58,.08);
}
body[data-active-page="customer"] .booking-confirmation-surface h2 { margin: .15rem 0 .65rem; color: #17333a; font-size: clamp(1.2rem, 2.6vw, 1.75rem); }
body[data-active-page="customer"] .booking-confirmation-surface p { margin: .45rem 0; line-height: 1.55; }
body[data-active-page="customer"] .booking-next-step-flow {
  margin: 1rem 0 1.05rem;
  padding: .85rem .9rem .95rem;
  border: 1px solid rgba(40,127,109,.2);
  border-radius: .65rem;
  background: rgba(255,255,255,.72);
}
body[data-active-page="customer"] .booking-next-step-heading {
  margin: 0 0 .7rem !important;
  color: #155d58;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body[data-active-page="customer"] .booking-next-step-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: .55rem;
}
body[data-active-page="customer"] .booking-next-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: .55rem;
  min-width: 0;
  padding: .65rem .7rem;
  border: 1px solid rgba(23,51,58,.12);
  border-radius: .55rem;
  background: rgba(248,252,250,.9);
}
body[data-active-page="customer"] .booking-next-step.is-current {
  border-color: rgba(40,127,109,.36);
  background: linear-gradient(135deg, rgba(229,247,242,.92), rgba(255,255,255,.96));
}
body[data-active-page="customer"] .booking-next-step-number {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: #287f6d;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .04em;
}
body[data-active-page="customer"] .booking-next-step:not(.is-current) .booking-next-step-number {
  background: #dcebe6;
  color: #287f6d;
}
body[data-active-page="customer"] .booking-next-step-copy {
  display: grid;
  gap: .12rem;
  min-width: 0;
}
body[data-active-page="customer"] .booking-next-step-copy small {
  color: #287f6d;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
}
body[data-active-page="customer"] .booking-next-step-copy strong {
  color: #17343c;
  font-size: .82rem;
  line-height: 1.2;
}
body[data-active-page="customer"] .booking-next-step-copy em {
  color: #5b6b70;
  font-size: .7rem;
  font-style: normal;
  line-height: 1.25;
}
body[data-active-page="customer"] .booking-next-step-arrow {
  display: grid;
  place-items: center;
  align-self: center;
  color: #d86b31;
  font-size: 1.35rem;
  font-weight: 800;
}
body[data-active-page="customer"] .booking-confirmation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: .9rem 0; }
body[data-active-page="customer"] .booking-confirmation-grid > div { display: grid; gap: .2rem; min-width: 0; padding: .7rem; border: 1px solid rgba(40,127,109,.2); border-radius: .55rem; background: rgba(255,255,255,.82); }
body[data-active-page="customer"] .booking-confirmation-grid small { color: #748287; font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; }
body[data-active-page="customer"] .booking-confirmation-grid strong { color: #17343c; font-size: 1rem; overflow-wrap: anywhere; }
body[data-active-page="customer"] .booking-confirmation-grid span { color: #52686c; font-size: .82rem; line-height: 1.35; }
body[data-active-page="customer"] .booking-confirmation-expiry { display: block; margin-top: .55rem; color: #52686c; }
body[data-active-page="customer"] .customer-welcome-card .customer-credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
}
body[data-active-page="customer"] .customer-welcome-card .customer-credential {
  display: grid;
  gap: .2rem;
  min-width: 0;
  padding: .65rem .7rem;
  border: 1px solid rgba(23,51,58,.12);
  background: #fff;
}
body[data-active-page="customer"] .customer-welcome-card .customer-credential small { color: #748287; font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; }
body[data-active-page="customer"] .customer-welcome-card .customer-credential strong { overflow-wrap: anywhere; color: #17343c; font-size: .9rem; }
@media (max-width: 760px) {
  body[data-active-page="customer"] main.page > .route-intro {
    min-height: clamp(36rem, 88svh, 48rem);
  }
  body[data-active-page="customer"] .route-intro-copy {
    min-height: clamp(36rem, 88svh, 48rem);
    padding: 10rem 1.25rem 3rem;
  }
  body[data-active-page="customer"] main.page > #customerSection {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem 1rem 2.5rem !important;
  }
  body[data-active-page="customer"] #customerSection > .customer-journey-intro,
  body[data-active-page="customer"] #customerSection > .customer-reentry-card,
  body[data-active-page="customer"] #customerSection > .customer-public-flight-access,
  body[data-active-page="customer"] #customerSection > .customer-welcome-card,
  body[data-active-page="customer"] #customerSection > .portal-card-bookings,
  body[data-active-page="customer"] #customerSection > .customer-media-drafts { grid-column: 1; }
  body[data-active-page="customer"] .booking-confirmation-grid { grid-template-columns: 1fr; }
  body[data-active-page="customer"] .booking-next-step-track { grid-template-columns: 1fr; gap: .45rem; }
  body[data-active-page="customer"] .booking-next-step-arrow { min-height: 1.1rem; transform: rotate(90deg); }
}

/* Owner correction: the customer route uses the same image-led public shell
   as Pilot and Explore. Keep customer content/handlers unchanged; only the
   header frame and its responsive placement are shared. */
body[data-active-page="customer"] .public-hero-shell {
  position: absolute !important;
  inset: 0 0 auto !important;
  z-index: 20;
  width: 100% !important;
  height: 0;
  padding: 0 !important;
  background: transparent !important;
  pointer-events: none;
}
body[data-active-page="customer"] .public-hero-shell .topbar {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  width: 100% !important;
  max-width: none !important;
  min-height: 0;
  margin: 0 !important;
  box-sizing: border-box;
  transform: none;
  padding: 1rem clamp(1rem, 3.5vw, 3.25rem) 1.25rem !important;
  background: linear-gradient(180deg, rgba(8,25,30,.72), rgba(8,25,30,.18) 78%, transparent) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  pointer-events: auto;
}
body[data-active-page="customer"] .public-hero-shell .brand {
  display: flex !important;
  grid-column: 1;
  justify-self: start;
  min-width: 0;
  color: #fff !important;
}
body[data-active-page="customer"] .public-hero-shell .brand-name,
body[data-active-page="customer"] .public-hero-shell .brand-copy,
body[data-active-page="customer"] .public-hero-shell .brand .eyebrow,
body[data-active-page="customer"] .public-hero-shell .nav-link {
  color: #fff !important;
  text-shadow: 0 1px 1px rgba(8,25,30,.22);
}
body[data-active-page="customer"] .public-hero-shell .brand-mark {
  flex: 0 0 auto !important;
  width: clamp(3.6rem, 5vw, 4.8rem) !important;
  height: clamp(3rem, 4vw, 4rem) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body[data-active-page="customer"] .public-hero-shell .nav-links {
  grid-column: 2;
  justify-self: center;
  width: max-content;
  justify-content: center;
  transform: none !important;
}
body[data-active-page="customer"] .public-hero-shell .nav-link {
  padding-inline: .15rem !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body[data-active-page="customer"] .public-hero-shell .nav-link:hover,
body[data-active-page="customer"] .public-hero-shell .nav-link:focus-visible,
body[data-active-page="customer"] .public-hero-shell .nav-link.is-active {
  color: #fff !important;
  background: transparent !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .45rem;
}
body[data-active-page="customer"] .public-hero-shell .language-switch {
  grid-column: 3;
  justify-self: end;
  border-color: rgba(255,255,255,.42);
  background: rgba(8,25,30,.28);
}
body[data-active-page="customer"] .public-hero-shell .language-switch button { color: rgba(255,255,255,.9); }
body[data-active-page="customer"] main.page { padding-top: 0 !important; }
body[data-active-page="customer"] main.page > .route-intro {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 760px) {
  body[data-active-page="customer"] .public-hero-shell .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100% !important;
    min-height: 8rem;
    padding: .7rem 1rem 1rem !important;
    border-radius: 0 !important;
  }
  body[data-active-page="customer"] .public-hero-shell .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-self: center;
  }
  body[data-active-page="customer"] .public-hero-shell .language-switch {
    grid-column: 2;
    grid-row: 1;
  }
}

/* Final customer/Pilot hero parity contract. The customer copy is longer,
   but it must still occupy the same image-led frame rather than creating a
   second tall, mostly-empty hero. Keep the customer content and handlers;
   only normalize the shared shell geometry and active-nav treatment. */
@media (min-width: 761px) {
  body[data-active-page="customer"] main.page > .route-intro {
    min-height: clamp(39rem, 72vh, 54rem);
  }

  body[data-active-page="customer"] .route-intro-copy {
    display: flex;
    min-height: clamp(39rem, 72vh, 54rem);
    justify-content: flex-end;
    padding: clamp(7rem, 10vw, 9rem) clamp(1.25rem, 6vw, 6rem) clamp(2.5rem, 4vw, 4rem);
  }
}

@media (max-width: 760px) {
  body[data-active-page="customer"] main.page > .route-intro {
    min-height: clamp(20rem, 42svh, 24rem) !important;
    margin-bottom: 1.25rem !important;
    padding: 0 !important;
  }

  body[data-active-page="customer"] .route-intro-copy {
    display: flex;
    min-height: clamp(20rem, 42svh, 24rem) !important;
    justify-content: flex-end;
    padding: 5.5rem var(--mobile-gutter) 1.75rem;
    background: linear-gradient(180deg, rgba(23,49,61,.14), rgba(23,49,61,.94)) !important;
  }

  body[data-active-page="customer"] .route-intro-copy h1 {
    max-width: 10ch;
    margin-bottom: .7rem;
    font-size: clamp(2.45rem, 12vw, 4rem);
    line-height: .88;
  }

  body[data-active-page="customer"] .route-intro-copy p:not(.eyebrow) {
    max-width: 32ch;
    margin: 0;
    line-height: 1.45;
  }
}

/* Pilot keeps the active route quiet in the shared image-led header; do not
   introduce a customer-only underline marker. */
body[data-active-page="customer"] .public-hero-shell .nav-link.is-active {
  text-decoration: none;
  text-decoration-thickness: initial;
  text-underline-offset: initial;
}

/* Moj let must expose its account/flight surface in the first viewport. The
   image remains the route identity, but it is a compact header rather than a
   full-screen gate that hides the actual customer work area. */
@media (min-width: 761px) {
  body[data-active-page="customer"] main.page > .route-intro,
  body[data-active-page="customer"] .route-intro-copy {
    min-height: clamp(20rem, 42vh, 28rem) !important;
  }
  body[data-active-page="customer"] .route-intro-copy {
    padding: 5rem clamp(1.25rem, 6vw, 6rem) 2rem !important;
  }
  body[data-active-page="customer"] .route-intro-copy h1 {
    font-size: clamp(3rem, 5.2vw, 5rem) !important;
  }
  body[data-active-page="customer"] main.page > .route-intro {
    margin-bottom: 1.25rem !important;
  }
}

@media (max-width: 760px) {
  body[data-active-page="customer"] main.page > .route-intro,
  body[data-active-page="customer"] .route-intro-copy {
    min-height: clamp(20rem, 42svh, 24rem) !important;
  }
  body[data-active-page="customer"] main.page > .route-intro {
    margin-bottom: .9rem !important;
  }
}

/* Owner correction: access controls stay quiet and inline with each flight
   row, using the same soft matte tile language as the four journey steps. */
body[data-active-page="customer"] .pilot-public-flight-access-row {
  grid-template-columns: minmax(0, 1fr) minmax(24rem, .95fr);
  align-items: center;
  gap: .45rem .8rem;
  padding: .52rem 0;
}
body[data-active-page="customer"] .public-flight-access-form {
  grid-template-columns: minmax(0, 1.16fr) minmax(5.8rem, .62fr) auto;
  align-items: center;
  gap: .32rem;
  padding: 0;
}
body[data-active-page="customer"] .public-flight-access-form .field,
body[data-active-page="customer"] .customer-account-login-form .field {
  position: relative;
  min-width: 0;
  gap: 0;
}
body[data-active-page="customer"] .public-flight-access-form .field > span,
body[data-active-page="customer"] .customer-account-login-form .field > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body[data-active-page="customer"] .public-flight-access-form input,
body[data-active-page="customer"] .customer-account-login-form input:not([type="checkbox"]) {
  width: 100%;
  min-width: 0;
  min-height: 1.65rem;
  padding: .28rem .5rem;
  border: 1px solid rgba(40,127,109,.24);
  border-radius: .42rem;
  background: rgba(232,241,238,.82);
  box-shadow: none;
  color: #17343c;
  font-size: .68rem;
  line-height: 1.05;
}
body[data-active-page="customer"] .public-flight-access-form input::placeholder,
body[data-active-page="customer"] .customer-account-login-form input::placeholder { color: #7f908d; opacity: 1; }
body[data-active-page="customer"] .public-flight-access-form input:focus,
body[data-active-page="customer"] .customer-account-login-form input:not([type="checkbox"]):focus {
  border-color: #287f6d;
  outline: 2px solid rgba(40,127,109,.16);
  outline-offset: 1px;
}
body[data-active-page="customer"] .public-flight-access-form .inline-actions,
body[data-active-page="customer"] .customer-account-login-form .inline-actions {
  display: flex;
  align-items: center;
  margin: 0;
}
body[data-active-page="customer"] .public-flight-access-form .inline-actions { grid-column: 3; grid-row: 1; }
body[data-active-page="customer"] .public-flight-access-form .inline-feedback { grid-column: 1 / span 2; grid-row: 2; }
body[data-active-page="customer"] .public-flight-access-form .button,
body[data-active-page="customer"] .customer-account-login-form .button {
  min-width: 3.75rem;
  min-height: 1.65rem;
  padding: .28rem .52rem;
  border-radius: .42rem;
  font-size: .58rem;
  line-height: 1;
  white-space: nowrap;
}
body[data-active-page="customer"] .public-flight-access-form .inline-feedback,
body[data-active-page="customer"] .customer-account-login-form .inline-feedback {
  grid-column: 1 / -1;
  min-height: 0;
  margin: 0;
  font-size: .62rem;
}
body[data-active-page="customer"] .customer-account-login-form {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(5.8rem, 14rem) minmax(0, 1fr) auto;
  align-items: center;
  gap: .34rem;
  padding: .45rem .52rem;
}
body[data-active-page="customer"] .customer-account-login-form .field-grid { display: contents; }
body[data-active-page="customer"] .customer-account-login-form .field-grid .field { grid-row: 1; }
body[data-active-page="customer"] .customer-account-login-form .inline-actions { grid-column: 4; grid-row: 1; }
body[data-active-page="customer"] .customer-account-login-form .checkbox-row { grid-column: 1 / 3; grid-row: 2; margin: .08rem 0 0; }
body[data-active-page="customer"] .customer-account-login-form .inline-feedback { grid-row: 3; }
@media (max-width: 820px) {
  body[data-active-page="customer"] .pilot-public-flight-access-row { grid-template-columns: 1fr; }
  body[data-active-page="customer"] .public-flight-access-form { grid-template-columns: minmax(0, 1.16fr) minmax(5.6rem, .62fr) auto; }
  body[data-active-page="customer"] .public-flight-access-form .button { width: auto; }
}
@media (max-width: 760px) {
  body[data-active-page="customer"] .customer-account-login-form { grid-template-columns: minmax(0, 1.16fr) minmax(5.6rem, .62fr) auto; }
  body[data-active-page="customer"] .customer-account-login-form .inline-actions { grid-column: 3; grid-row: 1; }
}
@media (max-width: 480px) {
  body[data-active-page="customer"] .public-flight-access-form,
  body[data-active-page="customer"] .customer-account-login-form { grid-template-columns: minmax(0, 1fr) minmax(4.8rem, .58fr) auto; gap: .25rem; }
  body[data-active-page="customer"] .public-flight-access-form input,
  body[data-active-page="customer"] .customer-account-login-form input:not([type="checkbox"]) { padding-inline: .5rem; font-size: .68rem; }
  body[data-active-page="customer"] .public-flight-access-form .button,
  body[data-active-page="customer"] .customer-account-login-form .button { padding-inline: .48rem; font-size: .58rem; }
}


/* Reference-image geometry contract: Email stays at the left, the short code
   moves to the annotated right-side slot, and the small action remains at the
   far end. The empty middle track is intentional and must not collapse on
   desktop. */
@media (min-width: 821px) {
  body[data-active-page="customer"] .customer-account-login-form {
    grid-template-columns: minmax(0, 16rem) minmax(0, 2.35fr) minmax(0, 18.75rem) minmax(0, 1fr) 4rem;
    gap: .6rem;
  }
  body[data-active-page="customer"] .customer-account-login-form .field-grid .field:first-child { grid-column: 1; grid-row: 1; }
  body[data-active-page="customer"] .customer-account-login-form .field-grid .field:nth-child(2) { grid-column: 3; grid-row: 1; }
  body[data-active-page="customer"] .customer-account-login-form .inline-actions { grid-column: 5; grid-row: 1; }
  body[data-active-page="customer"] .customer-account-login-form .checkbox-row {
    grid-column: 1;
    grid-row: 2;
    width: 17.875rem;
    max-width: 100%;
    margin: .08rem 0 0;
  }
}
@media (max-width: 820px) {
  body[data-active-page="customer"] .customer-account-login-form {
    grid-template-columns: minmax(0, 1fr) minmax(5.6rem, .62fr) auto;
  }
  body[data-active-page="customer"] .customer-account-login-form .field-grid .field:nth-child(2) { grid-column: auto; }
  body[data-active-page="customer"] .customer-account-login-form .inline-actions { grid-column: 3; grid-row: 1; }
  body[data-active-page="customer"] .customer-account-login-form .checkbox-row { grid-column: 1 / 3; width: auto; }
}


@media (min-width: 821px) {
  body[data-active-page="customer"] .customer-reentry-card {
    padding: 24px 12px 12px;
    border-radius: .35rem;
  }
  body[data-active-page="customer"] .customer-reentry-card .eyebrow {
    margin-bottom: 0;
    font-size: .58rem;
    line-height: 1.2;
  }
  body[data-active-page="customer"] .customer-reentry-card h2 {
    margin: 1.2rem 0 1.6rem;
    font-size: 1rem;
    line-height: 1.2;
  }
  body[data-active-page="customer"] .customer-reentry-card > .helper-copy {
    max-width: none;
    margin: 0 0 .8rem;
    font-size: .7rem;
    line-height: 1.35;
    white-space: nowrap;
  }
  body[data-active-page="customer"] .customer-reentry-card .customer-account-login-form {
    margin-top: 0;
  }
  body[data-active-page="customer"] .customer-reentry-card .customer-account-login-form .checkbox-row strong {
    font-size: .72rem;
    line-height: 1.15;
  }
  body[data-active-page="customer"] .customer-reentry-card .customer-account-login-form .checkbox-row small {
    font-size: .58rem;
    line-height: 1.25;
  }
  body[data-active-page="customer"] .customer-reentry-card .customer-account-login-form .button {
    width: 100%;
    min-width: 0;
  }
}


@media (min-width: 821px) {
  body[data-active-page="customer"] .customer-reentry-card {
    padding-bottom: 0;
  }
  body[data-active-page="customer"] .customer-reentry-card > .helper-copy {
    margin-bottom: 1.25rem;
  }
  body[data-active-page="customer"] .customer-reentry-card .customer-account-login-form {
    row-gap: .08rem;
    padding: .05rem .52rem 0;
  }
  body[data-active-page="customer"] .customer-reentry-card .customer-account-login-form .checkbox-row {
    width: 20rem;
    max-width: calc(100vw - 2rem);
  }
}


/* New owner reference: keep the remember checkbox and bold label on one line,
   place the wider code field in the far-right annotated slot, and expose a
   compact date sort control for Moji letovi. */
@media (min-width: 821px) {
  body[data-active-page="customer"] .customer-reentry-card .customer-account-login-form .checkbox-row {
    width: 18rem;
    max-width: calc(100vw - 2rem);
    flex-wrap: nowrap;
    gap: .35rem;
  }
  body[data-active-page="customer"] .customer-reentry-card .customer-account-login-form .checkbox-row input {
    width: .75rem;
    min-width: .75rem;
    height: .75rem;
    margin-top: .16rem;
  }
  body[data-active-page="customer"] .customer-reentry-card .customer-account-login-form .checkbox-row strong {
    white-space: nowrap;
  }
}
body[data-active-page="customer"] .public-flight-access-toolbar {
  align-items: flex-end;
}
body[data-active-page="customer"] .public-flight-access-sort {
  display: grid;
  gap: .2rem;
  min-width: 11rem;
  margin: 0;
}
body[data-active-page="customer"] .public-flight-access-sort > span {
  color: #748287;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
body[data-active-page="customer"] .public-flight-access-sort select {
  min-height: 1.95rem;
  padding: .34rem .55rem;
  border: 1px solid rgba(40,127,109,.24);
  border-radius: .3rem;
  background: rgba(232,241,238,.82);
  color: #17343c;
  font-size: .68rem;
  line-height: 1.05;
}
body[data-active-page="customer"] .public-flight-access-sort select:focus-visible {
  border-color: #287f6d;
  outline: 2px solid rgba(40,127,109,.16);
  outline-offset: 1px;
}
@media (max-width: 760px) {
  body[data-active-page="customer"] .public-flight-access-toolbar { align-items: stretch; }
  body[data-active-page="customer"] .public-flight-access-sort { width: 100%; min-width: 0; }
  body[data-active-page="customer"] .public-flight-access-sort select { width: 100%; }
}


@media (min-width: 821px) {
  body[data-active-page="customer"] #customerSection > .customer-reentry-card,
  body[data-active-page="customer"] #customerSection > .customer-public-flight-access {
    width: calc(100vw - 1rem);
    max-width: none;
    margin-inline: calc((100% - 100vw + 2rem) / 2);
  }
}
@media (max-width: 820px) {
  body[data-active-page="customer"] .customer-reentry-card .customer-account-login-form .checkbox-row {
    gap: .35rem;
  }
  body[data-active-page="customer"] .customer-reentry-card .customer-account-login-form .checkbox-row input {
    width: .75rem;
    min-width: .75rem;
    height: .75rem;
    margin-top: .16rem;
  }
  body[data-active-page="customer"] .customer-reentry-card .customer-account-login-form .checkbox-row strong {
    font-size: .72rem;
    line-height: 1.15;
    white-space: nowrap;
  }
}

/* Highest-priority owner rule: on desktop the remember-access control is a
   first-class item in the same horizontal access row as email and client
   code. It belongs in the annotated middle slot, never on a second row. */
@media (min-width: 821px) {
  body[data-active-page="customer"] .customer-reentry-card .customer-account-login-form .checkbox-row {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    justify-self: start;
    width: 18rem;
    max-width: 100%;
    margin: 0;
  }
}

/* Customer access card — calm, clear and intentionally separate from the
   anonymous flight list. Keep the existing form IDs and handlers stable. */
body[data-active-page="customer"] .customer-reentry-card {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin: .2rem 0 1.25rem !important;
  padding: clamp(1.35rem, 3vw, 2.1rem) clamp(1.25rem, 3.5vw, 2.4rem) 1.15rem;
  border: 1px solid rgba(23, 51, 58, .13);
  border-top: 4px solid #f47755;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, #fff 0%, #f8fbf7 100%);
  box-shadow: 0 16px 34px rgba(23, 51, 58, .09);
  overflow: hidden;
}
body[data-active-page="customer"] .customer-access-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}
body[data-active-page="customer"] .customer-access-heading {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  min-width: 0;
}
body[data-active-page="customer"] .customer-access-mark {
  display: grid;
  flex: 0 0 2.9rem;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-top: .12rem;
  border-radius: .85rem;
  background: #17333a;
  color: #f7a076;
  box-shadow: 0 7px 16px rgba(23, 51, 58, .14);
}
body[data-active-page="customer"] .customer-access-mark svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
body[data-active-page="customer"] .customer-access-heading .eyebrow {
  margin: 0 0 .35rem;
  color: #287f6d;
}
body[data-active-page="customer"] .customer-access-heading h2 {
  margin: 0;
  color: #17333a;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1;
  letter-spacing: -.035em;
}
body[data-active-page="customer"] .customer-access-lead {
  max-width: 48ch;
  margin: .55rem 0 0;
  color: #627479;
  font-size: .9rem;
  line-height: 1.5;
}
body[data-active-page="customer"] .customer-access-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .4rem;
  padding: .52rem .7rem;
  border: 1px solid rgba(40, 127, 109, .2);
  border-radius: 999px;
  background: #edf7f2;
  color: #286d61;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
body[data-active-page="customer"] .customer-access-badge > span {
  color: #f47755;
  font-size: .72rem;
}
body[data-active-page="customer"] .customer-access-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .8rem;
  margin: 1.25rem 0 1rem;
  padding: .65rem .8rem;
  border-top: 1px solid rgba(23, 51, 58, .1);
  border-bottom: 1px solid rgba(23, 51, 58, .1);
  color: #627479;
  font-size: .72rem;
}
body[data-active-page="customer"] .customer-access-trust span {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  min-width: 0;
}
body[data-active-page="customer"] .customer-access-trust b {
  display: grid;
  flex: 0 0 1.35rem;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: #f7a076;
  color: #17333a;
  font-size: .55rem;
  letter-spacing: .02em;
}
body[data-active-page="customer"] .customer-account-login-form {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(12rem, .82fr) minmax(15rem, 1fr) auto;
  align-items: end;
  gap: .8rem;
  margin: 0;
  padding: 0;
}
body[data-active-page="customer"] .customer-account-login-form .field-grid {
  display: contents;
}
body[data-active-page="customer"] .customer-account-login-form .field-grid .field:first-child { grid-column: 1; grid-row: 1; }
body[data-active-page="customer"] .customer-account-login-form .field-grid .field:nth-child(2) { grid-column: 2; grid-row: 1; }
body[data-active-page="customer"] .customer-account-login-form .field {
  display: grid;
  gap: .38rem;
  min-width: 0;
}
body[data-active-page="customer"] .customer-account-login-form .field > span {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  color: #52686c;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: normal;
}
body[data-active-page="customer"] .customer-account-login-form input:not([type="checkbox"]) {
  box-sizing: border-box;
  width: 100%;
  min-height: 3.05rem;
  padding: .75rem .85rem;
  border: 1px solid rgba(23, 51, 58, .16);
  border-radius: .65rem;
  background: #fff;
  color: #17343c;
  font-size: .92rem;
  line-height: 1.2;
  box-shadow: 0 3px 10px rgba(23, 51, 58, .04);
}
body[data-active-page="customer"] .customer-account-login-form input:not([type="checkbox"]):hover {
  border-color: rgba(40, 127, 109, .42);
}
body[data-active-page="customer"] .customer-account-login-form input:not([type="checkbox"]):focus {
  border-color: #287f6d;
  outline: 3px solid rgba(40, 127, 109, .14);
  outline-offset: 1px;
}
body[data-active-page="customer"] .customer-account-login-form input:not([type="checkbox"])::placeholder { color: #9aa9a6; opacity: 1; }
body[data-active-page="customer"] .customer-account-login-form .checkbox-row {
  display: flex;
  grid-column: 3;
  grid-row: 1;
  align-items: center;
  gap: .62rem;
  min-width: 0;
  min-height: 3.05rem;
  margin: 0;
  padding: .55rem .7rem;
  border: 1px solid rgba(40, 127, 109, .18);
  border-radius: .65rem;
  background: #eef7f2;
}
body[data-active-page="customer"] .customer-account-login-form .checkbox-row input {
  flex: 0 0 1.12rem;
  width: 1.12rem;
  min-width: 1.12rem;
  height: 1.12rem;
  margin: 0;
  accent-color: #287f6d;
}
body[data-active-page="customer"] .customer-account-login-form .checkbox-row span {
  display: grid;
  gap: .16rem;
  min-width: 0;
}
body[data-active-page="customer"] .customer-account-login-form .checkbox-row strong {
  color: #17343c;
  font-size: .76rem;
  line-height: 1.2;
  white-space: normal;
}
body[data-active-page="customer"] .customer-account-login-form .checkbox-row small {
  color: #627479;
  font-size: .66rem;
  line-height: 1.3;
}
body[data-active-page="customer"] .customer-account-login-form .inline-actions {
  display: flex;
  grid-column: 4;
  grid-row: 1;
  align-items: stretch;
  margin: 0;
}
body[data-active-page="customer"] .customer-account-login-form .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-width: 7.6rem;
  min-height: 3.05rem;
  padding: .72rem 1rem;
  border-radius: .65rem;
  font-size: .78rem;
  letter-spacing: .02em;
  white-space: nowrap;
}
body[data-active-page="customer"] .customer-account-login-form .button span:last-child { font-size: 1.05rem; line-height: 1; }
body[data-active-page="customer"] .customer-account-login-form .inline-feedback {
  grid-column: 1 / -1;
  grid-row: 2;
  min-height: 0;
  margin: 0;
  font-size: .78rem;
}
body[data-active-page="customer"] .customer-access-footnote {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  margin: 1rem 0 0;
  color: #748287;
  font-size: .7rem;
  line-height: 1.45;
}
body[data-active-page="customer"] .customer-access-footnote > span {
  flex: 0 0 auto;
  color: #f47755;
  font-size: 1rem;
  line-height: 1.05;
}
@media (max-width: 1020px) {
  body[data-active-page="customer"] .customer-account-login-form {
    grid-template-columns: minmax(0, 1fr) minmax(10rem, .8fr);
  }
  body[data-active-page="customer"] .customer-account-login-form .field-grid .field:first-child { grid-column: 1; }
  body[data-active-page="customer"] .customer-account-login-form .field-grid .field:nth-child(2) { grid-column: 2; }
  body[data-active-page="customer"] .customer-account-login-form .checkbox-row { grid-column: 1; grid-row: 2; }
  body[data-active-page="customer"] .customer-account-login-form .inline-actions { grid-column: 2; grid-row: 2; }
  body[data-active-page="customer"] .customer-account-login-form .inline-feedback { grid-row: 3; }
}
@media (max-width: 680px) {
  body[data-active-page="customer"] .customer-reentry-card {
    margin: 0 0 1rem !important;
    padding: 1.25rem 1rem 1rem;
    border-top-width: 3px;
    border-radius: .95rem;
  }
  body[data-active-page="customer"] .customer-access-header { display: grid; gap: 1rem; }
  body[data-active-page="customer"] .customer-access-heading { gap: .7rem; }
  body[data-active-page="customer"] .customer-access-mark { flex-basis: 2.55rem; width: 2.55rem; height: 2.55rem; border-radius: .75rem; }
  body[data-active-page="customer"] .customer-access-heading h2 { font-size: 1.55rem; }
  body[data-active-page="customer"] .customer-access-lead { margin-top: .42rem; font-size: .82rem; }
  body[data-active-page="customer"] .customer-access-badge { justify-self: start; }
  body[data-active-page="customer"] .customer-access-trust { display: grid; gap: .5rem; margin: 1rem 0 .9rem; padding: .7rem .75rem; }
  body[data-active-page="customer"] .customer-account-login-form { grid-template-columns: 1fr; gap: .7rem; }
  body[data-active-page="customer"] .customer-account-login-form .field-grid .field:first-child,
  body[data-active-page="customer"] .customer-account-login-form .field-grid .field:nth-child(2),
  body[data-active-page="customer"] .customer-account-login-form .checkbox-row,
  body[data-active-page="customer"] .customer-account-login-form .inline-actions,
  body[data-active-page="customer"] .customer-account-login-form .inline-feedback { grid-column: 1; grid-row: auto; }
  body[data-active-page="customer"] .customer-account-login-form .checkbox-row { min-height: 3.2rem; }
  body[data-active-page="customer"] .customer-account-login-form .button { width: 100%; }
  body[data-active-page="customer"] .customer-access-footnote { margin-top: .85rem; }
}

/* Final cascade guard: earlier owner geometry rules targeted the old compact
   row with higher specificity. The redesigned card owns its four-column row. */
@media (min-width: 1021px) {
  body[data-active-page="customer"] .customer-reentry-card .customer-account-login-form .checkbox-row {
    grid-column: 3;
    grid-row: 1;
    width: auto;
    max-width: none;
    justify-self: stretch;
    align-self: end;
  }
  body[data-active-page="customer"] .customer-reentry-card .customer-account-login-form .inline-actions {
    grid-column: 4;
    grid-row: 1;
  }
  body[data-active-page="customer"] .customer-reentry-card .customer-account-login-form .field-grid .field:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }
}

/* Account-first booking: use the established customer access visual language
   before the reservation form becomes available. */
body:not([data-session-ready="true"]) #bookingWizardCard,
body:not([data-session-ready="true"]) #bookingAccountGate { display: none !important; }
#bookingSection #bookingAccountGate {
  grid-column: 1 / -1;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: clamp(1.35rem, 3vw, 2.1rem) clamp(1.25rem, 3.5vw, 2.4rem) 1.25rem;
  border: 1px solid rgba(23, 51, 58, .13);
  border-top: 4px solid #f47755;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, #fff 0%, #f8fbf7 100%);
  box-shadow: 0 16px 34px rgba(23, 51, 58, .09);
}
#bookingAccountGate .customer-access-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
#bookingAccountGate .customer-access-heading { display: flex; align-items: flex-start; gap: .85rem; min-width: 0; }
#bookingAccountGate .customer-access-heading h2 { margin: 0; color: #17333a; font-size: clamp(1.45rem, 2.4vw, 2.15rem); line-height: 1; letter-spacing: -.035em; }
#bookingAccountGate .customer-access-lead { max-width: 58ch; margin: .55rem 0 0; color: #627479; font-size: .9rem; line-height: 1.5; }
#bookingAccountGate .customer-access-trust { display: flex; flex-wrap: wrap; gap: .45rem .8rem; margin: 1.25rem 0 1rem; padding: .65rem .8rem; border-top: 1px solid rgba(23, 51, 58, .1); border-bottom: 1px solid rgba(23, 51, 58, .1); color: #627479; font-size: .72rem; }
#bookingAccountGate .customer-access-trust span { display: inline-flex; align-items: center; gap: .42rem; min-width: 0; }
#bookingAccountGate .customer-access-trust b { display: grid; flex: 0 0 1.35rem; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: #f7a076; color: #17333a; font-size: .55rem; }
#bookingAccountGate .account-gate-login-form { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(12rem, .82fr) minmax(15rem, 1fr); align-items: end; gap: .8rem; margin: 0; }
#bookingAccountGate .account-gate-login-form .field-grid { display: contents; }
#bookingAccountGate .account-gate-login-form .field-grid .field:first-child { grid-column: 1; }
#bookingAccountGate .account-gate-login-form .field-grid .field:nth-child(2) { grid-column: 2; }
#bookingAccountGate .account-gate-login-form .checkbox-row { grid-column: 3; min-height: 3.05rem; margin: 0; }
#bookingAccountGate .account-gate-login-form .inline-feedback { grid-column: 1 / -1; min-height: 0; margin: 0; }
#bookingAccountGate .account-gate-login-form .inline-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin: 0; }
#bookingAccountGate .account-gate-login-form .button { min-height: 3.05rem; border-radius: .65rem; }
.account-registration-form { display: grid; gap: .8rem; margin: 0; }
.account-registration-form .section-toolbar { margin: 0; align-items: center; }
.account-registration-form .section-toolbar h3 { margin: 0; }
.account-registration-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.account-registration-form .inline-actions { margin: 0; }
.account-registration-form .field input { min-height: 2.85rem; }
body[data-active-page="customer"] .customer-account-registration-form { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(23, 51, 58, .1); }
body[data-active-page="customer"] .customer-account-registration-form .section-toolbar { align-items: center; }
body[data-active-page="customer"] .customer-account-registration-form .section-toolbar h3 { margin: 0; color: #17333a; }
body[data-active-page="customer"] .customer-account-registration-form .button { border-radius: .65rem; }
body[data-active-page="customer"] .customer-account-login-form .inline-actions { flex-wrap: wrap; gap: .5rem; }
body[data-active-page="customer"] .customer-account-login-form .button-ghost { min-width: auto; }
body[data-active-page="customer"] .customer-registration-trigger { display: flex; justify-content: flex-end; margin-top: .65rem; }
body[data-active-page="customer"] .customer-registration-trigger .button { border-radius: .65rem; }
@media (max-width: 860px) {
  #bookingAccountGate .account-gate-login-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #bookingAccountGate .account-gate-login-form .checkbox-row { grid-column: 1; }
  #bookingAccountGate .account-gate-login-form .inline-actions { grid-column: 1 / -1; }
  .account-registration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  #bookingSection #bookingAccountGate { padding: 1.25rem 1rem 1rem; border-top-width: 3px; border-radius: .95rem; }
  #bookingAccountGate .customer-access-header { display: grid; gap: 1rem; }
  #bookingAccountGate .customer-access-heading { gap: .7rem; }
  #bookingAccountGate .customer-access-heading h2 { font-size: 1.55rem; }
  #bookingAccountGate .customer-access-lead { font-size: .82rem; }
  #bookingAccountGate .customer-access-trust { display: grid; gap: .5rem; margin: 1rem 0 .9rem; padding: .7rem .75rem; }
  #bookingAccountGate .account-gate-login-form,
  .account-registration-grid { grid-template-columns: 1fr; }
  #bookingAccountGate .account-gate-login-form .field-grid { display: grid; grid-template-columns: 1fr; gap: .7rem; }
  #bookingAccountGate .account-gate-login-form .field-grid .field:first-child,
  #bookingAccountGate .account-gate-login-form .field-grid .field:nth-child(2),
  #bookingAccountGate .account-gate-login-form .checkbox-row,
  #bookingAccountGate .account-gate-login-form .inline-feedback,
  #bookingAccountGate .account-gate-login-form .inline-actions { grid-column: 1; }
  #bookingAccountGate .account-gate-login-form .inline-actions .button { width: 100%; }
  .account-registration-form .section-toolbar { align-items: flex-start; gap: .75rem; }
  .account-registration-form .section-toolbar .button { white-space: nowrap; }
}

/* Booking stays open to anonymous visitors. The account choice is visible
   above the phone fields, but stays quiet and disabled until Email receives focus. */
#bookingSection .field:has(> input[required]) > span::after,
#bookingSection .field:has(> select[required]) > span::after,
#bookingSection .field:has(> textarea[required]) > span::after {
  color: #c75e3d;
  font-weight: 900;
}
#bookingSection .field:has(> input[required]) > span::after,
#bookingSection .field:has(> select[required]) > span::after,
#bookingSection .field:has(> textarea[required]) > span::after {
  content: ' *';
}
#bookingSection .booking-email-field input::placeholder {
  color: #71817e;
  font-size: .72rem;
  opacity: .95;
}
#bookingSection .booking-account-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  margin: -.15rem 0 .2rem;
  padding: .6rem .7rem;
  border: 1px solid rgba(31,123,103,.14);
  border-radius: .65rem;
  background: rgba(248,251,247,.82);
  color: #52686c;
  font-size: .72rem;
  line-height: 1.35;
  transition: background .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease;
}
#bookingSection .booking-account-prompt[aria-disabled="true"] {
  border-color: rgba(88,104,101,.12);
  background: #edf1ef;
  color: #87928f;
  opacity: .76;
}
#bookingSection .booking-account-prompt[aria-disabled="true"] strong { color: #687572; }
#bookingSection .booking-account-prompt strong,
#bookingSection .booking-account-prompt span { display: block; }
#bookingSection .booking-account-prompt strong { color: #17333a; font-size: .76rem; }
#bookingSection .booking-account-prompt-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: .35rem; }
#bookingSection .booking-account-prompt-actions .button { min-height: 2.2rem; padding: .45rem .7rem; border-radius: .55rem; font-size: .7rem; }
#bookingSection .booking-account-prompt-actions .button:disabled {
  cursor: not-allowed;
  color: #788580;
  border-color: #cbd4d0;
  background: #dfe6e2;
  opacity: .78;
  filter: saturate(.2);
}
#bookingSection .booking-account-gate-inline {
  grid-column: auto;
  width: 100%;
  box-sizing: border-box;
  margin: .3rem 0 .15rem;
  padding: .9rem 1rem 1rem;
  border: 1px solid rgba(31,123,103,.18);
  border-top: 2px solid rgba(216,107,49,.72);
  border-radius: .8rem;
  background: rgba(248,251,247,.92);
  box-shadow: 0 .35rem 1rem rgba(23,52,60,.06);
}
#bookingSection .booking-account-gate-summary { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
#bookingSection .booking-account-gate-summary h3 { margin: 0; color: #17333a; font-size: 1.05rem; letter-spacing: -.02em; }
#bookingSection .booking-account-gate-summary .customer-access-lead { max-width: 55ch; margin: .32rem 0 0; color: #627479; font-size: .78rem; line-height: 1.45; }
#bookingSection .booking-account-gate-summary .customer-access-badge { flex: 0 0 auto; font-size: .65rem; }
#bookingSection .booking-account-gate-inline .account-gate-login-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(10rem, .72fr); align-items: end; gap: .65rem; margin-top: .75rem; }
#bookingSection .booking-account-gate-inline .account-gate-login-form .field-grid { display: contents; }
#bookingSection .booking-account-gate-inline .account-gate-login-form .field-grid .field:first-child { grid-column: 1; }
#bookingSection .booking-account-gate-inline .account-gate-login-form .field-grid .field:nth-child(2) { grid-column: 2; }
#bookingSection .booking-account-gate-inline .account-gate-login-form .checkbox-row { grid-column: 1 / -1; margin: 0; }
#bookingSection .booking-account-gate-inline .account-gate-login-form .inline-feedback { grid-column: 1 / -1; min-height: 0; margin: 0; }
#bookingSection .booking-account-gate-inline .account-gate-login-form .inline-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0; }
#bookingSection .booking-account-gate-inline .account-gate-login-form .button { min-height: 2.65rem; border-radius: .6rem; }
#bookingSection .booking-account-gate-inline .account-registration-form { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid rgba(23,51,58,.1); }
#bookingSection .booking-account-gate-inline .account-registration-form .section-toolbar { padding-bottom: .35rem; border-bottom: 0; }
@media (max-width: 680px) {
  #bookingSection .booking-account-prompt { display: grid; gap: .5rem; }
  #bookingSection .booking-account-prompt-actions { display: grid; grid-template-columns: 1fr 1fr; }
  #bookingSection .booking-account-prompt-actions .button { width: 100%; }
  #bookingSection .booking-account-gate-inline { padding: .8rem .75rem .85rem; }
  #bookingSection .booking-account-gate-summary { display: grid; gap: .55rem; }
  #bookingSection .booking-account-gate-inline .account-gate-login-form { grid-template-columns: 1fr; gap: .6rem; }
  #bookingSection .booking-account-gate-inline .account-gate-login-form .field-grid { display: grid; grid-template-columns: 1fr; gap: .6rem; }
  #bookingSection .booking-account-gate-inline .account-gate-login-form .field-grid .field:first-child,
  #bookingSection .booking-account-gate-inline .account-gate-login-form .field-grid .field:nth-child(2),
  #bookingSection .booking-account-gate-inline .account-gate-login-form .checkbox-row,
  #bookingSection .booking-account-gate-inline .account-gate-login-form .inline-feedback,
  #bookingSection .booking-account-gate-inline .account-gate-login-form .inline-actions { grid-column: 1; }
  #bookingSection .booking-account-gate-inline .account-gate-login-form .inline-actions .button { width: 100%; }
}

/* Account access uses the same calm, rectangular control language as Moj let.
   Keep it visually separate from the booking form above without changing the
   account-choice handlers or the reservation flow. */
#bookingSection #bookingAccountGate.booking-account-gate-inline {
  position: relative;
  margin: 1.45rem 0 0;
  padding: 1.25rem 1.15rem 1.15rem;
  border: 1px solid rgba(23, 51, 58, .16);
  border-top: 3px solid #f47755;
  border-radius: .95rem;
  background: #fff;
  box-shadow: 0 .85rem 1.8rem rgba(23, 51, 58, .08);
}
#bookingSection #bookingAccountGate.booking-account-gate-inline::before {
  content: '';
  position: absolute;
  top: -.7rem;
  left: 1.15rem;
  right: 1.15rem;
  border-top: 1px solid rgba(23, 51, 58, .12);
}
#bookingSection #bookingAccountGate .field > span {
  color: #52686c;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.1;
  text-transform: uppercase;
}
#bookingSection #bookingAccountGate input:not([type="checkbox"]),
#bookingSection #bookingAccountGate select,
#bookingSection #bookingAccountGate textarea {
  box-sizing: border-box;
  min-height: 3.05rem;
  padding: .75rem .85rem;
  border: 1px solid rgba(23, 51, 58, .16);
  border-radius: .65rem;
  background: #fff;
  color: #17343c;
  font-size: .92rem;
  line-height: 1.2;
  box-shadow: 0 3px 10px rgba(23, 51, 58, .04);
}
#bookingSection #bookingAccountGate input:not([type="checkbox"]):hover,
#bookingSection #bookingAccountGate select:hover,
#bookingSection #bookingAccountGate textarea:hover { border-color: rgba(40, 127, 109, .42); }
#bookingSection #bookingAccountGate input:not([type="checkbox"]):focus,
#bookingSection #bookingAccountGate select:focus,
#bookingSection #bookingAccountGate textarea:focus {
  border-color: #287f6d;
  outline: 3px solid rgba(40, 127, 109, .14);
  outline-offset: 1px;
}
#bookingSection #bookingAccountGate .button,
#bookingSection .booking-account-prompt-actions .button {
  border-radius: .65rem;
  box-shadow: none;
  letter-spacing: .02em;
}
#bookingSection #bookingAccountGate .button-primary {
  background: #f47755;
  color: #fff;
}
#bookingSection #bookingAccountGate .button-primary:hover { background: #db6043; }
#bookingSection #bookingAccountGate .button-ghost,
#bookingSection #bookingAccountGate .button-secondary,
#bookingSection .booking-account-prompt-actions .button {
  border-color: rgba(40, 127, 109, .28);
  background: #fff;
  color: #17343c;
}
#bookingSection #bookingAccountGate .button-ghost:hover,
#bookingSection #bookingAccountGate .button-secondary:hover,
#bookingSection .booking-account-prompt-actions .button:hover {
  border-color: #287f6d;
  background: #eef7f2;
}
@media (max-width: 680px) {
  #bookingSection #bookingAccountGate.booking-account-gate-inline {
    margin-top: 1.15rem;
    padding: 1.05rem .85rem .95rem;
  }
  #bookingSection #bookingAccountGate.booking-account-gate-inline::before { left: .85rem; right: .85rem; }
}

/* 2026 customer account surface: compact, calm and aligned with Explore. */
#bookingSection .booking-identity-panel {
  margin: .8rem 0;
  padding: .85rem .9rem;
  border: 1px solid rgba(45, 157, 135, .25);
  border-radius: .65rem;
  background: rgba(244, 251, 248, .82);
  color: #17333a;
}
#bookingSection .booking-identity-panel--signed-out {
  border-color: rgba(23, 51, 58, .14);
  background: #f6f8f7;
}
#bookingSection .booking-onboarding-heading {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
}
#bookingSection .booking-onboarding-heading > div:not(.booking-onboarding-actions) { min-width: 0; }
#bookingSection .booking-onboarding-heading h4 { margin: .12rem 0 0; color: #17333a; font-size: .98rem; line-height: 1.2; }
#bookingSection .booking-onboarding-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  border-radius: .52rem;
  background: #2d9d87;
  color: #fff;
  font-weight: 800;
}
#bookingSection .booking-onboarding-step--inactive { background: #cbd4d1; color: #5e6d6b; }
#bookingSection .booking-onboarding-kicker { margin: 0; color: #2d806f; font-size: .58rem; font-weight: 800; letter-spacing: .12em; }
#bookingSection .booking-onboarding-actions { display: flex; align-items: center; flex: 0 0 auto; margin-left: auto; }
#bookingSection .booking-onboarding-actions .button { min-height: 2.3rem; white-space: nowrap; }
#bookingSection .booking-identity-panel > .booking-onboarding-notice > p { margin: .55rem 0 0; color: #53666a; font-size: .76rem; line-height: 1.45; }
#bookingSection .booking-identity-panel .booking-onboarding-clarity { padding-top: .55rem; border-top: 1px solid rgba(23, 51, 58, .1); }
#bookingSection .booking-onboarding-actions .button:disabled { opacity: .48; color: #667572; background: #e3e8e6; border-color: #d0d9d6; cursor: not-allowed; filter: saturate(.25); }
@media (max-width: 680px) {
  #bookingSection .booking-onboarding-heading { flex-wrap: wrap; }
  #bookingSection .booking-onboarding-heading .booking-signed-in-badge { order: 4; margin-left: 2.65rem; }
  #bookingSection .booking-onboarding-actions { order: 5; box-sizing: border-box; width: calc(100% - 2.65rem); max-width: calc(100% - 2.65rem); margin-left: 2.65rem; }
  #bookingSection .booking-onboarding-actions .button { width: 100%; }
}
.booking-signed-in-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: .34rem .58rem;
  border-radius: .28rem;
  background: #2d9d87;
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .01em;
  white-space: nowrap;
}
.booking-onboarding-heading .booking-signed-in-badge { margin-left: auto; align-self: center; }
body[data-active-page="customer"] main.page > #customerSection {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: .85rem;
  padding: .35rem 0 2rem !important;
}
body[data-active-page="customer"] #customerSection > .customer-journey-intro {
  padding: .95rem 1.1rem;
  border-radius: .55rem;
  box-shadow: none;
}
body[data-active-page="customer"] .customer-journey-intro h2 { max-width: 18ch; font-size: clamp(1.5rem, 3vw, 2.4rem); }
body[data-active-page="customer"] .customer-journey-intro p:not(.eyebrow) { font-size: .82rem; }
body[data-active-page="customer"] .customer-journey-steps { gap: .45rem; }
body[data-active-page="customer"] .customer-journey-steps > div { min-height: 2.45rem; padding: .4rem .5rem; border-radius: .3rem; }
body[data-active-page="customer"] .customer-journey-steps span { font-size: .68rem; }
body[data-active-page="customer"] .customer-reentry-card {
  margin: 0 !important;
  padding: 1rem 1.1rem .85rem;
  border-top-width: 3px;
  border-radius: .65rem;
  box-shadow: 0 8px 20px rgba(23,52,60,.06);
}
body[data-active-page="customer"] .customer-access-header { gap: .9rem; }
body[data-active-page="customer"] .customer-access-heading { gap: .65rem; }
body[data-active-page="customer"] .customer-access-mark { flex-basis: 2.45rem; width: 2.45rem; height: 2.45rem; border-radius: .62rem; }
body[data-active-page="customer"] .customer-access-heading h2 { font-size: clamp(1.25rem, 2.2vw, 1.8rem); }
body[data-active-page="customer"] .customer-access-lead { margin-top: .38rem; font-size: .78rem; }
body[data-active-page="customer"] .customer-access-badge { padding: .38rem .55rem; font-size: .6rem; }
body[data-active-page="customer"] .customer-access-trust { gap: .35rem .65rem; margin: .8rem 0 .7rem; padding: .5rem .65rem; font-size: .64rem; }
body[data-active-page="customer"] .customer-access-trust b { width: 1.15rem; height: 1.15rem; flex-basis: 1.15rem; font-size: .5rem; }
body[data-active-page="customer"] .customer-account-login-form { grid-template-columns: minmax(0, 1fr) minmax(11rem, .62fr) auto; gap: .55rem; }
body[data-active-page="customer"] .customer-account-login-form input:not([type="checkbox"]) { min-height: 2.65rem; padding: .62rem .7rem; border-radius: 10.4px; font-size: .82rem; }
body[data-active-page="customer"] .customer-account-login-form .button { min-width: 6.8rem; min-height: 2.65rem; padding: .58rem .75rem; border-radius: 10.4px; font-size: .7rem; }
body[data-active-page="customer"] .customer-account-login-form .inline-actions { gap: .35rem; }
body[data-active-page="customer"] .customer-access-footnote { margin-top: .7rem; font-size: .64rem; }
body[data-active-page="customer"] #customerSection > .portal-card,
body[data-active-page="customer"] #customerSection > .customer-welcome-card {
  padding: .85rem .95rem;
  border-radius: .55rem;
  box-shadow: 0 7px 18px rgba(23,52,60,.055);
}
body[data-active-page="customer"] #customerSection > .portal-card .section-toolbar { padding-bottom: .55rem; }
body[data-active-page="customer"] #customerSection > .portal-card .section-toolbar h2 { font-size: clamp(1.2rem, 2vw, 1.65rem); }
body[data-active-page="customer"] #customerSection > .portal-card .helper-copy { font-size: .78rem; line-height: 1.45; }
body[data-active-page="customer"] .booking-row { padding: .75rem .85rem; border-radius: .45rem; }
body[data-active-page="customer"] .booking-row header { gap: .55rem; }
body[data-active-page="customer"] .booking-row header strong { font-size: .86rem; }
body[data-active-page="customer"] .booking-row p { font-size: .78rem; line-height: 1.4; }
body[data-active-page="customer"] .customer-booking-lifecycle { gap: .55rem; margin: .65rem 0; padding: .7rem .75rem; border-radius: .48rem; }
  body[data-active-page="customer"] .customer-booking-lifecycle-steps > span,
  body[data-active-page="customer"] .customer-booking-lifecycle-step > span { min-height: 2rem; padding: .35rem .45rem; font-size: .64rem; }
body[data-active-page="customer"] .customer-media-drafts { margin-top: .65rem; }
body[data-active-page="customer"] .customer-media-draft-row { gap: .6rem; padding: .65rem 0; }
body[data-active-page="customer"] .customer-media-draft-preview { width: 7.5rem; height: 5.5rem; }
body[data-active-page="customer"] .customer-social-preview-grid { gap: .45rem; }
body[data-active-page="customer"] .customer-social-preview-card { padding: .38rem; border-radius: .42rem; }
@media (max-width: 1020px) {
  body[data-active-page="customer"] .customer-account-login-form { grid-template-columns: minmax(0, 1fr) minmax(10rem, .65fr); }
  body[data-active-page="customer"] .customer-account-login-form .inline-actions { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body[data-active-page="customer"] main.page > #customerSection { padding: .25rem .65rem 1.8rem !important; }
  body[data-active-page="customer"] .customer-journey-intro { padding: .8rem; }
  body[data-active-page="customer"] .customer-reentry-card { padding: .9rem .8rem .75rem; }
  body[data-active-page="customer"] .customer-access-header { gap: .7rem; }
  body[data-active-page="customer"] .customer-access-heading h2 { font-size: 1.35rem; }
  body[data-active-page="customer"] .customer-account-login-form { grid-template-columns: 1fr; gap: .55rem; }
  body[data-active-page="customer"] .customer-account-login-form .inline-actions { grid-column: 1; }
  body[data-active-page="customer"] .customer-account-login-form .button { width: auto; min-height: 2.5rem; }
  body[data-active-page="customer"] #customerSection > .portal-card,
  body[data-active-page="customer"] #customerSection > .customer-welcome-card { padding: .75rem .7rem; }
  body[data-active-page="customer"] .customer-media-draft-preview { width: 100%; height: min(45vw, 10rem); }
}

/* Owner follow-up: make the customer login read as a broad booking-style
   control strip. The username and password stay on one row at tablet/desktop;
   the existing submit handler and account-first request contract are unchanged. */
body[data-active-page="customer"] .customer-reentry-card {
  width: 100% !important;
  max-width: none !important;
  align-self: stretch;
  padding: 1rem clamp(1rem, 2.2vw, 1.8rem) 1.15rem;
}
body[data-active-page="customer"] .customer-account-login-form {
  grid-template-columns: minmax(0, 1fr) minmax(10rem, .72fr) auto !important;
  gap: .55rem;
}
body[data-active-page="customer"] .customer-account-login-form input:not([type="checkbox"]) {
  min-height: 2.35rem;
  padding: .5rem .68rem;
  font-size: .78rem;
}
body[data-active-page="customer"] .customer-account-login-form .button {
  min-width: 6.25rem;
  min-height: 2.35rem;
  padding: .5rem .68rem;
  font-size: .67rem;
}
body[data-active-page="customer"] .customer-access-footnote {
  margin-top: .9rem;
  font-size: .82rem;
  line-height: 1.55;
}
@media (min-width: 681px) {
  body[data-active-page="customer"] .customer-account-login-form .inline-actions {
    grid-column: 3;
    grid-row: 1;
  }
}
@media (max-width: 680px) {
  body[data-active-page="customer"] .customer-account-login-form {
    grid-template-columns: 1fr !important;
  }
  body[data-active-page="customer"] .customer-account-login-form .inline-actions {
    grid-column: 1;
  }
  body[data-active-page="customer"] .customer-access-footnote {
    font-size: .86rem;
  }
}

/* Customer privacy note and required operational-message information. */
body[data-active-page="customer"] .customer-preference-group {
  display: grid;
  align-content: start;
  gap: .55rem;
  min-width: 0;
  padding: .85rem;
  border: 1px solid rgba(23, 51, 58, .13);
  border-radius: .7rem;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(241,248,245,.9));
  box-shadow: 0 .45rem 1.1rem rgba(23, 52, 60, .05);
}
body[data-active-page="customer"] .customer-preference-group:last-child {
  grid-column: 1 / -1;
}
body[data-active-page="customer"] .customer-preference-group-locked {
  grid-column: 1 / -1;
  border-color: rgba(45, 157, 135, .26);
  background: linear-gradient(135deg, #eaf6f1, #fffdf8);
}
body[data-active-page="customer"] .customer-preference-group-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  min-height: 2.2rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(23, 51, 58, .1);
}
body[data-active-page="customer"] .customer-preference-group-heading .eyebrow {
  margin: 0 0 .2rem;
  color: #287f6d;
  font-size: .58rem;
}
body[data-active-page="customer"] .customer-preference-group-heading strong {
  color: #17343c;
  font-size: .88rem;
  line-height: 1.15;
}
body[data-active-page="customer"] .customer-preference-group-heading .status-pill {
  flex: 0 0 auto;
  padding: .28rem .42rem;
  font-size: .55rem;
}
@media (max-width: 680px) {
  body[data-active-page="customer"] .customer-preference-group { padding: .72rem; }
}

/* Account-wide flight history stays explicit and compact on the customer route. */
body[data-active-page="customer"] .customer-flights-toolbar { align-items: flex-start; }
body[data-active-page="customer"] .customer-flights-toolbar > div:first-child { min-width: 0; }
body[data-active-page="customer"] .customer-flights-toolbar > div:first-child > .helper-copy { max-width: 58ch; margin: .35rem 0 0; }
body[data-active-page="customer"] .customer-session-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .45rem; min-width: min(100%, 14rem); }
body[data-active-page="customer"] .customer-session-actions .button { white-space: nowrap; }
body[data-active-page="customer"] .customer-flight-card { min-width: 0; }
@media (max-width: 760px) {
  body[data-active-page="customer"] .customer-session-actions { justify-content: flex-start; min-width: 0; }
  body[data-active-page="customer"] .customer-flights-toolbar > div:first-child > .helper-copy { max-width: none; }
}

/* Booking sketch alignment: compact identity/contact rows and a single decision row. */
#bookingSection .booking-contact-row {
  display: grid;
  gap: .8rem;
  align-items: end;
}
#bookingSection .booking-contact-row-identity {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
#bookingSection .booking-contact-row-contact {
  grid-template-columns: minmax(7.5rem, .68fr) minmax(0, 1.25fr);
}
#bookingSection .booking-contact-row .field input,
#bookingSection .booking-contact-row .field select {
  min-width: 0;
  min-height: 2.8rem;
}
#bookingSection .booking-secondary-grid {
  grid-template-columns: minmax(6rem, .62fr) minmax(12rem, 1.35fr);
  gap: .8rem;
}
#bookingSection .booking-secondary-grid .booking-voucher-fieldset {
  grid-column: auto;
  margin: 0;
  padding: .72rem .8rem;
}
#bookingSection .booking-secondary-grid .booking-voucher-fieldset legend { font-size: .82rem; }
#bookingSection .booking-secondary-grid .booking-voucher-fieldset .day-toggle { min-height: 2.45rem; padding: .42rem .58rem; }
#bookingSection .booking-secondary-grid .booking-voucher-fieldset:has(#bookingVoucherToggle:checked) { grid-column: 1 / -1; }
#bookingSection .booking-secondary-grid .booking-voucher-fields { margin-top: .55rem; }
#bookingSection .booking-voucher-select-field { grid-column: 1 / -1; }
#bookingSection .booking-voucher-hidden-field { display: none !important; }
#bookingSection .booking-voucher-selection,
#bookingSection .booking-voucher-fixed-offer {
  display: grid;
  gap: .18rem;
  padding: .7rem .78rem;
  border: 1px solid rgba(27, 111, 103, .2);
  border-radius: .72rem;
  background: linear-gradient(135deg, rgba(230, 247, 241, .9), rgba(255, 249, 224, .8));
  color: #17333a;
}
#bookingSection .booking-voucher-selection strong,
#bookingSection .booking-voucher-fixed-offer strong { font-size: .86rem; }
#bookingSection .booking-voucher-selection span,
#bookingSection .booking-voucher-fixed-offer span,
#bookingSection .booking-voucher-selection small,
#bookingSection .booking-voucher-fixed-offer small { color: #627479; font-size: .72rem; line-height: 1.35; }
#bookingSection .booking-voucher-fixed-offer { margin: .7rem 0; }
#bookingSection .booking-voucher-create-actions {
  display: grid;
  gap: .55rem;
  grid-column: 1 / -1;
  margin-top: .1rem;
  padding: .7rem .78rem;
  border: 1px dashed rgba(45, 157, 135, .32);
  border-radius: .72rem;
  background: rgba(255, 255, 255, .62);
}
#bookingSection .booking-voucher-create-actions > p { display: grid; gap: .14rem; margin: 0; color: #17333a; font-size: .74rem; line-height: 1.35; }
#bookingSection .booking-voucher-create-actions > p span { color: #627479; }
#bookingSection .booking-voucher-create-links { display: flex; flex-wrap: wrap; gap: .45rem; }
#bookingSection .booking-voucher-create-links .button { min-height: 2.35rem; }
#bookingSection .booking-signed-in-badge {
  padding: .5rem .82rem;
  border-radius: .45rem;
  font-size: .82rem;
  line-height: 1.15;
  letter-spacing: .015em;
}
#bookingSection .booking-onboarding-actions .button {
  min-height: 2.15rem;
  padding: .34rem .62rem;
  border-radius: .5rem;
  font-size: .65rem;
}
#bookingSection .minor-accompaniment-notice,
body[data-active-page="customer"] .minor-accompaniment-notice {
  margin: 0;
  padding: .62rem .72rem;
  border: 1px solid rgba(216, 107, 49, .24);
  border-left: 3px solid #d86b31;
  border-radius: .55rem;
  background: #fff7ed;
  color: #6d4b35;
  font-size: .74rem;
  line-height: 1.45;
}
#bookingSection .minor-accompaniment-notice strong,
body[data-active-page="customer"] .minor-accompaniment-notice strong { color: #8d4a25; }
@media (max-width: 760px) {
  #bookingSection .booking-contact-row,
  #bookingSection .booking-secondary-grid { grid-template-columns: 1fr; }
  #bookingSection .booking-secondary-grid .booking-voucher-fieldset,
  #bookingSection .booking-secondary-grid .booking-voucher-fieldset:has(#bookingVoucherToggle:checked) { grid-column: auto; }
  #bookingSection .booking-contact-row-contact { gap: .65rem; }
  #bookingSection .booking-secondary-grid .booking-voucher-fields { grid-template-columns: 1fr; }
  #bookingSection .booking-signed-in-badge { margin-left: auto; }
  #bookingSection .booking-onboarding-actions { width: auto; max-width: 100%; margin-left: 2.65rem; }
  #bookingSection .booking-onboarding-actions .button { width: auto; }
}

/* Owner visual refinement: frame the passenger details as one calm step and
   give labels and controls enough breathing room without changing the booking
   structure, calendar sizing, or interaction handlers. */
body[data-active-page="explore"] #bookingSection .booking-input-layout {
  gap: clamp(1rem, 2vw, 1.6rem);
  padding: clamp(.75rem, 1.5vw, 1.15rem);
  border: 1px solid rgba(31, 123, 103, .16);
  border-radius: 1.2rem;
  background: linear-gradient(145deg, rgba(247, 252, 249, .96), rgba(255, 249, 239, .92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 .75rem 1.8rem rgba(23,52,60,.06);
}
body[data-active-page="explore"] #bookingSection .booking-contact-column {
  gap: 1rem;
  padding: clamp(.8rem, 1.5vw, 1.1rem);
  border: 1px solid rgba(23, 51, 58, .12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 .4rem 1.1rem rgba(23,52,60,.04);
}
body[data-active-page="explore"] #bookingSection .booking-contact-row { gap: clamp(.8rem, 1.5vw, 1rem); }
body[data-active-page="explore"] #bookingSection .booking-contact-column .field { row-gap: .58rem; }
body[data-active-page="explore"] #bookingSection .booking-contact-column .field > span,
body[data-active-page="explore"] #bookingSection .booking-date-field > span {
  color: #3f6061;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .025em;
}
body[data-active-page="explore"] #bookingSection .booking-contact-row .field > span {
  display: flex;
  align-items: flex-end;
  min-height: 2.5em;
}
body[data-active-page="explore"] #bookingSection .booking-contact-row .field input,
body[data-active-page="explore"] #bookingSection .booking-contact-row .field select,
body[data-active-page="explore"] #bookingSection .booking-secondary-grid .booking-party-field select {
  min-height: 3.05rem;
  padding: .8rem .9rem;
}
body[data-active-page="explore"] #bookingSection .booking-secondary-grid {
  gap: clamp(.8rem, 1.5vw, 1rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(23, 51, 58, .11);
}
body[data-active-page="explore"] #bookingSection .booking-secondary-grid .booking-party-field {
  display: grid;
  align-content: start;
  gap: .58rem;
  min-width: 0;
  padding: .9rem .9rem 1rem;
  border: 1px solid rgba(23, 51, 58, .12);
  border-radius: 1rem;
  background: rgba(255,255,255,.86);
}
body[data-active-page="explore"] #bookingSection .booking-secondary-grid .booking-party-field > span {
  color: #3f6061;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .025em;
}
body[data-active-page="explore"] #bookingSection .booking-secondary-grid .booking-party-field input,
body[data-active-page="explore"] #bookingSection .booking-secondary-grid .booking-party-field select { max-width: none; }
body[data-active-page="explore"] #bookingSection .booking-secondary-grid .booking-voucher-fieldset {
  display: grid;
  align-content: start;
  gap: .65rem;
  padding: .9rem 1rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(237, 247, 244, .92), rgba(255, 250, 241, .94));
}
body[data-active-page="explore"] #bookingSection .booking-secondary-grid .booking-voucher-fieldset legend {
  padding: 0 .3rem;
  color: #287f6d;
  font-size: .84rem;
  line-height: 1.25;
}
body[data-active-page="explore"] #bookingSection .booking-secondary-grid .booking-voucher-fieldset .day-toggle {
  min-height: 3.05rem;
  padding: .7rem .8rem;
  border-radius: .75rem;
  font-weight: 800;
}
body[data-active-page="explore"] #bookingSection .booking-date-column {
  align-self: stretch;
  display: grid;
}
body[data-active-page="explore"] #bookingSection .booking-date-field {
  height: 100%;
  box-sizing: border-box;
  gap: .65rem;
  padding: 1rem 1.05rem 1.1rem;
}
body[data-active-page="explore"] #bookingSection .booking-date-field .booking-calendar {
  align-self: start;
}
@media (max-width: 760px) {
  body[data-active-page="explore"] #bookingSection .booking-input-layout {
    gap: .8rem;
    padding: .65rem;
    border-radius: 1rem;
  }
  body[data-active-page="explore"] #bookingSection .booking-contact-column {
    gap: .8rem;
    padding: .8rem;
    border-radius: .9rem;
  }
  body[data-active-page="explore"] #bookingSection .booking-contact-row { gap: .75rem; }
  body[data-active-page="explore"] #bookingSection .booking-contact-row .field > span { min-height: 0; }
  body[data-active-page="explore"] #bookingSection .booking-contact-column .field > span,
  body[data-active-page="explore"] #bookingSection .booking-date-field > span,
  body[data-active-page="explore"] #bookingSection .booking-secondary-grid .booking-party-field > span { font-size: .74rem; }
  body[data-active-page="explore"] #bookingSection .booking-secondary-grid { gap: .8rem; padding-top: .8rem; }
  body[data-active-page="explore"] #bookingSection .booking-secondary-grid .booking-party-field,
  body[data-active-page="explore"] #bookingSection .booking-secondary-grid .booking-voucher-fieldset { padding: .8rem; border-radius: .9rem; }
  body[data-active-page="explore"] #bookingSection .booking-date-field { height: auto; padding: .85rem .8rem .9rem; }
}

/* Keep the username state and logout action in the same visual language as the
   refreshed Explore booking frame. The inactive action stays visible but matte
   so the account affordance does not disappear for anonymous visitors. */
body[data-active-page="explore"] #bookingSection #bookingIdentityPanel {
  margin: .85rem 0 1rem;
  padding: clamp(.75rem, 1.5vw, 1rem);
  border: 1px solid rgba(31, 123, 103, .16);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(247, 252, 249, .96), rgba(255, 249, 239, .92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 .4rem 1.1rem rgba(23,52,60,.04);
}
body[data-active-page="explore"] #bookingSection #bookingIdentityPanel.booking-identity-panel--signed-out {
  border-color: rgba(23, 51, 58, .12);
  background: linear-gradient(145deg, rgba(246, 248, 247, .96), rgba(241, 244, 242, .92));
}
body[data-active-page="explore"] #bookingSection #bookingIdentityPanel .booking-onboarding-heading {
  align-items: center;
}
/* The verified state has only a short confirmation, account badge and logout.
   Keep those actions on one row instead of stretching the card vertically. */
body[data-active-page="explore"] #bookingSection #bookingIdentityPanel .booking-onboarding-notice[data-booking-onboarding-notice="verified"] {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .55rem .8rem;
  padding: .85rem 1rem;
}
body[data-active-page="explore"] #bookingSection #bookingIdentityPanel .booking-onboarding-notice[data-booking-onboarding-notice="verified"] > .booking-onboarding-heading,
body[data-active-page="explore"] #bookingSection #bookingIdentityPanel .booking-onboarding-notice[data-booking-onboarding-notice="verified"] > p:not(.booking-onboarding-clarity),
body[data-active-page="explore"] #bookingSection #bookingIdentityPanel .booking-onboarding-notice[data-booking-onboarding-notice="verified"] > .booking-onboarding-clarity {
  grid-column: 1 / -1;
}
body[data-active-page="explore"] #bookingSection #bookingIdentityPanel .booking-onboarding-notice[data-booking-onboarding-notice="verified"] > p {
  margin: 0;
}
body[data-active-page="explore"] #bookingSection #bookingIdentityPanel .booking-onboarding-notice[data-booking-onboarding-notice="verified"] > .booking-onboarding-actions {
  grid-column: 2;
  justify-self: end;
  order: 0;
  margin: 0;
}
body[data-active-page="explore"] #bookingSection #bookingIdentityPanel .booking-signed-in-badge {
  padding: .62rem .82rem;
  border-radius: var(--control-radius);
  background: #2d9d87;
  box-shadow: 0 0 .9rem rgba(45, 157, 135, .12);
}
body[data-active-page="explore"] #bookingSection #bookingIdentityPanel .booking-onboarding-actions .button {
  min-height: 2.8rem;
  padding: .62rem .82rem;
  border-radius: var(--control-radius);
  border-color: rgba(45, 157, 135, .34);
  background: rgba(255,255,255,.86);
  color: #286d61;
  letter-spacing: .045em;
}
body[data-active-page="explore"] #bookingSection #bookingIdentityPanel .booking-onboarding-actions .button:hover:not(:disabled) {
  border-color: rgba(45, 157, 135, .58);
  background: #fff;
}
body[data-active-page="explore"] #bookingSection #bookingIdentityPanel .booking-onboarding-actions .button:disabled {
  border-color: #d0d9d6;
  background: #e3e8e6;
  color: #667572;
  opacity: .55;
  filter: saturate(.2);
  box-shadow: none;
}
@media (max-width: 760px) {
  body[data-active-page="explore"] #bookingSection #bookingIdentityPanel {
    margin: .7rem 0 .85rem;
    padding: .75rem;
    border-radius: .9rem;
  }
  body[data-active-page="explore"] #bookingSection #bookingIdentityPanel .booking-onboarding-heading {
    align-items: flex-start;
  }
  body[data-active-page="explore"] #bookingSection #bookingIdentityPanel .booking-onboarding-actions .button {
    min-height: 2.8rem;
  }
}

/* Keep the compact customer header safe at tablet widths too: the public
   header wraps before the desktop width, so the hero needs one extra line of
   vertical room to keep its title below the header. */
@media (min-width: 761px) and (max-width: 900px) {
  body[data-active-page="customer"] main.page > .route-intro,
  body[data-active-page="customer"] .route-intro-copy {
    min-height: 28rem !important;
  }
}

/* Keep the customer account/flight surface in normal document flow below the
   image-led hero. The hero remains the route identity; portal content must not
   paint over its image or copy after authentication. */
@media (min-width: 761px) {
  body[data-active-page="customer"] main.page > .route-intro,
  body[data-active-page="customer"] .route-intro-copy {
    min-height: clamp(36rem, 72vh, 40.5rem) !important;
  }
  body[data-active-page="customer"] main.page > .route-intro {
    margin-bottom: 1.25rem !important;
  }
  body[data-active-page="customer"] main.page > #customerSection {
    position: relative;
    z-index: 3;
    margin-top: 0 !important;
  }
}

@media (max-width: 760px) {
  body[data-active-page="customer"] main.page > .route-intro,
  body[data-active-page="customer"] .route-intro-copy {
    min-height: clamp(28rem, 70svh, 36rem) !important;
  }
  body[data-active-page="customer"] main.page > .route-intro {
    margin-bottom: .9rem !important;
  }
  body[data-active-page="customer"] main.page > #customerSection {
    position: relative;
    z-index: 3;
    margin-top: 0 !important;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  body[data-active-page="customer"] main.page > #customerSection {
    margin-top: 0 !important;
  }
}

/* Keep the full customer title and lead inside the image-led hero frame. */
@media (min-width: 761px) {
  body[data-active-page="customer"] .route-intro-copy {
    padding-bottom: clamp(9rem, 12vw, 10rem) !important;
  }
}

@media (max-width: 760px) {
  body[data-active-page="customer"] .route-intro-copy {
    padding: 7rem var(--mobile-gutter) 6rem !important;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  body[data-active-page="customer"] .route-intro-copy {
    padding-bottom: 12.5rem !important;
  }
}

/* Split anonymous flight discovery from the authenticated profile surface.
   The public list reuses the compact Ops-style row; only the selected row
   reveals the username/password action. */
body[data-active-page="customer"] #customerPublicFlightAccess {
  margin: 0 0 1rem;
  border-left: 3px solid #2d9d87;
  background: linear-gradient(145deg, rgba(247, 252, 249, .96), rgba(255, 249, 239, .9));
}
body[data-active-page="customer"] #customerPublicFlightAccess .section-toolbar {
  align-items: center;
}
body[data-active-page="customer"] #customerPublicFlightAccess .public-flight-access-error {
  display: grid;
  justify-items: start;
  gap: .45rem;
  margin: .75rem 0 0;
  padding: .85rem .95rem;
  border: 1px solid rgba(180, 88, 42, .28);
  border-left: 3px solid #d86b31;
  border-radius: .55rem;
  background: rgba(255, 247, 235, .9);
  color: #52686c;
  text-align: left;
}
body[data-active-page="customer"] #customerPublicFlightAccess .public-flight-access-error h3 {
  margin: 0;
  color: #8f4725;
  font-size: .95rem;
}
body[data-active-page="customer"] #customerPublicFlightAccess .public-flight-access-error p {
  margin: 0;
  font-size: .72rem;
  line-height: 1.4;
}
body[data-active-page="customer"] #customerPublicFlightAccess .public-flight-access-error .button {
  min-height: 2rem;
}
body[data-active-page="customer"] .public-flight-access-actions {
  display: grid;
  gap: .55rem;
  min-width: 0;
}
body[data-active-page="customer"] .public-flight-access-actions > .button {
  justify-self: end;
  white-space: nowrap;
}
body[data-active-page="customer"] .public-flight-access-row.is-selected {
  border-left: 3px solid #d86b31;
  padding-left: .65rem;
  background: rgba(255, 250, 242, .72);
}
body[data-active-page="customer"] .public-flight-access-row.is-selected > .public-flight-access-actions > .button {
  display: none;
}
body[data-active-page="customer"] .customer-flight-card.is-selected {
  border-color: rgba(216, 107, 49, .6);
  box-shadow: 0 0 0 3px rgba(216, 107, 49, .12), 0 .6rem 1.2rem rgba(23, 52, 60, .08);
}
@media (max-width: 820px) {
  body[data-active-page="customer"] .public-flight-access-actions > .button {
    justify-self: stretch;
    width: 100%;
  }
}


/* Customer notifications: reuse the compact booking-row language instead of
   rendering a full-width email dump. Keep the real read and portal actions. */
body[data-active-page="customer"] .customer-notifications-toolbar {
  align-items: center;
  gap: .65rem;
  margin: 0 0 .58rem;
  padding: 0 0 .5rem;
  border-bottom: 1px solid rgba(23, 51, 58, .1);
}
body[data-active-page="customer"] .customer-notifications-toolbar strong {
  color: #17333a;
  font-size: .92rem;
}
body[data-active-page="customer"] .customer-notifications-toolbar .status-pill {
  flex: 0 0 auto;
  font-size: .58rem;
}
body[data-active-page="customer"] .customer-notifications-list {
  display: grid;
  gap: .5rem;
}
body[data-active-page="customer"] .customer-notifications-list .notification-actions--all {
  display: flex;
  justify-content: flex-end;
  margin: 0;
}
body[data-active-page="customer"] .customer-notifications-list .notification-row {
  grid-template-columns: 1.55rem minmax(0, 1fr);
  align-items: start;
  gap: .62rem;
  padding: .66rem .7rem;
  border: 1px solid rgba(23, 51, 58, .12);
  border-radius: .56rem;
  background: rgba(255, 255, 255, .74);
  box-shadow: none;
}
body[data-active-page="customer"] .notification-row-mark {
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border-radius: .42rem;
  background: rgba(216, 107, 49, .14);
  color: #b4582a;
  font-size: .78rem;
  font-weight: 900;
}
body[data-active-page="customer"] .notification-row-content {
  display: grid;
  min-width: 0;
  gap: .38rem;
}
body[data-active-page="customer"] .notification-row-content > header {
  align-items: flex-start;
  gap: .55rem;
}
body[data-active-page="customer"] .notification-row-heading {
  display: grid;
  min-width: 0;
  gap: .12rem;
}
body[data-active-page="customer"] .notification-row-heading .eyebrow {
  margin: 0;
  font-size: .56rem;
}
body[data-active-page="customer"] .notification-row-heading strong {
  color: #17333a;
  font-size: .86rem;
  line-height: 1.22;
}
body[data-active-page="customer"] .notification-row-content > header > .status-pill {
  flex: 0 0 auto;
  padding: .25rem .4rem;
  font-size: .56rem;
  line-height: 1.1;
  white-space: nowrap;
}
body[data-active-page="customer"] .notification-row-body {
  display: grid;
  max-width: 62ch;
  gap: .16rem;
}
body[data-active-page="customer"] .notification-row-body p {
  margin: 0;
  color: #627479;
  font-size: .72rem;
  line-height: 1.42;
  overflow-wrap: anywhere;
}
body[data-active-page="customer"] .notification-row-footer {
  display: flex;
  justify-content: space-between;
  gap: .55rem;
  padding-top: .42rem;
  border-top: 1px solid rgba(23, 51, 58, .09);
}
body[data-active-page="customer"] .notification-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
}
body[data-active-page="customer"] .notification-cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 2rem;
  padding: .42rem .62rem;
  border: 1px solid rgba(216, 107, 49, .36);
  border-radius: .42rem;
  background: #fffaf2;
  color: #a64f27;
  font-size: .68rem;
  font-weight: 850;
  text-decoration: none;
}
body[data-active-page="customer"] .notification-cta:hover,
body[data-active-page="customer"] .notification-cta:focus-visible {
  border-color: rgba(216, 107, 49, .62);
  background: #fff;
}
body[data-active-page="customer"] .notification-row-actions .tiny-button {
  min-height: 2rem;
  padding: .42rem .62rem;
  font-size: .64rem;
}
@media (max-width: 680px) {
  body[data-active-page="customer"] .customer-notifications-toolbar {
    align-items: flex-start;
  }
  body[data-active-page="customer"] .notification-row-content > header {
    display: grid;
    gap: .35rem;
  }
  body[data-active-page="customer"] .notification-row-content > header > .status-pill {
    justify-self: start;
  }
  body[data-active-page="customer"] .notification-row-footer {
    display: grid;
  }
  body[data-active-page="customer"] .notification-row-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-active-page="customer"] .notification-row-actions > * {
    justify-content: center;
    text-align: center;
  }
}
/* Dedicated selected-flight surface: never reuse the account-wide Customer grid. */
body[data-active-page="flight"] main.page > #customerSection {
  display: none !important;
}

body[data-active-page="flight"] main.page > #customerFlightSection {
  display: block;
  width: min(100%, var(--content-max));
  margin: 0 auto;
  padding: clamp(5.5rem, 9vw, 7rem) 0 4rem;
}

body[data-active-page="flight"] .customer-flight-only-card {
  display: grid;
  gap: 1.1rem;
  width: 100%;
  padding: clamp(1rem, 2.4vw, 2rem);
  border: 1px solid #d7e2dc;
  border-radius: 1.25rem;
  background: #fffdf8;
  box-shadow: 0 18px 45px rgba(24, 61, 64, .08);
}

body[data-active-page="flight"] .customer-flight-only-header,
body[data-active-page="flight"] .customer-flight-facts,
body[data-active-page="flight"] .customer-flight-only-header-actions,
body[data-active-page="flight"] .customer-flight-only-media .section-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}

body[data-active-page="flight"] .customer-flight-only-header h1 {
  margin: .1rem 0 .25rem;
  color: #173d43;
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  line-height: 1;
}

body[data-active-page="flight"] .customer-flight-only-lead,
body[data-active-page="flight"] .customer-flight-note {
  margin: 0;
  color: #58706f;
}

body[data-active-page="flight"] .customer-flight-facts {
  align-items: stretch;
  flex-wrap: wrap;
  padding: .8rem;
  border: 1px solid #e3ebe5;
  border-radius: .9rem;
  background: #f4f8f2;
}

body[data-active-page="flight"] .customer-flight-facts > div {
  display: grid;
  gap: .18rem;
  min-width: 9rem;
  flex: 1 1 9rem;
  padding: .55rem .7rem;
}

body[data-active-page="flight"] .customer-flight-facts small,
body[data-active-page="flight"] .customer-flight-media-item small {
  color: #6b807e;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

body[data-active-page="flight"] .customer-flight-only-subsection {
  display: grid;
  gap: .7rem;
  padding: 1rem;
  border: 1px solid #e3ebe5;
  border-radius: .9rem;
  background: #fff;
}

body[data-active-page="flight"] .customer-flight-only-media {
  gap: .9rem;
}

body[data-active-page="flight"] .customer-flight-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: .8rem;
}

body[data-active-page="flight"] .customer-flight-media-item {
  display: grid;
  gap: .4rem;
  min-width: 0;
}

body[data-active-page="flight"] .customer-flight-media-item img,
body[data-active-page="flight"] .customer-flight-media-item video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: .65rem;
  background: #e8efea;
}

body[data-active-page="flight"] .customer-flight-only-card .notification-row {
  border-color: #e3ebe5;
  background: #fbfdf9;
}

body[data-active-page="flight"] .customer-flight-only-card .tiny-button,
body[data-active-page="flight"] .customer-flight-only-card .button.button-small,
.customer-flight-only-card .tiny-button,
.customer-flight-only-card .button.button-small {
  /* Scope this geometry to the dedicated card even when the route marker is
     still inherited from the Customer shell during direct navigation. */
  min-height: 1.95rem;
  padding: .34rem .58rem;
  border-radius: .3rem;
  box-shadow: none;
  font-size: .68rem;
}

body[data-active-page="flight"] .customer-flight-summary-link {
  color: #f4fffb;
  font-size: .72rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .14em;
}

body[data-active-page="customer"] .customer-flight-summary-link,
body[data-active-page="customer"] .customer-flight-card-meta .customer-flight-summary-link {
  color: #f4fffb;
  font-size: .72rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .14em;
}

body[data-active-page="flight"] .customer-flight-summary-link:hover,
body[data-active-page="flight"] .customer-flight-summary-link:focus-visible,
body[data-active-page="customer"] .customer-flight-summary-link:hover,
body[data-active-page="customer"] .customer-flight-summary-link:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

body[data-active-page="flight"] .customer-voucher-redeem .inline-feedback {
  flex: 1 1 100%;
  font-size: .72rem;
}

@media (max-width: 720px) {
  body[data-active-page="flight"] main.page > #customerFlightSection { padding: 5.25rem .75rem 5rem; }
  body[data-active-page="flight"] .customer-flight-only-card { padding: .85rem; border-radius: .95rem; }
  body[data-active-page="flight"] .customer-flight-only-header { align-items: flex-start; flex-direction: column; }
  body[data-active-page="flight"] .customer-flight-only-header-actions { width: 100%; justify-content: space-between; }
  body[data-active-page="flight"] .customer-flight-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-active-page="flight"] .customer-flight-facts > div { min-width: 0; }
  body[data-active-page="flight"] .customer-flight-only-subsection { padding: .8rem; }
}

/* Customer portal redesign: content-width reading frame, compact split dashboard,
   and a real current-state graphic instead of broad explanatory bands. */
body[data-active-page="customer"] main.page > .route-intro.route-intro-book {
  width: min(calc(100% - 2rem), 72rem) !important;
  max-width: 72rem !important;
  min-height: clamp(28rem, 58vh, 42rem) !important;
  margin: 0 auto clamp(1.5rem, 3vw, 2.25rem) !important;
  border-radius: 1.1rem !important;
}
body[data-active-page="customer"] main.page > .route-intro.route-intro-book .route-intro-copy {
  min-height: clamp(28rem, 58vh, 42rem) !important;
  padding: clamp(8rem, 13vw, 11rem) clamp(1.25rem, 5vw, 5rem) clamp(2.5rem, 6vw, 5rem) !important;
}
body[data-active-page="customer"] main.page > .route-intro.route-intro-book .route-intro-copy h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 6.2vw, 5.8rem);
}
body[data-active-page="customer"] main.page > #customerSection {
  width: min(calc(100% - 2rem), 66rem) !important;
  max-width: 66rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.22fr) minmax(18rem, .78fr) !important;
  align-items: start;
  gap: 1.1rem;
  padding: 0 0 3rem !important;
  background: transparent !important;
}
body[data-active-page="customer"] #customerSection > .customer-journey-intro {
  display: grid !important;
  grid-column: 2;
  grid-row: 1;
  align-content: start;
  gap: 1rem;
  min-width: 0;
  padding: 1.05rem 1.1rem;
  border: 1px solid rgba(157, 224, 209, .18);
  border-radius: .95rem;
  background: #17343c;
  box-shadow: 0 .8rem 1.8rem rgba(23, 52, 60, .12);
}
body[data-active-page="customer"] .customer-journey-intro h2 {
  max-width: 13ch;
  margin: .15rem 0 .4rem;
  color: #fff;
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  line-height: .98;
}
body[data-active-page="customer"] .customer-journey-intro p:not(.eyebrow) {
  max-width: 31ch;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: .78rem;
  line-height: 1.5;
}
body[data-active-page="customer"] .customer-journey-intro .eyebrow { color: #9de0d1; }
body[data-active-page="customer"] .customer-journey-copy {
  display: grid;
  align-content: start;
  gap: .85rem;
  min-width: 0;
}
body[data-active-page="customer"] .customer-header-push {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem .8rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
body[data-active-page="customer"] .customer-header-push .inline-actions { margin: 0; }
body[data-active-page="customer"] .customer-header-push .inline-feedback {
  min-height: 1.2rem;
  color: rgba(255, 255, 255, .78);
  font-size: .68rem;
}
body[data-active-page="customer"] .customer-journey-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
}
body[data-active-page="customer"] .customer-journey-steps > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .45rem;
  min-width: 0;
  min-height: 2.65rem;
  padding: .45rem .5rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: .5rem;
  background: rgba(255, 255, 255, .07);
}
body[data-active-page="customer"] .customer-journey-steps b {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: #d86b31;
  color: #fff;
  font-size: .62rem;
}
body[data-active-page="customer"] .customer-journey-steps span {
  min-width: 0;
  color: rgba(255, 255, 255, .88);
  font-size: .68rem;
  font-weight: 750;
  line-height: 1.2;
}
body[data-active-page="customer"] #customerSection > #customerPreferencesCard,
body[data-active-page="customer"] #customerSection > #customerOfferOutcomesCard {
  grid-column: 1 / -1;
  width: min(100%, 52rem);
  justify-self: center;
}
body[data-active-page="customer"] #customerSection > .customer-reentry-card,
body[data-active-page="customer"] #customerSection > .customer-public-flight-access,
body[data-active-page="customer"] #customerSection > .customer-welcome-card {
  grid-column: 1 / -1;
  width: min(100%, 66rem);
  justify-self: center;
}
body[data-active-page="customer"] #customerSection > .portal-card,
body[data-active-page="customer"] #customerSection > .customer-welcome-card,
body[data-active-page="customer"] #customerSection > .customer-reentry-card {
  min-width: 0;
  box-sizing: border-box;
}
body[data-active-page="customer"] #customerSection > #customerPreferencesCard .customer-preference-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body[data-active-page="customer"] #customerSection > #customerPreferencesCard .customer-preference-group:last-child {
  grid-column: 1 / -1;
}
@media (max-width: 780px) {
  body[data-active-page="customer"] main.page > .route-intro.route-intro-book {
    width: 100% !important;
    min-height: 31rem !important;
    margin-bottom: 1rem !important;
    border-radius: 0 !important;
  }
  body[data-active-page="customer"] main.page > .route-intro.route-intro-book .route-intro-copy {
    min-height: 31rem !important;
    padding: 8.5rem 1.15rem 2.5rem !important;
  }
  body[data-active-page="customer"] main.page > .route-intro.route-intro-book .route-intro-copy h1 {
    font-size: clamp(2.9rem, 13vw, 4.25rem);
  }
  body[data-active-page="customer"] main.page > #customerSection {
    width: min(calc(100% - 1.25rem), 42rem) !important;
    max-width: 42rem !important;
    grid-template-columns: 1fr !important;
    gap: .75rem;
    padding: 0 0 2rem !important;
  }
  body[data-active-page="customer"] #customerSection > .customer-journey-intro,
  body[data-active-page="customer"] #customerSection > .portal-card-bookings,
  body[data-active-page="customer"] #customerSection > #customerPreferencesCard,
  body[data-active-page="customer"] #customerSection > #customerOfferOutcomesCard,
  body[data-active-page="customer"] #customerSection > .customer-reentry-card,
  body[data-active-page="customer"] #customerSection > .customer-public-flight-access,
  body[data-active-page="customer"] #customerSection > .customer-welcome-card {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }
  body[data-active-page="customer"] #customerSection > .customer-journey-intro {
    grid-template-columns: 1fr;
    padding: .85rem;
  }
  body[data-active-page="customer"] .customer-journey-steps {
    gap: .4rem;
  }
  body[data-active-page="customer"] #customerSection > #customerPreferencesCard .customer-preference-grid {
    grid-template-columns: 1fr;
  }
  body[data-active-page="customer"] #customerSection > #customerPreferencesCard .customer-preference-group:last-child {
    grid-column: auto;
  }
}

/* Owner revision: the customer route is a full-width canvas again. The
   readable rhythm lives inside the cards, while the hero and request flow
   use the whole available viewport. */
body[data-active-page="customer"] main.page > .route-intro.route-intro-book {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  border-radius: 0 !important;
}
body[data-active-page="customer"] main.page > #customerSection {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  grid-template-columns: minmax(0, 1.28fr) minmax(20rem, .72fr) !important;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1rem, 2.8vw, 2.5rem) clamp(1rem, 4vw, 4.5rem) 3rem !important;
}
body[data-active-page="customer"] #customerSection > .customer-journey-intro {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  width: 100%;
  box-sizing: border-box;
  grid-template-columns: minmax(15rem, .7fr) minmax(0, 1.3fr);
  align-items: center;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2.4vw, 2rem);
}
body[data-active-page="customer"] .customer-journey-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
}
body[data-active-page="customer"] .customer-journey-steps > div {
  position: relative;
  overflow: visible;
}
body[data-active-page="customer"] .customer-journey-steps > div:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -.85rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  transform: translateY(-50%);
  color: #f2a06b;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}
body[data-active-page="customer"] #customerSection > .portal-card-bookings {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
}
body[data-active-page="customer"] #customerSection > #customerPreferencesCard,
body[data-active-page="customer"] #customerSection > #customerOfferOutcomesCard,
body[data-active-page="customer"] #customerSection > .customer-reentry-card,
body[data-active-page="customer"] #customerSection > .customer-public-flight-access,
body[data-active-page="customer"] #customerSection > .customer-welcome-card {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
}
body[data-active-page="customer"] #customerSection > #customerPreferencesCard .customer-preference-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body[data-active-page="customer"] .customer-profile-form {
  margin: .8rem 0 1.35rem;
  padding: 1rem;
  border: 1px solid rgba(40, 127, 109, .16);
  border-radius: .7rem;
  background: rgba(247, 250, 247, .72);
}
body[data-active-page="customer"] .customer-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
}
body[data-active-page="customer"] .customer-profile-grid .field input[readonly] {
  color: #627479;
  background: #edf3ef;
  cursor: not-allowed;
}
body[data-active-page="customer"] .customer-profile-note {
  margin: .65rem 0 0;
  font-size: .72rem;
}
body[data-active-page="customer"] .customer-profile-subsection-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: .5rem 0 .4rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(23, 51, 58, .12);
}
body[data-active-page="customer"] .customer-profile-subsection-heading h3 {
  margin: .15rem 0 0;
  color: #17343c;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
}
@media (max-width: 780px) {
  body[data-active-page="customer"] main.page > #customerSection {
    width: 100vw !important;
    grid-template-columns: 1fr !important;
    gap: .75rem;
    padding: .75rem .75rem 2rem !important;
  }
  body[data-active-page="customer"] #customerSection > .customer-journey-intro {
    grid-column: 1 !important;
    grid-template-columns: 1fr;
    padding: .85rem;
  }
  body[data-active-page="customer"] .customer-journey-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-active-page="customer"] .customer-journey-steps > div:not(:last-child)::after {
    right: -.7rem;
    font-size: .9rem;
  }
  body[data-active-page="customer"] #customerSection > .portal-card-bookings {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  body[data-active-page="customer"] #customerSection > #customerPreferencesCard .customer-preference-grid,
  body[data-active-page="customer"] .customer-profile-grid {
    grid-template-columns: 1fr;
  }
  body[data-active-page="customer"] .customer-profile-subsection-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: .45rem;
  }
}

/* Customer flight identity and lifecycle state: the current step is visibly
   in progress, while every message remains attached to its owning step. */
body[data-active-page="customer"] .customer-flight-card {
  overflow: hidden;
  padding: 0;
  border-color: rgba(23, 52, 60, .14);
  background: #fffdf8;
}
body[data-active-page="customer"] .customer-flight-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .95rem 1.25rem;
  align-items: start;
  padding: clamp(1rem, 2vw, 1.45rem);
  color: #fff;
  background: linear-gradient(118deg, #17343c 0%, #1e6968 58%, #d86b31 145%);
}
body[data-active-page="customer"] .customer-voucher-request-header { grid-template-columns: 1fr; }
body[data-active-page="customer"] .customer-flight-card-identity,
body[data-active-page="customer"] .customer-flight-card-status,
body[data-active-page="customer"] .customer-flight-card-meta { min-width: 0; }
body[data-active-page="customer"] .customer-flight-card-kicker {
  margin: 0 0 .3rem;
  color: #9de0d1;
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
body[data-active-page="customer"] .customer-flight-card-identity h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  letter-spacing: -.02em;
  line-height: 1;
}
body[data-active-page="customer"] .customer-flight-card-route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  margin: .45rem 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: .76rem;
}
body[data-active-page="customer"] .customer-flight-card-route strong { color: #fff; }
body[data-active-page="customer"] .customer-flight-card-status {
  display: grid;
  justify-items: end;
  gap: .35rem;
  text-align: right;
}
body[data-active-page="customer"] .customer-flight-card-status .status-pill {
  border-color: rgba(255, 255, 255, .42);
  background: #fffaf2;
  color: #17343c;
  white-space: nowrap;
}
body[data-active-page="customer"] .customer-flight-card-status small {
  color: rgba(255, 255, 255, .72);
  font-size: .62rem;
}
body[data-active-page="customer"] .customer-flight-card-meta {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
body[data-active-page="customer"] .customer-flight-card-meta > span {
  display: grid;
  gap: .16rem;
  min-width: 0;
  padding: .45rem .55rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: .45rem;
  background: rgba(255, 255, 255, .08);
}
body[data-active-page="customer"] .customer-flight-card-meta small {
  color: rgba(255, 255, 255, .64);
  font-size: .56rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body[data-active-page="customer"] .customer-flight-card-meta strong {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: .72rem;
  line-height: 1.25;
}
body[data-active-page="customer"] .customer-flight-card > :not(.customer-flight-card-header) {
  margin-left: clamp(.75rem, 1.8vw, 1.2rem);
  margin-right: clamp(.75rem, 1.8vw, 1.2rem);
}
body[data-active-page="customer"] .customer-voucher-request-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  margin-top: .8rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(23, 52, 60, .1);
}
body[data-active-page="customer"] .customer-voucher-request-details > div {
  display: grid;
  gap: .16rem;
  min-width: 0;
  padding: .48rem .55rem;
  border: 1px solid rgba(23, 52, 60, .1);
  border-radius: .45rem;
  background: rgba(255, 250, 242, .72);
}
body[data-active-page="customer"] .customer-voucher-request-details small {
  color: #718184;
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body[data-active-page="customer"] .customer-voucher-request-details strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #17343c;
  font-size: .75rem;
  line-height: 1.25;
}
@media (max-width: 680px) {
  body[data-active-page="customer"] .customer-voucher-request-details { grid-template-columns: 1fr; }
}
body[data-active-page="customer"] .customer-flight-card > .customer-booking-lifecycle { margin-left: clamp(.75rem, 1.8vw, 1.2rem); margin-right: clamp(.75rem, 1.8vw, 1.2rem); }
body[data-active-page="customer"] .customer-booking-lifecycle-step > span.is-current {
  border-color: rgba(31, 123, 103, .48);
  color: #155d58;
  background: linear-gradient(90deg, rgba(45, 157, 135, .38) 0%, rgba(126, 190, 174, .34) 34%, rgba(205, 221, 216, .62) 53%, rgba(236, 240, 238, .82) 68%, rgba(255, 255, 255, .84) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24);
}
body[data-active-page="customer"] .customer-booking-lifecycle-step > span.is-complete {
  background: linear-gradient(135deg, rgba(229, 247, 242, .96), rgba(203, 235, 226, .72));
}
body[data-active-page="customer"] .customer-booking-phase-notifications-heading strong { font-size: .7rem; }

body[data-active-page="flight"] .customer-flight-only-header {
  margin: calc(-1 * clamp(1rem, 2.4vw, 2rem)) calc(-1 * clamp(1rem, 2.4vw, 2rem)) 0;
  padding: clamp(1rem, 2.4vw, 1.7rem);
  border-radius: 1.25rem 1.25rem 0 0;
  color: #fff;
  background: linear-gradient(118deg, #17343c 0%, #1e6968 58%, #d86b31 145%);
}
body[data-active-page="flight"] .customer-flight-only-header h1 { color: #fff; }
body[data-active-page="flight"] .customer-flight-only-lead { color: rgba(255, 255, 255, .78); }
body[data-active-page="flight"] .customer-flight-only-header-actions .status-pill { background: #fffaf2; color: #17343c; }

@media (max-width: 680px) {
  body[data-active-page="customer"] .customer-flight-card-header { grid-template-columns: 1fr; gap: .7rem; }
  body[data-active-page="customer"] .customer-flight-card-status { justify-items: start; text-align: left; }
  body[data-active-page="customer"] .customer-flight-card-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-active-page="flight"] .customer-flight-only-header { margin: -.85rem -.85rem 0; border-radius: .95rem .95rem 0 0; }
}

body[data-active-page="flight"] .customer-flight-only-card {
  overflow: hidden;
  padding: 0;
}
body[data-active-page="flight"] .customer-flight-only-card > :not(.customer-flight-card-header) {
  margin-left: clamp(.75rem, 1.8vw, 1.2rem);
  margin-right: clamp(.75rem, 1.8vw, 1.2rem);
}
body[data-active-page="flight"] .customer-flight-only-card .customer-flight-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .95rem 1.25rem;
  align-items: start;
  margin: 0;
  padding: clamp(1rem, 2vw, 1.45rem);
  border-radius: 1.25rem 1.25rem 0 0;
  color: #fff;
  background: linear-gradient(118deg, #17343c 0%, #1e6968 58%, #d86b31 145%);
}
body[data-active-page="flight"] .customer-flight-card-kicker {
  margin: 0 0 .3rem;
  color: #9de0d1;
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
body[data-active-page="flight"] .customer-flight-card-identity h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  letter-spacing: -.02em;
  line-height: 1;
}
body[data-active-page="flight"] .customer-flight-card-route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  margin: .45rem 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: .76rem;
}
body[data-active-page="flight"] .customer-flight-card-route strong { color: #fff; }
body[data-active-page="flight"] .customer-flight-card-status .status-pill {
  border-color: rgba(255, 255, 255, .42);
  background: #fffaf2;
  color: #17343c;
  white-space: nowrap;
}
body[data-active-page="flight"] .customer-flight-card-status small {
  color: rgba(255, 255, 255, .72);
  font-size: .62rem;
}
body[data-active-page="flight"] .customer-flight-card-meta {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
body[data-active-page="flight"] .customer-flight-card-meta > span {
  display: grid;
  gap: .16rem;
  min-width: 0;
  padding: .45rem .55rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: .45rem;
  background: rgba(255, 255, 255, .08);
}
body[data-active-page="flight"] .customer-flight-card-meta small {
  color: rgba(255, 255, 255, .64);
  font-size: .56rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body[data-active-page="flight"] .customer-flight-card-meta strong {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: .72rem;
  line-height: 1.25;
}
body[data-active-page="flight"] .customer-flight-only-card .customer-flight-card-status {
  display: grid;
  justify-items: end;
  gap: .35rem;
  text-align: right;
}
body[data-active-page="flight"] .customer-flight-card-logout {
  border-color: rgba(255, 255, 255, .36);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
body[data-active-page="flight"] .customer-flight-card-logout:hover,
body[data-active-page="flight"] .customer-flight-card-logout:focus-visible {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}
@media (max-width: 680px) {
  body[data-active-page="flight"] .customer-flight-only-card .customer-flight-card-header { grid-template-columns: 1fr; gap: .7rem; border-radius: .95rem .95rem 0 0; }
  body[data-active-page="flight"] .customer-flight-only-card .customer-flight-card-status { justify-items: start; text-align: left; }
  body[data-active-page="flight"] .customer-flight-card-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  /* The compact mobile topbar wraps to two rows; keep the single-flight
     header below its real measured footprint instead of underneath it. */
  body[data-active-page="flight"] main.page > #customerFlightSection { padding-top: 8.75rem; }
}

/* Customer lifecycle stays readable without making every phase a large card.
   The active phase fades into the neutral surface rather than ending at a hard
   50% boundary, so the fill reads as progress while the label remains clear. */
body[data-active-page="customer"] .customer-booking-lifecycle-steps {
  gap: .35rem;
}
body[data-active-page="customer"] .customer-booking-lifecycle-step > span {
  min-height: 2.08rem;
  padding: .34rem .48rem;
  border-radius: .55rem;
  font-size: .66rem;
}
@media (max-width: 680px) {
  body[data-active-page="customer"] .customer-booking-lifecycle-step > span {
    min-height: 1.92rem;
    padding: .3rem .42rem;
    font-size: .62rem;
  }
}

/* Customer overview lifecycle parity: empty phases keep only their label,
   while notification-bearing phases receive the reading width. */
@media (min-width: 681px) {
  body[data-active-page="customer"] .customer-booking-lifecycle-steps {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: .45rem;
  }
  body[data-active-page="customer"] .customer-booking-lifecycle-step {
    flex: 0 0 max-content;
    width: max-content;
    min-width: 0;
    max-width: 100%;
  }
  body[data-active-page="customer"] .customer-booking-lifecycle-step.has-data {
    flex: 1 1 13rem;
    width: auto;
  }
  body[data-active-page="customer"] .customer-booking-lifecycle-step.is-empty > span {
    width: max-content;
    max-width: 100%;
  }
  body[data-active-page="customer"] .customer-booking-lifecycle-step.has-data > .customer-booking-phase-notifications {
    width: 100%;
  }
}
@media (max-width: 680px) {
  body[data-active-page="customer"] .customer-booking-lifecycle-step.is-empty > span {
    width: max-content;
    max-width: 100%;
  }
  body[data-active-page="customer"] .customer-booking-lifecycle-step.has-data > .customer-booking-phase-notifications {
    width: 100%;
  }
}

/* Customer media previews: compact network carousel with an intentional
   fullscreen review action, so multiple formats do not expand the booking flow. */
body[data-active-page="customer"] .customer-social-preview-carousel,
body[data-active-page="flight"] .customer-flight-media-carousel {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) 2rem;
  align-items: center;
  gap: .45rem;
  min-width: 0;
}
body[data-active-page="customer"] .customer-social-preview-carousel > .carousel-arrow,
body[data-active-page="flight"] .customer-flight-media-carousel > .carousel-arrow {
  width: 1.9rem;
  height: 1.9rem;
  font-size: .9rem;
}
body[data-active-page="customer"] .customer-social-preview-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(11rem, 13.5rem);
  gap: .55rem;
  min-width: 0;
  overflow-x: auto;
  padding: .1rem .05rem .35rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
body[data-active-page="customer"] .customer-social-preview-card {
  scroll-snap-align: start;
  gap: .35rem;
  min-width: 0;
  padding: .4rem;
  border-radius: .5rem;
}
body[data-active-page="customer"] .customer-social-preview-topline strong { font-size: .68rem; }
body[data-active-page="customer"] .customer-social-preview-topline span { font-size: .56rem; }
body[data-active-page="customer"] .customer-social-preview-frame {
  cursor: zoom-in;
  outline: none;
}
body[data-active-page="customer"] .customer-social-preview-frame:focus-visible {
  box-shadow: 0 0 0 3px rgba(216, 107, 49, .34);
}
body[data-active-page="customer"] .customer-social-preview-card .customer-social-preview-copy p {
  min-height: 1.7rem;
  font-size: .55rem;
  -webkit-line-clamp: 2;
}
body[data-active-page="customer"] .customer-social-preview-card .booking-row-actions .tiny-button {
  min-height: 1.8rem;
  font-size: .58rem;
}
.customer-share-lightbox,
.customer-flight-media-lightbox {
  position: fixed;
  z-index: 10000 !important;
  position: fixed !important;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(.75rem, 3vw, 2rem);
}
.customer-share-lightbox-backdrop,
.customer-flight-media-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 21, 26, .78);
  backdrop-filter: blur(5px);
}
.customer-share-lightbox-panel,
.customer-flight-media-lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .75rem;
  width: min(100%, 48rem);
  max-height: min(94dvh, 58rem);
  overflow: auto;
  padding: clamp(.8rem, 2vw, 1.2rem);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: .85rem;
  background: #f8fbf8;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .3);
}
.customer-share-lightbox-panel > header,
.customer-flight-media-lightbox-panel > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .8rem;
}
.customer-share-lightbox-panel h3,
.customer-flight-media-lightbox-panel h3 { margin: .1rem 0 0; color: #17343c; }
.customer-share-lightbox-panel > img {
  display: block;
  width: min(100%, 34rem);
  max-height: 72dvh;
  margin: 0 auto;
  object-fit: contain;
  border-radius: .45rem;
  background: #dce9e1;
}
.customer-flight-media-thumbnails {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(8.4rem, 11rem);
  gap: .55rem;
  min-width: 0;
  overflow-x: auto;
  padding: .1rem .05rem .35rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.customer-flight-media-thumb {
  display: grid;
  gap: .35rem;
  min-width: 0;
  padding: .35rem;
  border: 1px solid rgba(23, 51, 58, .14);
  border-radius: .55rem;
  background: #fff;
  color: #17343c;
  text-align: left;
  cursor: zoom-in;
  scroll-snap-align: start;
  font: inherit;
}
.customer-flight-media-thumb:focus-visible,
.customer-flight-media-thumb:hover { border-color: rgba(216, 107, 49, .55); outline: none; box-shadow: 0 0 0 3px rgba(216, 107, 49, .12); }
.customer-flight-media-thumb-visual {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: .35rem;
  background: #dce9e1;
}
.customer-flight-media-thumb-visual img,
.customer-flight-media-thumb-visual video { display: block; width: 100%; height: 100%; object-fit: cover; }
.customer-flight-media-play { position: absolute; right: .35rem; bottom: .35rem; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: rgba(23, 52, 60, .82); color: #fff; font-size: .65rem; }
.customer-flight-media-thumb-copy { display: grid; gap: .12rem; min-width: 0; }
.customer-flight-media-thumb-copy strong { overflow: hidden; font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }
.customer-flight-media-thumb-copy small { overflow: hidden; color: #6b777a; font-size: .58rem; text-overflow: ellipsis; white-space: nowrap; }
.customer-flight-media-lightbox-visual { display: grid; place-items: center; min-height: 12rem; max-height: 72dvh; overflow: hidden; border-radius: .45rem; background: #dce9e1; }
.customer-flight-media-lightbox-visual img,
.customer-flight-media-lightbox-visual video { display: block; width: 100%; height: 100%; max-height: 68dvh; object-fit: contain; }
.customer-flight-media-lightbox-actions { display: flex; justify-content: center; gap: .5rem; }
@media (max-width: 680px) {
  body[data-active-page="customer"] .customer-social-preview-carousel,
  body[data-active-page="flight"] .customer-flight-media-carousel { grid-template-columns: 1.8rem minmax(0, 1fr) 1.8rem; gap: .25rem; }
  body[data-active-page="customer"] .customer-social-preview-grid { grid-auto-columns: minmax(10.5rem, 78vw); }
  body[data-active-page="flight"] .customer-flight-media-thumbnails { grid-auto-columns: minmax(8.6rem, 72vw); }
  .customer-share-lightbox,
  .customer-flight-media-lightbox { padding: .55rem; }
  .customer-share-lightbox-panel,
  .customer-flight-media-lightbox-panel { max-height: 96dvh; border-radius: .65rem; }
}

.customer-flight-media-lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(.75rem, 3vw, 2rem);
  border: 0;
  background: transparent;
  color: inherit;
}
.customer-flight-media-lightbox::backdrop { background: transparent; }

.customer-share-lightbox-panel,
.customer-flight-media-lightbox-panel {
  margin-top: 4.5rem;
}
@media (max-width: 680px) {
  .customer-share-lightbox-panel,
  .customer-flight-media-lightbox-panel { margin-top: 3.8rem; }
}

body:has(.customer-flight-media-lightbox[open]) .public-hero-shell,
body:has(.customer-share-lightbox:not(.hidden)) .public-hero-shell {
  pointer-events: none !important;
}
body:has(.customer-flight-media-lightbox[open]) .customer-flight-media-lightbox,
body:has(.customer-share-lightbox:not(.hidden)) .customer-share-lightbox,
body:has(.customer-flight-media-lightbox[open]) .customer-flight-media-lightbox * {
  pointer-events: auto;
}
/* Customer account is an overview; completed flights collapse to a compact
   proof-of-history row while the dedicated route keeps the full detail. */
body[data-active-page="customer"] .customer-flight-card[data-customer-booking-status="completed"] .customer-flight-media-stage,
body[data-active-page="customer"] .customer-flight-card[data-customer-booking-status="completed"] > .customer-flight-note {
  display: none;
}

body[data-active-page="customer"] .customer-flight-card[data-customer-booking-status="completed"] {
  padding-bottom: .7rem;
}

.customer-flight-detail-link {
  margin-top: .45rem;
  align-self: flex-end;
}

.customer-reschedule-action-card {
  border: 1px solid rgba(180, 88, 42, .35);
  background: linear-gradient(120deg, rgba(255, 247, 235, .98), rgba(244, 246, 245, .9));
  border-radius: .65rem;
  padding: .75rem .85rem;
  margin: .65rem 0;
}

.customer-action-card-kicker {
  color: #b4582a;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .25rem;
}

.customer-reschedule-date {
  color: #17333a;
  font-size: 1.05rem;
  font-weight: 800;
  margin: .35rem 0;
}

.customer-booking-lifecycle-step[data-customer-booking-phase="media"] > span.is-current {
  background: linear-gradient(110deg, #0d9a86 0%, #8d9a9b 62%, #e2e6e5 100%);
}

@media (max-width: 640px) {
  .customer-flight-detail-link { align-self: stretch; text-align: center; }
  .customer-reschedule-action-card .booking-row-actions { flex-direction: column; align-items: stretch; }
}

@media (max-width: 680px) {
  body[data-active-page="customer"] .customer-booking-lifecycle-step:has(.customer-booking-phase-notifications) {
    grid-column: 1 / -1;
  }
  body[data-active-page="customer"] .customer-booking-phase-notifications { width: 100%; }
  body[data-active-page="customer"] .customer-booking-phase-notifications .notification-row {
    grid-template-columns: 1.15rem minmax(0, 1fr);
    gap: .38rem;
    padding: .42rem;
  }
  body[data-active-page="customer"] .customer-booking-phase-notifications .notification-row-mark {
    width: 1.15rem;
    height: 1.15rem;
    font-size: .62rem;
  }
  body[data-active-page="customer"] .customer-booking-phase-notifications .notification-row-heading strong { font-size: .72rem; }
  body[data-active-page="customer"] .customer-booking-phase-notifications .notification-row-body p { font-size: .64rem; line-height: 1.28; }
  body[data-active-page="customer"] .customer-booking-phase-notifications .notification-row-footer { padding-top: .25rem; }
  body[data-active-page="customer"] .customer-booking-phase-notifications .notification-row-actions { gap: .25rem; }
  body[data-active-page="customer"] .customer-booking-phase-notifications .notification-cta,
  body[data-active-page="customer"] .customer-booking-phase-notifications .notification-row-actions .tiny-button { min-height: 1.7rem; padding: .28rem .4rem; font-size: .58rem; }
}

/* Single-flight page: reuse the Customer hero width and visual rhythm, but
   replace the generic portal artwork with the exact takeoff image returned for
   this owned booking. Empty lifecycle phases stay label-sized; the phase that
   carries a notification receives the remaining reading width. */
body[data-active-page="flight"] main.page > #customerFlightSection {
  width: min(100%, 66rem);
  max-width: 66rem;
  padding-top: clamp(5.5rem, 9vw, 7rem);
}
body[data-active-page="flight"] .customer-flight-hero {
  position: relative;
  display: block;
  width: 100vw;
  max-width: none;
  min-height: clamp(25rem, 58vh, 42rem);
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem) calc(50% - 50vw);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 1.1rem;
  background: #17343c;
  box-shadow: var(--editorial-shadow);
}
body[data-active-page="flight"] .customer-flight-hero .route-intro-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
  overflow: hidden;
  background: #17343c;
}
body[data-active-page="flight"] .customer-flight-hero .route-intro-image::after {
  background: linear-gradient(90deg, rgba(8,25,30,.84) 0%, rgba(8,25,30,.5) 42%, rgba(8,25,30,.08) 82%), linear-gradient(0deg, rgba(8,25,30,.5), transparent 62%);
}
body[data-active-page="flight"] .customer-flight-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .98;
}
body[data-active-page="flight"] .customer-flight-hero .route-intro-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: clamp(25rem, 58vh, 42rem);
  box-sizing: border-box;
  margin: 0;
  padding: clamp(8rem, 13vw, 11rem) clamp(1.25rem, 6vw, 6rem) clamp(2.5rem, 6vw, 5rem);
  background: transparent !important;
  color: #fff !important;
}
body[data-active-page="flight"] .customer-flight-hero .route-intro-copy h1 {
  max-width: 12ch;
  margin: .15rem 0 1rem;
  color: #fff !important;
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: .9;
  letter-spacing: -.055em;
}
body[data-active-page="flight"] .customer-flight-hero .route-intro-copy p:not(.eyebrow) {
  max-width: 38ch;
  color: rgba(255,255,255,.84) !important;
  font-size: 1rem;
}
body[data-active-page="flight"] .customer-flight-hero .route-intro-copy .eyebrow { color: #9de0d1 !important; }
.customer-flight-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1.15rem;
}
.customer-flight-hero-facts span {
  display: grid;
  gap: .12rem;
  min-width: min(15rem, 100%);
  padding: .55rem .7rem;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: .45rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
}
.customer-flight-hero-facts small {
  color: rgba(255,255,255,.62);
  font-size: .56rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.customer-flight-hero-facts strong { color: #fff; font-size: .76rem; overflow-wrap: anywhere; }
body[data-active-page="flight"] .customer-booking-lifecycle-steps {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: .45rem;
}
body[data-active-page="flight"] .customer-booking-lifecycle-step {
  flex: 0 0 max-content;
  width: max-content;
  min-width: 0;
  max-width: 100%;
}
body[data-active-page="flight"] .customer-booking-lifecycle-step.has-data {
  flex: 1 1 13rem;
  width: auto;
}
body[data-active-page="flight"] .customer-booking-lifecycle-step.is-empty > span {
  width: max-content;
  max-width: 100%;
}
body[data-active-page="flight"] .customer-booking-lifecycle-step.has-data > .customer-booking-phase-notifications { width: 100%; }
body[data-active-page="flight"] .customer-voucher-redeem .eyebrow,
body[data-active-page="flight"] .customer-voucher-redeemed .eyebrow { margin: 0 0 .18rem; color: #b4582a; font-size: .58rem; }
body[data-active-page="flight"] .customer-voucher-redeem strong,
body[data-active-page="flight"] .customer-voucher-redeemed strong { color: #17343c; }
body[data-active-page="flight"] .customer-voucher-redeem .helper-copy,
body[data-active-page="flight"] .customer-voucher-redeemed .helper-copy { max-width: 70ch; line-height: 1.48; }
body[data-active-page="flight"] .customer-flight-only-media { order: 99; }
@media (max-width: 720px) {
  body[data-active-page="flight"] main.page > #customerFlightSection {
    width: calc(100% - 1rem);
    max-width: none;
    padding: 8.75rem .5rem 5rem;
  }
  body[data-active-page="flight"] .customer-flight-hero {
    width: calc(100% + 1rem);
    min-height: 25rem;
    margin-left: -.5rem;
    border-radius: .9rem;
  }
  body[data-active-page="flight"] .customer-flight-hero .route-intro-copy { min-height: 25rem; padding: 7rem 1rem 1.75rem; }
  body[data-active-page="flight"] .customer-flight-hero .route-intro-copy h1 { font-size: clamp(2.7rem, 15vw, 4.7rem); }
  body[data-active-page="flight"] .customer-flight-hero-facts span { min-width: 0; flex: 1 1 10rem; }
  body[data-active-page="flight"] .customer-booking-lifecycle-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-active-page="flight"] .customer-booking-lifecycle-step,
  body[data-active-page="flight"] .customer-booking-lifecycle-step.has-data { width: auto; flex: none; }
  body[data-active-page="flight"] .customer-booking-lifecycle-step.is-empty > span { width: max-content; }
  body[data-active-page="flight"] .customer-booking-lifecycle-step.has-data { min-width: 0; }
}

/* Customer-shell parity for the dedicated flight view. Keep the booking-owned
   takeoff image and detail content, but use the same overlaid header, full-
   bleed hero geometry, typography, and responsive gutters as /customer. */
body[data-active-page="flight"] .public-hero-shell {
  position: absolute !important;
  inset: 0 0 auto !important;
  z-index: 20;
  width: 100% !important;
  height: 0;
  padding: 0 !important;
  background: transparent !important;
  pointer-events: none;
}
body[data-active-page="flight"] .public-hero-shell .topbar {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  width: 100% !important;
  max-width: none !important;
  min-height: 0;
  margin: 0 !important;
  box-sizing: border-box;
  transform: none;
  padding: 1rem clamp(1rem, 3.5vw, 3.25rem) 1.25rem !important;
  background: linear-gradient(180deg, rgba(8,25,30,.72), rgba(8,25,30,.18) 78%, transparent) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  pointer-events: auto;
}
body[data-active-page="flight"] .public-hero-shell .brand {
  display: flex !important;
  grid-column: 1;
  justify-self: start;
  min-width: 0;
  color: #fff !important;
}
body[data-active-page="flight"] .public-hero-shell .brand-name,
body[data-active-page="flight"] .public-hero-shell .brand-copy,
body[data-active-page="flight"] .public-hero-shell .brand .eyebrow,
body[data-active-page="flight"] .public-hero-shell .nav-link {
  color: #fff !important;
  text-shadow: 0 1px 1px rgba(8,25,30,.22);
}
body[data-active-page="flight"] .public-hero-shell .brand-mark {
  flex: 0 0 auto !important;
  width: clamp(3.6rem, 5vw, 4.8rem) !important;
  height: clamp(3rem, 4vw, 4rem) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body[data-active-page="flight"] .public-hero-shell .nav-links {
  grid-column: 2;
  justify-self: center;
  width: max-content;
  justify-content: center;
  transform: none !important;
}
body[data-active-page="flight"] .public-hero-shell .nav-link {
  padding-inline: .15rem !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body[data-active-page="flight"] .public-hero-shell .nav-link:hover,
body[data-active-page="flight"] .public-hero-shell .nav-link:focus-visible,
body[data-active-page="flight"] .public-hero-shell .nav-link.is-active {
  color: #fff !important;
  background: transparent !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .45rem;
}
body[data-active-page="flight"] .public-hero-shell .language-switch {
  grid-column: 3;
  justify-self: end;
  border-color: rgba(255,255,255,.42);
  background: rgba(8,25,30,.28);
}
body[data-active-page="flight"] .public-hero-shell .language-switch button { color: rgba(255,255,255,.9); }
body[data-active-page="flight"] main.page { padding-top: 0 !important; }

body[data-active-page="flight"] main.page > #customerFlightSection {
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 4rem !important;
}
body[data-active-page="flight"] .customer-flight-hero {
  width: 100vw !important;
  max-width: none !important;
  min-height: clamp(28rem, 58vh, 42rem) !important;
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem) !important;
  border-radius: 0 !important;
}
body[data-active-page="flight"] .customer-flight-hero .route-intro-copy {
  min-height: clamp(28rem, 58vh, 42rem) !important;
  padding: clamp(8rem, 13vw, 11rem) clamp(1.25rem, 5vw, 5rem) clamp(2.5rem, 6vw, 5rem) !important;
}
body[data-active-page="flight"] .customer-flight-hero .route-intro-copy h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 6.2vw, 5.8rem);
}
body[data-active-page="flight"] .customer-flight-only-card {
  width: min(calc(100% - 2rem), 70rem);
  max-width: 70rem;
  margin-left: auto;
  margin-right: auto;
}

/* Dedicated flight parity: the account-wide Customer surface uses the same
   70rem reading frame. Keep the selected flight header full-width, then give
   its detail content and flight material two balanced desktop columns. */
body[data-active-page="flight"] .customer-flight-only-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr);
  align-items: start;
  gap: 1.1rem;
  min-width: 0;
}
body[data-active-page="flight"] .customer-flight-only-main,
body[data-active-page="flight"] .customer-flight-only-media-column {
  display: grid;
  gap: 1.1rem;
  min-width: 0;
}
body[data-active-page="flight"] .customer-flight-only-media-column .customer-flight-only-media {
  position: sticky;
  top: 1rem;
  margin: 0;
}
body[data-active-page="flight"] .customer-flight-only-media { order: 0; }

/* Active lifecycle phases should be only as wide as their notification data,
   with a small reading allowance—not the entire remaining lifecycle row. */
@media (min-width: 681px) {
  body[data-active-page="customer"] .customer-booking-lifecycle-step.has-data,
  body[data-active-page="flight"] .customer-booking-lifecycle-step.has-data {
    flex: 0 1 auto;
    width: fit-content;
    max-width: min(100%, 42rem);
  }
  body[data-active-page="customer"] .customer-booking-lifecycle-step.has-data > span,
  body[data-active-page="flight"] .customer-booking-lifecycle-step.has-data > span {
    width: max-content;
    max-width: 100%;
  }
  body[data-active-page="customer"] .customer-booking-lifecycle-step.has-data > .customer-booking-phase-notifications,
  body[data-active-page="flight"] .customer-booking-lifecycle-step.has-data > .customer-booking-phase-notifications {
    width: 100%;
    max-width: 42rem;
  }
}

@media (max-width: 760px) {
  body[data-active-page="flight"] .public-hero-shell .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100% !important;
    min-height: 8rem;
    padding: .7rem 1rem 1rem !important;
    border-radius: 0 !important;
  }
  body[data-active-page="flight"] .public-hero-shell .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-self: center;
  }
  body[data-active-page="flight"] .public-hero-shell .language-switch {
    grid-column: 2;
    grid-row: 1;
  }
  body[data-active-page="flight"] main.page > #customerFlightSection {
    padding: 0 0 5rem !important;
  }
  body[data-active-page="flight"] .customer-flight-hero {
    min-height: 31rem !important;
    margin-bottom: 1rem !important;
  }
  body[data-active-page="flight"] .customer-flight-hero .route-intro-copy {
    min-height: 31rem !important;
    padding: 8.5rem 1.15rem 2.5rem !important;
  }
  body[data-active-page="flight"] .customer-flight-hero .route-intro-copy h1 {
    font-size: clamp(2.9rem, 13vw, 4.25rem) !important;
  }
  body[data-active-page="flight"] .customer-flight-only-card {
    width: calc(100% - 1rem);
    max-width: none;
  }
  body[data-active-page="flight"] .customer-flight-only-body {
    grid-template-columns: minmax(0, 1fr);
    gap: .85rem;
  }
  body[data-active-page="flight"] .customer-flight-only-media-column .customer-flight-only-media {
    position: static;
  }
}

/* Final Customer-surface parity: the dedicated route must use the same
   viewport canvas and horizontal content inset as #customerSection. The
   selected-flight media remains a real second column inside that frame. */
@media (min-width: 781px) {
  body[data-active-page="flight"] main.page > #customerFlightSection {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 0 3rem !important;
  }
  body[data-active-page="flight"] .customer-flight-only-card {
    width: calc(100% - clamp(2rem, 8vw, 9rem) - 2rem);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
  body[data-active-page="flight"] .customer-flight-only-card { border-radius: .45rem; }
  body[data-active-page="flight"] .customer-flight-only-card .customer-flight-card-header { border-radius: 0; }
}

@media (max-width: 780px) {
  body[data-active-page="flight"] main.page > #customerFlightSection {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 0 2rem !important;
  }
  body[data-active-page="flight"] .customer-flight-only-card {
    width: calc(100% - 3rem);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
  body[data-active-page="flight"] .customer-flight-only-card { border-radius: .45rem; }
  body[data-active-page="flight"] .customer-flight-only-card .customer-flight-card-header { border-radius: 0; }
}


/* Owner reference parity: the lifecycle has a fixed available content box.
   Use all of that box on desktop: every bordered phase receives an equal
   flexible track, including empty phases, while its content wraps inside the
   track instead of leaving unused space after the final phase. */
@media (min-width: 681px) {
  body[data-active-page="customer"] .customer-booking-lifecycle-steps,
  body[data-active-page="flight"] .customer-booking-lifecycle-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: .45rem;
    width: 100%;
    min-width: 0;
  }
  body[data-active-page="customer"] .customer-booking-lifecycle-step,
  body[data-active-page="flight"] .customer-booking-lifecycle-step {
    display: grid;
    grid-template-rows: auto 1fr;
    align-content: start;
    box-sizing: border-box;
    width: auto !important;
    min-width: 0;
    max-width: none !important;
    min-height: 100%;
    gap: .5rem;
    padding: .42rem;
    border: 1px solid rgba(23, 51, 58, .16);
    border-radius: .42rem;
    background: rgba(255, 255, 255, .42);
  }
  body[data-active-page="customer"] .customer-booking-lifecycle-step.has-data,
  body[data-active-page="flight"] .customer-booking-lifecycle-step.has-data {
    min-width: 0;
  }
  body[data-active-page="customer"] .customer-booking-lifecycle-step > span,
  body[data-active-page="flight"] .customer-booking-lifecycle-step > span {
    display: block;
    width: max-content !important;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin: 0;
    overflow-wrap: anywhere;
  }
  body[data-active-page="customer"] .customer-booking-lifecycle-step.has-data > span,
  body[data-active-page="flight"] .customer-booking-lifecycle-step.has-data > span,
  body[data-active-page="customer"] .customer-booking-lifecycle-step.has-data > .customer-booking-phase-notifications,
  body[data-active-page="flight"] .customer-booking-lifecycle-step.has-data > .customer-booking-phase-notifications {
    width: 100% !important;
  }
  body[data-active-page="customer"] .customer-booking-lifecycle-step.has-data > .customer-booking-phase-notifications,
  body[data-active-page="flight"] .customer-booking-lifecycle-step.has-data > .customer-booking-phase-notifications {
    max-width: none !important;
    margin-top: 0;
  }
  body[data-active-page="customer"] .customer-booking-lifecycle-step.is-empty .customer-booking-media-content.is-empty,
  body[data-active-page="flight"] .customer-booking-lifecycle-step.is-empty .customer-booking-media-content.is-empty,
  body[data-active-page="flight"] .customer-booking-lifecycle-step.is-empty .customer-flight-media-embedded[data-customer-flight-media-content="empty"] {
    display: none;
  }
  body[data-active-page="customer"] .customer-booking-lifecycle-step.is-empty,
  body[data-active-page="flight"] .customer-booking-lifecycle-step.is-empty {
    background: rgba(255, 255, 255, .2);
  }
  body[data-active-page="customer"] .customer-booking-lifecycle-step[data-customer-booking-phase="media"],
  body[data-active-page="flight"] .customer-booking-lifecycle-step[data-customer-booking-phase="media"] {
    background: rgba(247, 251, 248, .72);
  }
  body[data-active-page="customer"] .customer-booking-phase-notifications-heading,
  body[data-active-page="flight"] .customer-booking-phase-notifications-heading,
  body[data-active-page="customer"] .customer-notifications-list .notification-row-content > header,
  body[data-active-page="flight"] .customer-notifications-list .notification-row-content > header {
    flex-wrap: wrap;
  }
  body[data-active-page="customer"] .customer-booking-phase-notifications-heading strong,
  body[data-active-page="flight"] .customer-booking-phase-notifications-heading strong,
  body[data-active-page="customer"] .customer-notifications-list .notification-row-content > header > .status-pill,
  body[data-active-page="flight"] .customer-notifications-list .notification-row-content > header > .status-pill {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

.customer-booking-media-content,
.customer-flight-media-embedded {
  display: grid;
  align-content: start;
  gap: .4rem;
  min-width: 0;
}
.customer-booking-media-content .helper-copy,
.customer-flight-media-embedded .helper-copy {
  margin: 0;
  font-size: .62rem;
  line-height: 1.3;
}
.customer-booking-media-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .3rem;
  min-width: 0;
}
.customer-booking-media-strip img {
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(23, 51, 58, .14);
  border-radius: .3rem;
  background: #dce9e1;
}
.customer-flight-media-embedded-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .35rem;
  min-width: 0;
}
.customer-flight-media-embedded-grid .customer-flight-media-thumb {
  width: 100%;
  padding: .28rem;
}
.customer-flight-media-embedded-grid .customer-flight-media-thumb-copy small {
  font-size: .54rem;
}
body[data-active-page="customer"] .customer-flight-media-stage { display: none !important; }

@media (max-width: 680px) {
  body[data-active-page="customer"] .customer-booking-lifecycle-steps,
  body[data-active-page="flight"] .customer-booking-lifecycle-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .4rem;
  }
  body[data-active-page="customer"] .customer-booking-lifecycle-step,
  body[data-active-page="flight"] .customer-booking-lifecycle-step,
  body[data-active-page="customer"] .customer-booking-lifecycle-step.has-data,
  body[data-active-page="flight"] .customer-booking-lifecycle-step.has-data {
    min-height: 0;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding: .38rem;
    border: 1px solid rgba(23, 51, 58, .16);
    border-radius: .42rem;
    background: rgba(255, 255, 255, .42);
  }
  body[data-active-page="customer"] .customer-booking-lifecycle-step > span,
  body[data-active-page="flight"] .customer-booking-lifecycle-step > span,
  body[data-active-page="customer"] .customer-booking-lifecycle-step.has-data > span,
  body[data-active-page="flight"] .customer-booking-lifecycle-step.has-data > span {
    width: 100% !important;
    max-width: none;
  }
  body[data-active-page="customer"] .customer-booking-lifecycle-step.is-empty .customer-booking-media-content.is-empty,
  body[data-active-page="flight"] .customer-booking-lifecycle-step.is-empty .customer-booking-media-content.is-empty,
  body[data-active-page="flight"] .customer-booking-lifecycle-step.is-empty .customer-flight-media-embedded[data-customer-flight-media-content="empty"] {
    display: grid;
  }
  .customer-booking-media-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The media phase is inside the lifecycle row, so the flight body itself is a single reading column. */
body[data-active-page="flight"] .customer-flight-only-body {
  grid-template-columns: minmax(0, 1fr) !important;
}

/* Keep the four flight-summary sectors compact like the reference header.
   Long values remain ordinary one-line text and expose the full value only
   through the small hover/focus/click disclosure. */
body[data-active-page="customer"] .customer-flight-card-meta > span,
body[data-active-page="flight"] .customer-flight-card-meta > span {
  box-sizing: border-box;
  height: 3.65rem;
  max-height: 3.65rem;
  padding: .36rem .55rem;
  align-content: start;
  overflow: visible;
}
body[data-active-page="customer"] .customer-flight-card-meta > span > strong,
body[data-active-page="flight"] .customer-flight-card-meta > span > strong {
  min-width: 0;
  overflow: visible;
  white-space: normal;
}
.customer-flight-summary-value,
body[data-active-page="customer"] .customer-flight-card-meta .customer-flight-summary-link,
body[data-active-page="flight"] .customer-flight-card-meta .customer-flight-summary-link {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body[data-active-page="customer"] .customer-flight-card-meta .customer-flight-summary-popup-trigger,
body[data-active-page="flight"] .customer-flight-card-meta .customer-flight-summary-popup-trigger {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
body[data-active-page="customer"] .customer-flight-card-meta .customer-flight-summary-popup-preview,
body[data-active-page="flight"] .customer-flight-card-meta .customer-flight-summary-popup-preview {
  display: block;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
  max-width: 100%;
  white-space: nowrap;
  line-height: 1.25;
  text-overflow: ellipsis;
}
body[data-active-page="customer"] .customer-flight-card-meta .customer-flight-summary-popup,
body[data-active-page="flight"] .customer-flight-card-meta .customer-flight-summary-popup {
  position: absolute;
  top: calc(100% + .35rem);
  left: 0;
  z-index: 40;
  width: min(21rem, calc(100vw - 2rem));
  max-width: min(21rem, calc(100vw - 2rem));
  display: block;
  gap: 0;
  margin: 0;
  padding: .55rem .65rem;
  border: 1px solid rgba(157, 224, 209, .42);
  border-radius: .45rem;
  background: #17343c;
  color: #fff;
  box-shadow: 0 .6rem 1.4rem rgba(8, 21, 26, .28);
  font-size: .68rem;
  font-weight: 650;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  white-space: normal;
}
body[data-active-page="customer"] .customer-flight-card-meta .customer-flight-summary-popup-trigger:hover .customer-flight-summary-popup,
body[data-active-page="customer"] .customer-flight-card-meta .customer-flight-summary-popup-trigger:focus-visible .customer-flight-summary-popup,
body[data-active-page="customer"] .customer-flight-card-meta .customer-flight-summary-popup-trigger.is-open .customer-flight-summary-popup,
body[data-active-page="flight"] .customer-flight-card-meta .customer-flight-summary-popup-trigger:hover .customer-flight-summary-popup,
body[data-active-page="flight"] .customer-flight-card-meta .customer-flight-summary-popup-trigger:focus-visible .customer-flight-summary-popup,
body[data-active-page="flight"] .customer-flight-card-meta .customer-flight-summary-popup-trigger.is-open .customer-flight-summary-popup {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.customer-flight-summary-popup-trigger.is-open .customer-flight-summary-popup {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
body[data-active-page="customer"] .customer-flight-card-meta .customer-flight-summary-popup-trigger:focus-visible,
body[data-active-page="flight"] .customer-flight-card-meta .customer-flight-summary-popup-trigger:focus-visible {
  outline: 2px solid #ffbd79;
  outline-offset: 2px;
}
@media (max-width: 680px) {
  body[data-active-page="customer"] .customer-flight-card-meta .customer-flight-summary-popup,
  body[data-active-page="flight"] .customer-flight-card-meta .customer-flight-summary-popup {
    width: min(21rem, calc(100vw - 3.5rem));
    max-width: min(21rem, calc(100vw - 3.5rem));
  }
}

/* The account lifecycle uses the same private lightbox as the dedicated media
   panel; its thumbnails must be real controls, not decorative images. */
.customer-booking-media-thumb {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.customer-booking-media-thumb-visual {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(23, 51, 58, .14);
  border-radius: .3rem;
  background: #dce9e1;
}
.customer-booking-media-thumb-visual img,
.customer-booking-media-thumb-visual video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.customer-booking-media-thumb:hover .customer-booking-media-thumb-visual,
.customer-booking-media-thumb:focus-visible .customer-booking-media-thumb-visual {
  border-color: rgba(216, 107, 49, .7);
  box-shadow: 0 0 0 3px rgba(216, 107, 49, .16);
}
.customer-booking-media-thumb:focus-visible { outline: none; }
.customer-booking-media-play {
  position: absolute;
  right: .3rem;
  bottom: .3rem;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(23, 52, 60, .84);
  color: #fff;
  font-size: .58rem;
}

/* Keep the web-push opt-in in the upper-right part of the journey header. */
body[data-active-page="customer"] #customerSection > .customer-journey-intro {
  position: relative;
  grid-template-columns: minmax(15rem, .7fr) minmax(0, 1.3fr);
}
body[data-active-page="customer"] .customer-journey-flow {
  display: grid;
  align-content: center;
  gap: .7rem;
  min-width: 0;
}
/* Dedicated flight actions keep the compact rounded-square treatment even when
   the route is hydrated through the shared Customer shell. */
body[data-active-page="flight"] [data-customer-flight-only-booking] .tiny-button,
[data-customer-flight-only-booking].customer-flight-only-card .tiny-button {
  border-radius: .3rem !important;
}

body[data-active-page="customer"] .customer-header-push {
  position: absolute;
  top: .75rem;
  right: clamp(1rem, 2.4vw, 2rem);
  z-index: 3;
  justify-content: flex-end;
  padding-top: 0;
  border-top: 0;
}
body[data-active-page="customer"] .customer-journey-flow {
  padding-top: 2.4rem;
}
body[data-active-page="customer"] .customer-header-push .inline-actions {
  justify-content: flex-end;
}
@media (max-width: 780px) {
  body[data-active-page="customer"] #customerSection > .customer-journey-intro {
    grid-template-columns: 1fr;
  }
  body[data-active-page="customer"] .customer-header-push,
  body[data-active-page="customer"] .customer-header-push .inline-actions {
    position: static;
    justify-content: flex-start;
  }
  body[data-active-page="customer"] .customer-journey-flow { padding-top: 0; }
}

/* Final mobile workspace navigation contract: only the family pills remain
   visible after scrolling; long destination lists return at the top. */
@media (max-width: 760px) {
  body[data-active-page="ops"] .ops-section-tabs .ops-tab-family-label,
  body[data-active-page="pilot"] .pilot-workspace-tabs .ops-tab-family-label {
    min-height: 1.25rem;
    padding: .16rem .24rem;
    font-size: clamp(.48rem, 1.8vw, .56rem);
    letter-spacing: .035em;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
  }
  body[data-active-page="ops"] .ops-section-tabs.is-scroll-collapsed,
  body[data-active-page="pilot"] .pilot-workspace-tabs.is-scroll-collapsed {
    min-height: 0;
    padding-top: .3rem;
    padding-bottom: .3rem;
  }
  body[data-active-page="ops"] .ops-section-tabs.is-scroll-collapsed .ops-tab-family-links,
  body[data-active-page="pilot"] .pilot-workspace-tabs.is-scroll-collapsed .ops-tab-family-links {
    display: none;
  }
  body[data-active-page="ops"] .ops-section-tabs.is-scroll-collapsed .ops-tab-family,
  body[data-active-page="pilot"] .pilot-workspace-tabs.is-scroll-collapsed .ops-tab-family {
    border-top-width: 1px;
  }
}

/* Explore takeoff image carousel: every primary/gallery image is a real
   slide, with keyboard/arrows/dots and a paused auto-advance. */
.takeoff-image-carousel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #dbe8ed;
}
.takeoff-image-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.takeoff-image-carousel-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.takeoff-image-carousel-slide.is-active { opacity: 1; }
.takeoff-image-carousel-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 2.15rem;
  height: 2.15rem;
  transform: translateY(-50%);
  border-color: rgba(255,255,255,.7);
  background: rgba(15,35,42,.66);
  color: #fff;
}
.takeoff-image-carousel-arrow:hover:not(:disabled) { transform: translateY(-50%) scale(1.04); border-color: #fff; color: #fff; }
.takeoff-image-carousel-prev { left: .7rem; }
.takeoff-image-carousel-next { right: .7rem; }
.takeoff-image-carousel-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: .7rem;
  display: flex;
  gap: .35rem;
  transform: translateX(-50%);
}
.takeoff-image-carousel-dot {
  width: .58rem;
  height: .58rem;
  padding: 0;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: rgba(15,35,42,.56);
  cursor: pointer;
}
.takeoff-image-carousel-dot.is-active { background: #fff; box-shadow: 0 0 0 2px rgba(15,35,42,.24); }
.takeoff-image-carousel-status {
  position: absolute;
  z-index: 3;
  top: .7rem;
  right: .7rem;
  padding: .24rem .45rem;
  border-radius: 999px;
  background: rgba(15,35,42,.66);
  color: #fff;
  font-size: .66rem;
  font-weight: 800;
  line-height: 1;
}
.takeoff-card-media > .takeoff-image-carousel { width: 100%; }
.takeoff-card-media .takeoff-image-carousel-track { aspect-ratio: 16 / 10; }
.takeoff-card-media .status-pill { z-index: 4; }
.takeoff-image-carousel--detail {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: inherit;
}
.takeoff-image-carousel--detail .takeoff-image-carousel-track { height: 100%; min-height: inherit; aspect-ratio: auto; }
.takeoff-image-carousel--detail .takeoff-image-carousel-slide { min-height: inherit; }
.takeoff-image-carousel--detail + .destination-showcase-overlay { z-index: 2; }
.mobile-explore-slide-media .takeoff-image-carousel { width: 100%; height: 100%; }
.mobile-explore-slide-media .takeoff-image-carousel-track { height: 100%; min-height: 12rem; aspect-ratio: auto; }
.mobile-explore-slide-media .takeoff-image-carousel .takeoff-image-carousel-slide { width: 100%; height: 100%; border-radius: .85rem; }
@media (max-width: 760px) {
  .takeoff-image-carousel-arrow { width: 2.75rem; height: 2.75rem; }
  .takeoff-image-carousel-dots { gap: .05rem; bottom: .35rem; }
  .takeoff-image-carousel-dot { position: relative; width: 2.35rem; height: 2.35rem; border: 0; background: transparent; }
  .takeoff-image-carousel-dot::before { content: ''; position: absolute; top: 50%; left: 50%; width: .58rem; height: .58rem; transform: translate(-50%, -50%); border: 1px solid rgba(255,255,255,.9); border-radius: 50%; background: rgba(15,35,42,.56); }
  .takeoff-image-carousel-dot.is-active::before { background: #fff; box-shadow: 0 0 0 2px rgba(15,35,42,.24); }
  .takeoff-image-carousel-dot.is-active { background: transparent; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .takeoff-image-carousel-slide { transition: none; }
}


/* Final homepage gallery frame sizing */
body[data-active-page="discover"] #communityGallery {
  width: min(calc(100% - 2rem), var(--content-max)) !important;
  max-width: var(--content-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: clamp(1.5rem, 3vw, 2.75rem) !important;
  border: 1px solid rgba(31, 123, 103, .2) !important;
  border-radius: var(--radius-xl) !important;
  background: linear-gradient(145deg, rgba(255, 252, 247, .95), rgba(239, 249, 244, .94) 58%, rgba(232, 220, 194, .78)) !important;
  box-shadow: 0 .75rem 0 -.35rem rgba(31, 82, 77, .16), var(--shadow-md) !important;
}
body[data-active-page="discover"] #communityGallery > .community-gallery-head,
body[data-active-page="discover"] #communityGallery > .public-media-gallery {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
@media (max-width: 760px) {
  body[data-active-page="discover"] #communityGallery {
    width: min(calc(100% - 1rem), var(--content-max)) !important;
    padding: 1.15rem !important;
  }
}

/* Owner reference: use the authenticated Pilot portal's layered folder frame
   for the public memory rail, while keeping the homepage's own content/data. */
#communityGallery .public-media-carousel-viewport {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}
#communityGallery .public-media-carousel-track {
  align-items: start;
  gap: .8rem;
  padding: .8rem .75rem 1rem;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
}
#communityGallery .public-media-carousel-track::-webkit-scrollbar { display: none; }
#communityGallery .public-media-card {
  --gallery-folder-front: #f8fffb;
  --gallery-folder-middle: #e7f4ef;
  --gallery-folder-back: #d3ebe2;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  flex: 0 0 calc((100% - 1.6rem) / 3);
  min-width: 0;
  height: clamp(15rem, 22vw, 20rem);
  min-height: 0;
  overflow: visible;
  isolation: isolate;
  margin-top: .55rem;
  border: 1px solid rgba(40,127,109,.25);
  border-radius: .65rem;
  background: linear-gradient(145deg, var(--gallery-folder-front), #dcefe8 72%, #c9e3da);
  box-shadow: .28rem .28rem 0 rgba(40,127,109,.15), .56rem .56rem 0 rgba(40,127,109,.07), 0 .7rem 1.1rem rgba(23,52,60,.1);
  transform: translateY(0) !important;
}
#communityGallery .public-media-card::before,
#communityGallery .public-media-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(40,127,109,.24);
  border-radius: .65rem;
}
#communityGallery .public-media-card::before {
  inset: .05rem .3rem .15rem .85rem;
  transform: translateY(-.72rem);
  background: linear-gradient(145deg, var(--gallery-folder-back), #c5e3d9);
  box-shadow: .22rem .22rem 0 rgba(40,127,109,.1);
}
#communityGallery .public-media-card::after {
  inset: .02rem .15rem .1rem .5rem;
  transform: translateY(-.38rem);
  background: linear-gradient(145deg, var(--gallery-folder-middle), #dcefe8);
  box-shadow: .16rem .16rem 0 rgba(40,127,109,.08);
}
#communityGallery .public-media-card img,
#communityGallery .public-media-card video {
  min-height: 0;
  height: 100%;
  border-radius: .55rem .55rem .35rem .35rem;
  object-fit: cover;
}
#communityGallery .public-media-card-copy {
  z-index: 1;
  padding: 3.5rem .8rem .75rem;
  background: linear-gradient(180deg, transparent, rgba(16,42,48,.9));
}
#communityGallery .public-media-card-copy strong { font-size: clamp(.86rem, 1.3vw, 1.1rem); }
#communityGallery .public-media-card-copy span { font-size: .68rem; }
#communityGallery .public-media-card-copy small { font-size: .7rem; }
#communityGallery .public-media-card:hover,
#communityGallery .public-media-card:focus-visible { transform: translateY(-.25rem) !important; }
@media (max-width: 980px) {
  #communityGallery .public-media-card { flex-basis: calc((100% - .8rem) / 2); }
}
@media (max-width: 560px) {
  #communityGallery .public-media-carousel-track { gap: .65rem; padding: .7rem .55rem .85rem; }
  #communityGallery .public-media-card {
    flex-basis: 100%;
    height: clamp(15rem, 72vw, 20rem);
  }
  #communityGallery .public-media-card-copy { padding: 3.5rem 1rem .9rem; }
}
/* Owner correction: the layered 3D/folder frame belongs to the gallery section,
   not to each media tile. Keep tiles visually quiet so the section frame reads
   as one deliberate surface around the carousel. */
#communityGallery .public-media-card {
  display: block;
  margin-top: 0;
  border: 0;
  border-radius: .35rem;
  background: transparent;
  box-shadow: none;
  transform: none !important;
}
#communityGallery .public-media-card::before,
#communityGallery .public-media-card::after {
  content: none;
  display: none;
}
#communityGallery .public-media-card img,
#communityGallery .public-media-card video {
  border-radius: .35rem;
}
#communityGallery .public-media-card:hover,
#communityGallery .public-media-card:focus-visible {
  transform: none !important;
}
#communityGallery .public-media-carousel-viewport {
  overflow: hidden;
}
#communityGallery .public-media-carousel-track {
  padding: 0;
}


/* Explore catalogue rail: keep both tandem and informational groups aligned
   while allowing the catalogue to page horizontally. The mobile PWA rail is
   rendered separately in mobile-foundation.css and keeps its touch contract. */
.takeoff-catalog-group-heading { align-items: center; }
.takeoff-catalog-group-actions { display: flex; align-items: center; justify-content: flex-end; gap: .4rem; flex-wrap: wrap; }
.takeoff-catalog-group-actions .carousel-arrow { width: 2.35rem; min-width: 2.35rem; height: 2.35rem; min-height: 2.35rem; padding: 0; }
.takeoff-catalog-group-actions .carousel-arrow:disabled { opacity: .35; cursor: default; }
.takeoff-catalog-group-status { display: inline-grid; min-height: 2rem; place-items: center; padding: .25rem .55rem; border-radius: 999px; background: rgba(45,159,135,.1); color: var(--accent-strong); font-size: .68rem; font-weight: 800; white-space: nowrap; }
.takeoff-catalog-group-carousel { min-width: 0; overflow: hidden; }
.takeoff-catalog-group-grid {
  display: flex;
  align-items: stretch;
  gap: .75rem;
  min-width: 0;
  padding: .15rem .1rem .75rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: .1rem;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
}
.takeoff-catalog-group-grid::-webkit-scrollbar { display: none; }
.takeoff-catalog-group-grid > .takeoff-card,
.takeoff-catalog-group-grid > .takeoff-card:hover,
.takeoff-catalog-group-grid > .takeoff-card:focus-visible,
.takeoff-catalog-group-grid > .takeoff-card.is-selected { transform: none; }
.takeoff-catalog-group-grid > .takeoff-card {
  flex: 0 0 calc((100% - 3rem) / 5);
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto auto auto;
  align-content: start;
  scroll-snap-align: start;
}
.takeoff-card-media,
.takeoff-card-media > .takeoff-image-carousel,
.takeoff-card-media .takeoff-image-carousel-track { min-width: 0; width: 100%; }
.takeoff-card-copy { min-width: 0; grid-template-rows: auto auto auto auto; align-content: start; }
.takeoff-card-copy > .eyebrow { display: -webkit-box; min-height: 1.25rem; max-height: 1.25rem; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.takeoff-card-copy h3 { display: -webkit-box; min-height: 2.1em; max-height: 2.1em; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.takeoff-description { min-width: 0; color: var(--muted); }
.takeoff-description summary { display: grid; min-width: 0; gap: .3rem; cursor: pointer; list-style: none; }
.takeoff-description summary::-webkit-details-marker { display: none; }
.takeoff-description summary::after { content: 'Otvori ceo opis'; color: var(--accent-strong); font-size: .68rem; font-weight: 800; }
.takeoff-description[open] summary::after { content: 'Sakrij opis'; }
.takeoff-description-preview { display: -webkit-box; min-width: 0; min-height: 3.4em; max-height: 3.4em; overflow: hidden; font-size: .82rem; line-height: 1.38; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.takeoff-description-hint { display: none; }
.takeoff-description > p { margin: .45rem 0 0; font-size: .82rem; line-height: 1.42; }
.takeoff-maps-link { display: flex; min-width: 0; min-height: 2.35rem; align-items: flex-start; overflow-wrap: anywhere; font-size: .7rem; line-height: 1.25; }
.takeoff-maps-link.is-placeholder { visibility: hidden; pointer-events: none; }
.takeoff-card .detail-tags { height: auto; min-height: 0; max-height: none; align-content: start; overflow: visible; }
.takeoff-catalog-group-grid > .takeoff-card { display: flex; flex-direction: column; }
.takeoff-catalog-group-grid > .takeoff-card > .detail-tags { flex: 1 1 auto; align-content: end; }
.takeoff-card .detail-tag { min-width: 0; overflow-wrap: anywhere; line-height: 1.2; }
.takeoff-card .takeoff-book-button,
.takeoff-card .takeoff-unavailable-message { grid-column: 1 / -1; width: 100%; margin-top: .1rem; }
.takeoff-card .takeoff-book-button,
.takeoff-card .takeoff-unavailable-message { flex: 0 0 100%; }
@media (max-width: 1199px) {
  .takeoff-catalog-group-grid > .takeoff-card { flex-basis: calc((100% - 2.25rem) / 4); }
}
@media (max-width: 1020px) {
  .takeoff-catalog-group-grid > .takeoff-card { flex-basis: calc((100% - 1.5rem) / 3); }
}
@media (max-width: 860px) and (min-width: 761px) {
  .takeoff-catalog-group-grid > .takeoff-card { flex-basis: calc((100% - .75rem) / 2); }
}
@media (max-width: 760px) {
  .takeoff-catalog-group-grid { display: grid; }
  .takeoff-catalog-group-actions { gap: .3rem; }
}

/* Voucher lifecycle: Customer sees progress; Pilot moves each request through Kanban state columns. */
body[data-active-page="customer"] .customer-voucher-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .45rem;
  margin: .8rem 0;
  padding: 0;
  list-style: none;
}
body[data-active-page="customer"] .customer-voucher-progress li {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: .35rem;
  min-width: 0;
  padding: .55rem;
  border: 1px solid #d9e1df;
  border-radius: .55rem;
  background: #f6f8f7;
}
body[data-active-page="customer"] .customer-voucher-progress li > span {
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border-radius: 50%;
  color: #52686c;
  background: #e3e9e7;
  font-size: .65rem;
  font-weight: 800;
}
body[data-active-page="customer"] .customer-voucher-progress li strong { color: #667777; font-size: .68rem; line-height: 1.25; }
body[data-active-page="customer"] .customer-voucher-progress li.is-complete { border-color: #b9d9ca; background: #eff8f2; }
body[data-active-page="customer"] .customer-voucher-progress li.is-complete > span { color: #fff; background: #24775f; }
body[data-active-page="customer"] .customer-voucher-progress li.is-current { border-color: #e0a46b; background: #fff7ec; box-shadow: inset 0 2px 0 #d46b39; }
body[data-active-page="customer"] .customer-voucher-progress li.is-current > span { color: #fff; background: #c26032; }
body[data-active-page="customer"] .customer-voucher-progress li.is-current strong { color: #713d22; }
body[data-active-page="customer"] .customer-voucher-progress.is-declined { display: grid; gap: .2rem; padding: .75rem; border: 1px solid #e8c5bf; border-radius: .55rem; color: #823d35; background: #fff4f1; }
body[data-active-page="pilot"] .voucher-kanban {
  display: grid;
  grid-auto-columns: minmax(270px, 1fr);
  grid-auto-flow: column;
  gap: .7rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: .15rem .1rem .7rem;
  scroll-snap-type: x proximity;
}
body[data-active-page="pilot"] .voucher-kanban-column {
  display: grid;
  grid-template-rows: auto minmax(5rem, 1fr);
  align-content: start;
  gap: .55rem;
  min-width: 0;
  padding: .6rem;
  border: 1px solid rgba(23, 51, 58, .14);
  border-radius: .65rem;
  background: rgba(235, 242, 240, .82);
  scroll-snap-align: start;
}
body[data-active-page="pilot"] .voucher-kanban-column > header { display: flex; align-items: center; justify-content: space-between; gap: .4rem; min-height: 2.4rem; padding: 0 .2rem .45rem; border-bottom: 1px solid rgba(23, 51, 58, .13); }
body[data-active-page="pilot"] .voucher-kanban-column > header h3 { margin: 0; color: #17333a; font-size: .83rem; line-height: 1.25; }
body[data-active-page="pilot"] .voucher-kanban-column > header > span { display: grid; min-width: 1.55rem; height: 1.55rem; place-items: center; border-radius: 99px; color: #34545a; background: #dce8e4; font-size: .7rem; font-weight: 800; }
body[data-active-page="pilot"] .voucher-kanban-cards { display: grid; align-content: start; gap: .6rem; min-width: 0; }
body[data-active-page="pilot"] .voucher-kanban-empty { margin: 0; padding: .65rem .35rem; color: #718181; font-size: .74rem; }
body[data-active-page="pilot"] .voucher-kanban .pilot-voucher-request-card { padding: .7rem; }
body[data-active-page="pilot"] .voucher-kanban .voucher-row-header { display: grid; justify-content: stretch; gap: .35rem; }
body[data-active-page="pilot"] .voucher-kanban .voucher-row-status { justify-items: start; }
body[data-active-page="pilot"] .voucher-kanban .voucher-lifecycle-track { grid-template-columns: minmax(0, 1fr); gap: .4rem; }
body[data-active-page="pilot"] .voucher-kanban .voucher-stage-connector { display: none; }
body[data-active-page="pilot"] .voucher-kanban .voucher-document-options { grid-template-columns: minmax(0, 1fr); }
body[data-active-page="pilot"] .voucher-kanban .voucher-payment-controls { display: grid; grid-template-columns: minmax(0, 1fr); }
body[data-active-page="pilot"] .voucher-kanban .voucher-payment-controls .button { width: 100%; }
@media (max-width: 760px) {
  body[data-active-page="customer"] .customer-voucher-progress { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-active-page="pilot"] .voucher-kanban { grid-auto-columns: minmax(82vw, 1fr); }
  body[data-active-page="pilot"] .voucher-kanban-column { scroll-snap-align: center; }
}

/* Customer signup: compact editorial groups and an intentionally paired
   password row. Booking and voucher registration remain unchanged. */
body[data-active-page="customer"] #customerAccountRegistrationForm > .section-toolbar,
body[data-active-page="customer"] #customerAccountRegistrationForm > .customer-registration-content,
body[data-active-page="customer"] #customerAccountRegistrationForm > .helper-copy,
body[data-active-page="customer"] #customerAccountRegistrationForm > .inline-feedback,
body[data-active-page="customer"] #customerAccountRegistrationForm > .inline-actions {
  width: min(100%, 56rem);
  margin-inline: auto;
}
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-content {
  display: grid;
  gap: 1rem;
}
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-section {
  min-width: 0;
  padding: clamp(.9rem, 2vw, 1.25rem);
  border: 1px solid var(--editorial-line, #d8e3df);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .68);
}
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-security {
  border-left: 3px solid var(--editorial-coral, #df7651);
  background: linear-gradient(110deg, rgba(249, 245, 235, .9), rgba(255, 255, 255, .76));
}
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .85rem;
}
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-section-heading .eyebrow {
  margin: 0 0 .2rem;
  color: var(--accent-strong, #247c70);
  font-size: .65rem;
  letter-spacing: .11em;
}
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-section-heading h4 {
  margin: 0;
  color: var(--editorial-ink, #17343c);
  font-family: var(--font-display, inherit);
  font-size: 1.1rem;
  line-height: 1.1;
}
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-section-heading > p {
  max-width: 34ch;
  margin: 0;
  color: var(--muted, #687777);
  font-size: .78rem;
  line-height: 1.45;
  text-align: right;
}
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-grid,
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-password-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: .8rem 1rem;
  min-width: 0;
}
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-grid {
  grid-template-columns: repeat(20, minmax(0, 1fr));
}
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-grid > .field:nth-child(1),
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-grid > .field:nth-child(2) {
  grid-column: span 10;
}
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-grid > .field:nth-child(3) {
  grid-column: span 9;
}
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-grid > .field:nth-child(4) {
  grid-column: span 8;
}
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-grid > .field:nth-child(5) {
  grid-column: span 3;
}
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-grid > .minor-accompaniment-notice {
  grid-column: 1 / -1;
}
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-grid > .field,
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-password-grid > .field {
  min-width: 0;
  margin: 0;
}
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-phone input {
  width: 92%;
}
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-age input {
  width: 4.5rem;
  max-width: 100%;
  min-width: 0;
  padding-inline: .5rem;
}
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-grid > .minor-accompaniment-notice {
  align-self: end;
  min-height: 2.85rem;
  margin: 0;
  padding: .65rem .8rem;
  border-radius: .65rem;
  font-size: .72rem;
  line-height: 1.4;
}
body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-grid > .minor-accompaniment-notice strong {
  display: inline;
  margin-inline-end: .25rem;
}
@media (max-width: 680px) {
  body[data-active-page="customer"] #customerAccountRegistrationForm > .section-toolbar,
  body[data-active-page="customer"] #customerAccountRegistrationForm > .helper-copy,
  body[data-active-page="customer"] #customerAccountRegistrationForm > .inline-feedback,
  body[data-active-page="customer"] #customerAccountRegistrationForm > .inline-actions {
    width: 100%;
  }
  body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: .4rem;
  }
  body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-section-heading > p {
    text-align: left;
  }
  body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-grid > .field {
    grid-column: auto;
  }
  body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-password-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
  }
  body[data-active-page="customer"] #customerAccountRegistrationForm .customer-registration-grid > .minor-accompaniment-notice {
    min-height: 0;
  }
}
/* Account-first booking: the booking column now contains choices, not a second
   copy of the customer's profile beside the calendar. */
body[data-active-page="explore"] #bookingSection .booking-input-layout--account-first {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.85rem, 1.6vw, 1.2rem);
  align-items: stretch;
}
body[data-active-page="explore"] #bookingSection .booking-choice-column {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-content: stretch;
  gap: .9rem;
  min-width: 0;
  padding: clamp(.85rem, 1.5vw, 1.1rem);
  border: 1px solid rgba(23, 51, 58, .12);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(248,252,249,.96), rgba(255,249,239,.94));
}
body[data-active-page="explore"] #bookingSection .booking-identity-card {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(45, 130, 110, .2);
  border-radius: .85rem;
  background: rgba(255,255,255,.78);
}
body[data-active-page="explore"] #bookingSection .booking-identity-card-icon {
  display: grid;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: .75rem;
  background: #e5f2ec;
  color: #287f6d;
  font-size: 1.2rem;
}
body[data-active-page="explore"] #bookingSection .booking-identity-card .eyebrow,
body[data-active-page="explore"] #bookingSection .booking-identity-card strong,
body[data-active-page="explore"] #bookingSection .booking-identity-card p { margin: 0; }
body[data-active-page="explore"] #bookingSection .booking-identity-card .eyebrow { margin-bottom: .2rem; font-size: .65rem; }
body[data-active-page="explore"] #bookingSection .booking-identity-card strong { display: block; color: #17333a; font-size: .92rem; }
body[data-active-page="explore"] #bookingSection .booking-identity-card p:last-child { margin-top: .28rem; color: #5b6f71; font-size: .75rem; line-height: 1.45; }
body[data-active-page="explore"] #bookingSection .booking-secondary-grid--account-first {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: stretch;
  align-items: stretch;
  height: 100%;
  margin-top: 0;
  padding-top: .2rem;
  border-top: 0;
}
body[data-active-page="explore"] #bookingSection .booking-secondary-grid--account-first .booking-party-field,
body[data-active-page="explore"] #bookingSection .booking-secondary-grid--account-first .booking-voucher-fieldset {
  align-content: center;
}
body[data-active-page="explore"] #bookingSection .booking-date-column { min-height: 100%; }
  body[data-active-page="explore"] #bookingSection .booking-date-field { height: auto; min-height: 0; align-self: start; }
@media (max-width: 760px) {
  body[data-active-page="explore"] #bookingSection .booking-input-layout--account-first { grid-template-columns: minmax(0, 1fr); }
  body[data-active-page="explore"] #bookingSection .booking-date-column { min-height: 0; height: auto; align-self: start; }
  body[data-active-page="explore"] #bookingSection .booking-choice-column { grid-template-rows: auto auto; gap: .75rem; padding: .8rem; }
  body[data-active-page="explore"] #bookingSection .booking-secondary-grid--account-first { grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; }
  body[data-active-page="explore"] #bookingSection .booking-identity-card { padding: .8rem; }
  body[data-active-page="explore"] #bookingSection .booking-identity-card strong { font-size: .86rem; }
}

/* Explore booking option C: meeting/map first, participant and voucher controls
   directly beneath it; the date calendar owns the other desktop column. */
body[data-active-page="explore"] #bookingSection .booking-choice-column {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  align-self: stretch;
  min-width: 0;
}
body[data-active-page="explore"] #bookingSection .booking-meeting-map:empty { display: none; }
body[data-active-page="explore"] #bookingSection .booking-meeting-map .booking-location-strip {
  grid-template-columns: 1fr;
  gap: .65rem;
  padding: .85rem;
}
body[data-active-page="explore"] #bookingSection .booking-meeting-map .booking-location-map {
  min-height: clamp(10rem, 19vw, 15rem);
}

/* Voucher workspaces: a sortable single list is easier to scan than seven narrow Kanban lanes. */
.voucher-sort-control { display: inline-grid; gap: .3rem; min-width: min(15rem, 100%); color: #52686c; font-size: .75rem; font-weight: 750; }
.voucher-sort-control select { min-height: 2.5rem; padding: .45rem .7rem; border: 1px solid rgba(23,51,58,.18); border-radius: .55rem; background: #fff; color: #17333a; font: inherit; font-size: .82rem; }
body[data-active-page="pilot"] #pilotVoucherRequests { display: grid; gap: .75rem; }
body[data-active-page="pilot"] #pilotVoucherRequests > .voucher-lifecycle-row { min-width: 0; padding: 1rem; border: 1px solid rgba(23,51,58,.13); border-radius: .8rem; background: #fff; box-shadow: 0 5px 16px rgba(23,49,61,.06); }
body[data-active-page="pilot"] #pilotVoucherRequests .voucher-row-header { align-items: center; }
body[data-active-page="pilot"] #pilotVoucherRequests .voucher-row-context { display: flex; flex-wrap: wrap; gap: .35rem .9rem; padding: .6rem .7rem; border-radius: .55rem; background: #f4f8f6; font-size: .78rem; }
body[data-active-page="pilot"] #pilotVoucherRequests .voucher-lifecycle-track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
body[data-active-page="pilot"] #pilotVoucherRequests .voucher-lifecycle-stage { min-width: 0; min-height: 0; padding: .65rem; border-radius: .55rem; align-content: start; }
body[data-active-page="pilot"] #pilotVoucherRequests .voucher-stage-connector { display: none; }
body[data-active-page="pilot"] #pilotVoucherRequests .voucher-stage-body { gap: .45rem; }
body[data-active-page="pilot"] #pilotVoucherRequests .voucher-next-action { display: grid; grid-template-columns: minmax(7.5rem, .24fr) minmax(0, 1fr); align-items: start; gap: .6rem; }
body[data-active-page="pilot"] #pilotVoucherRequests .voucher-next-action-label { padding-top: .55rem; color: #527075; font-size: .72rem; font-weight: 800; }
.voucher-ops-subtitle { margin: .8rem 0 .35rem; color: #17333a; font-size: .95rem; }
.voucher-ops-requests { display: grid; gap: .5rem; }
.ops-voucher-request-card { grid-template-columns: auto minmax(0,1fr); align-items: start; }
.ops-voucher-request-card .ops-voucher-copy { gap: .35rem; }
body[data-active-page="ops"] #adminVouchersSection .section-toolbar { align-items: end; flex-wrap: wrap; }
body[data-active-page="ops"] #adminVouchersSection .voucher-sort-control { margin-left: auto; }
@media (max-width: 760px) {
  body[data-active-page="pilot"] #pilotVoucherRequests .voucher-lifecycle-track { grid-template-columns: minmax(0,1fr); }
  body[data-active-page="pilot"] #pilotVoucherRequests .voucher-row-header { align-items: flex-start; }
  body[data-active-page="pilot"] #pilotVoucherRequests .voucher-next-action { grid-template-columns: minmax(0,1fr); gap: .2rem; }
  body[data-active-page="ops"] #adminVouchersSection .voucher-sort-control { width: 100%; margin-left: 0; }
}
/* Pilot voucher requests: one sortable, swipeable carousel rather than a tall list. */
body[data-active-page="pilot"] .pilot-voucher-carousel { min-width: 0; }
body[data-active-page="pilot"] .pilot-voucher-carousel-controls { display: flex; align-items: center; justify-content: flex-end; gap: .55rem; margin: .65rem 0 .4rem; color: #52686c; font-size: .76rem; font-weight: 750; }
body[data-active-page="pilot"] .pilot-voucher-carousel-controls button { min-width: 2.75rem; min-height: 2.75rem; padding: .35rem; font-size: 1rem; }
body[data-active-page="pilot"] .pilot-voucher-carousel-controls button:disabled { opacity: .42; cursor: default; }
body[data-active-page="pilot"] .pilot-voucher-carousel.is-static .pilot-voucher-carousel-controls { display: none; }
body[data-active-page="pilot"] #pilotVoucherRequests {
  display: flex;
  gap: .85rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: .2rem .1rem .85rem;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: .1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(23,51,58,.35) transparent;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}
body[data-active-page="pilot"] #pilotVoucherRequests > .pilot-voucher-request-card {
  flex: 0 0 calc((100% - .85rem) / 2);
  scroll-snap-align: start;
}
body[data-active-page="pilot"] #pilotVoucherRequests > .helper-copy { flex: 1 0 100%; }
body[data-active-page="pilot"] #pilotVoucherRequests.is-pointer-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
@media (max-width: 760px) {
  body[data-active-page="pilot"] #pilotVoucherRequests > .pilot-voucher-request-card { flex-basis: 86%; }
}
body[data-active-page="explore"] #bookingSection .booking-meeting-map .booking-location-map iframe {
  min-height: inherit;
}
body[data-active-page="explore"] #bookingSection .booking-secondary-grid--account-first {
  height: auto;
  margin-top: 0;
  padding: 0;
  border: 0;
}
body[data-active-page="explore"] #bookingSection .booking-date-column {
  display: flex;
  align-self: stretch;
  min-height: 0;
}
body[data-active-page="explore"] #bookingSection .booking-date-field {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-self: stretch;
  align-items: stretch;
  height: auto;
  min-height: 0;
}
body[data-active-page="explore"] #bookingSection .booking-calendar {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  min-height: 0;
}
body[data-active-page="explore"] #bookingSection .booking-calendar-grid {
  flex: 1 1 auto;
  grid-template-rows: repeat(6, minmax(2.7rem, 1fr));
  align-content: stretch;
}
body[data-active-page="explore"] #bookingSection .booking-calendar-day,
body[data-active-page="explore"] #bookingSection .booking-calendar-empty { min-height: clamp(2.55rem, 3vw, 3.1rem); }
@media (max-width: 760px) {
  body[data-active-page="explore"] #bookingSection .booking-choice-column { order: 2; }
  body[data-active-page="explore"] #bookingSection .booking-date-column { order: 1; min-height: 0; }
  body[data-active-page="explore"] #bookingSection .booking-date-field { min-height: 0; }
  body[data-active-page="explore"] #bookingSection .booking-meeting-map .booking-location-map { min-height: 11rem; }
  body[data-active-page="explore"] #bookingSection .booking-calendar-day,
  body[data-active-page="explore"] #bookingSection .booking-calendar-empty { min-height: 2.75rem; }
}
@media (min-width: 761px) {
  body[data-active-page="explore"] #bookingSection .booking-calendar { display: flex; flex-direction: column; }
  body[data-active-page="explore"] #bookingSection .booking-calendar-grid {
    flex: 1 1 auto;
    grid-template-rows: repeat(6, minmax(2.7rem, 1fr));
    align-content: stretch;
  }
  body[data-active-page="explore"] #bookingSection .booking-calendar-day,
  body[data-active-page="explore"] #bookingSection .booking-calendar-empty { min-height: 2.7rem; }
}
@media (max-width: 760px) {
  body[data-active-page="explore"] #bookingSection .booking-calendar-grid { grid-template-rows: repeat(6, minmax(2.75rem, 1fr)); }
}

/* Final scoped cascade for the merged Ops customer profile. */
#adminCustomerProfile .customer-account-state-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
#adminCustomerProfile .customer-relationship-metrics { grid-template-columns: repeat(4,minmax(0,1fr)); }
#adminCustomerProfile .admin-customer-flight-track { grid-template-columns: repeat(3,minmax(0,1fr)); }
@media (max-width: 760px) {
  #adminCustomerProfile .customer-account-state-grid, #adminCustomerProfile .customer-relationship-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #adminCustomerProfile .admin-customer-flight-track { grid-auto-flow: column; grid-auto-columns: min(84%,21rem); grid-template-columns: none; gap: .65rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-padding-inline: .25rem; padding: .1rem .1rem .7rem; margin-inline: -.1rem; -webkit-overflow-scrolling: touch; }
  #adminCustomerProfile .customer-account-state-grid > div:first-child, #adminCustomerProfile .customer-relationship-metrics > div:nth-child(2) { grid-column: 1 / -1; }
  #adminCustomerProfile .admin-customer-flight-item { scroll-snap-align: start; }
}

/* Ops customer queue: readable identity, last completed flight and flight-role filters. */
body[data-active-page="ops"] #adminCustomersSection .admin-customer-filters { display: grid; grid-template-columns: minmax(12rem,1.25fr) repeat(3,minmax(12rem,1fr)); align-items: end; gap: .65rem; margin: .8rem 0 .4rem; }
body[data-active-page="ops"] #adminCustomersSection .admin-customer-filters .field { min-width: 0; margin: 0; }
body[data-active-page="ops"] #adminCustomersSection .admin-customer-filters input, body[data-active-page="ops"] #adminCustomersSection .admin-customer-filters select { width: 100%; min-width: 0; }
body[data-active-page="ops"] #adminCustomersSection .customer-work-card { min-height: 11rem; align-content: space-between; gap: .65rem; }
body[data-active-page="ops"] #adminCustomersSection .customer-card-key-data { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem .8rem; min-width: 0; }
body[data-active-page="ops"] #adminCustomersSection .customer-card-key-data > div { display: grid; min-width: 0; gap: .12rem; }
body[data-active-page="ops"] #adminCustomersSection .customer-card-key-data small { color: var(--muted); font-size: .66rem; line-height: 1.25; }
body[data-active-page="ops"] #adminCustomersSection .customer-card-key-data strong { overflow-wrap: anywhere; color: #17333a; font-size: .76rem; line-height: 1.35; }
body[data-active-page="ops"] #adminCustomersSection .customer-card-statuses { min-width: 0; }
body[data-active-page="ops"] #adminCustomersSection .customer-card-statuses .status-pill { text-align: center; border-radius: .28rem; padding: .2rem .42rem; font-size: .62rem; line-height: 1.2; }
body[data-active-page="ops"] #adminCustomersSection .customer-card-open-profile { min-height: 2.1rem; padding: .32rem .58rem; font-size: .67rem; line-height: 1.15; }
@media (max-width: 900px) {
  body[data-active-page="ops"] #adminCustomersSection .admin-customer-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body[data-active-page="ops"] #adminCustomersSection .admin-customer-filters .field:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body[data-active-page="ops"] #adminCustomersSection .admin-customer-filters { grid-template-columns: minmax(0,1fr); }
  body[data-active-page="ops"] #adminCustomersSection .admin-customer-filters .field:first-child { grid-column: auto; }
  body[data-active-page="ops"] #adminCustomersSection .customer-work-card { min-height: 12rem; padding: .8rem; }
  body[data-active-page="ops"] #adminCustomersSection .customer-card-open-profile { min-height: 2.75rem; }
  body[data-active-page="ops"] #adminCustomersSection .customer-card-footer { gap: .45rem; }
  body[data-active-page="ops"] #adminCustomersSection, body[data-active-page="ops"] #adminCustomersSection .admin-customer-filters { scroll-margin-top: 4rem; }
}

/* Ops voucher requests follow the Pilot one-card-at-a-time workflow rail; lifecycle decisions remain Pilot-only. */
body[data-active-page="ops"] #adminVouchersSection .ops-voucher-carousel { min-width: 0; }
body[data-active-page="ops"] #adminVouchersSection .ops-voucher-carousel-controls { display: flex; align-items: center; justify-content: flex-end; gap: .55rem; margin: .55rem 0 .4rem; color: #52686c; font-size: .76rem; font-weight: 750; }
body[data-active-page="ops"] #adminVouchersSection .ops-voucher-carousel-controls button { min-width: 2.75rem; min-height: 2.75rem; padding: .35rem; font-size: 1rem; }
body[data-active-page="ops"] #adminVouchersSection .ops-voucher-carousel-controls button:disabled { opacity: .42; cursor: default; }
body[data-active-page="ops"] #adminVouchersSection .ops-voucher-carousel-controls.is-static { display: none; }
body[data-active-page="ops"] #adminVoucherRequestsList { display: flex; gap: .85rem; overflow-x: auto; overflow-y: hidden; padding: .2rem .1rem .85rem; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: .1rem; scrollbar-width: thin; scrollbar-color: rgba(23,51,58,.35) transparent; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; }
body[data-active-page="ops"] #adminVoucherRequestsList > [data-ops-voucher-request] { flex: 0 0 calc((100% - .85rem) / 2); scroll-snap-align: start; }
body[data-active-page="ops"] #adminVoucherRequestsList > .helper-copy { flex: 1 0 100%; }
body[data-active-page="ops"] #adminVouchersSection .ops-voucher-actions { opacity: 1; transform: none; }
@media (max-width: 760px) { body[data-active-page="ops"] #adminVoucherRequestsList > [data-ops-voucher-request] { flex-basis: 86%; } }

/* Issued voucher cards mirror Pilot's crisp lifecycle cards, with four
   comfortably wide cards per desktop row and a swipeable PWA rail. */
body[data-active-page="ops"] #adminVouchersList.ops-voucher-issued-grid {
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .6rem;
  align-items: stretch;
}
body[data-active-page="ops"] #adminVouchersList .ops-voucher-issued-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  min-width: 0;
  padding: .8rem;
  border: 1px solid rgba(23,51,58,.16);
  border-radius: .55rem;
  background: rgba(255,255,255,.88);
  box-shadow: 0 5px 16px rgba(23,49,61,.08);
}
body[data-active-page="ops"] #adminVouchersList .ops-voucher-issued-card[hidden] { display: none; }
body[data-active-page="ops"] #adminVouchersList .ops-voucher-issued-card .ops-voucher-copy { display: grid; min-width: 0; gap: .65rem; }
body[data-active-page="ops"] #adminVouchersList .ops-voucher-issued-card .voucher-row-header { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
body[data-active-page="ops"] #adminVouchersList .ops-voucher-issued-card .voucher-row-identity { display: grid; min-width: 0; gap: .16rem; }
body[data-active-page="ops"] #adminVouchersList .ops-voucher-issued-card .voucher-row-identity strong { overflow-wrap: anywhere; color: #17333a; font-size: .84rem; }
body[data-active-page="ops"] #adminVouchersList .ops-voucher-issued-card .voucher-row-status { display: grid; justify-items: end; flex: 0 0 auto; }
body[data-active-page="ops"] #adminVouchersList .ops-voucher-issued-card .voucher-row-context { display: grid; gap: .3rem; min-width: 0; padding: .5rem .55rem; border-top: 1px solid rgba(23,51,58,.1); border-bottom: 1px solid rgba(23,51,58,.1); color: #607477; font-size: .72rem; }
body[data-active-page="ops"] #adminVouchersList .ops-voucher-issued-card .voucher-row-context strong { color: #294b50; overflow-wrap: anywhere; }
body[data-active-page="ops"] #adminVouchersList .ops-voucher-issued-card [data-voucher-action] { justify-self: start; margin-top: .05rem; min-height: 2.25rem; padding: .4rem .62rem; border-radius: .35rem; font-size: .7rem; }
body[data-active-page="ops"] #adminVouchersSection .ops-voucher-expand { margin-top: .65rem; }
@media (max-width: 1100px) {
  body[data-active-page="ops"] #adminVouchersList.ops-voucher-issued-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body[data-active-page="ops"] #adminVouchersList.ops-voucher-issued-grid { grid-template-columns: 1fr; }
  body[data-pwa-app="true"][data-active-page="ops"] #adminVouchersList.ops-voucher-issued-grid {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: .2rem .1rem .75rem;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }
  body[data-pwa-app="true"][data-active-page="ops"] #adminVouchersList .ops-voucher-issued-card {
    flex: 0 0 min(78vw, 15rem);
    scroll-snap-align: start;
  }
  body[data-pwa-app="true"][data-active-page="ops"] #adminVouchersList.ops-voucher-issued-grid.is-expanded {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    grid-template-columns: none;
    grid-auto-columns: min(78vw, 15rem);
    overflow-x: auto;
  }
}

/* Ops navigation and PWA density: keep the family labels, but always expose
   their actual destinations underneath. The mobile rail scrolls as one flat
   strip instead of hiding links inside a clipped family row. */
body[data-active-page="ops"] .ops-section-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: .35rem;
  padding: .35rem;
  border-radius: .6rem;
  box-shadow: none;
}
body[data-active-page="ops"] .ops-section-tabs .ops-tab-zone,
body[data-active-page="ops"] .ops-section-tabs .ops-tab-zone-families { display: contents; }
body[data-active-page="ops"] .ops-section-tabs .ops-tab-family {
  display: grid;
  gap: .2rem;
  min-width: 0;
  padding: .3rem .35rem .35rem;
  border: 0;
  border-top: 2px solid rgba(45,159,135,.5);
}
body[data-active-page="ops"] .ops-section-tabs .ops-tab-family-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: .12rem;
  min-width: 0;
}
body[data-active-page="ops"] .ops-section-tabs .ops-tab-family-links a {
  display: block;
  min-width: 0;
  padding: .28rem .38rem;
  border: 1px solid rgba(23,49,61,.1);
  border-radius: .35rem;
  background: rgba(255,255,255,.5);
  font-size: .62rem;
  line-height: 1.15;
  letter-spacing: .045em;
  text-transform: none;
}
body[data-active-page="ops"] .ops-section-tabs .ops-tab-family-links a:hover,
body[data-active-page="ops"] .ops-section-tabs .ops-tab-family-links a:focus-visible {
  background: rgba(255,255,255,.9);
}

@media (max-width: 760px) {
  body[data-active-page="ops"] .ops-section-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding: .3rem;
    margin-bottom: .7rem;
  }
  body[data-active-page="ops"] .ops-section-tabs::-webkit-scrollbar { display: none; }
  body[data-active-page="ops"] .ops-section-tabs .ops-tab-family {
    flex: 0 0 9.2rem;
    min-height: 100%;
    border-right: 1px solid rgba(23,49,61,.1);
  }
  body[data-active-page="ops"] .ops-section-tabs .ops-tab-family:last-child { border-right: 0; }
  body[data-active-page="ops"] #adminPanel > .ops-header,
  body[data-active-page="ops"] .ops-primary-workspace,
  body[data-active-page="ops"] #adminPanel > .ops-section-tabs { width: calc(100% - .75rem); }
  body[data-active-page="ops"] #adminPanel > .ops-header { padding: .15rem 0 .55rem; margin-bottom: .35rem; }
  body[data-active-page="ops"] #adminPanel > .ops-header h3 { font-size: 1.25rem; }
  body[data-active-page="ops"] .ops-primary-workspace { gap: .55rem; }
  body[data-active-page="ops"] .ops-primary-workspace > * { border-radius: .55rem; box-shadow: none !important; }
  body[data-active-page="ops"] .admin-analytics-section,
  body[data-active-page="ops"] .ops-notifications-surface,
  body[data-active-page="ops"] #adminBookedCard { padding: .75rem; }
  body[data-active-page="ops"] .admin-analytics-section .section-toolbar,
  body[data-active-page="ops"] .ops-notifications-surface .section-toolbar { gap: .45rem; align-items: start; }
  body[data-active-page="ops"] .admin-analytics-section h3,
  body[data-active-page="ops"] .ops-notifications-surface h3 { font-size: 1.05rem; }
  body[data-active-page="ops"] .admin-analytics-section .helper-copy,
  body[data-active-page="ops"] .ops-notifications-purpose { margin: .35rem 0; font-size: .76rem; line-height: 1.35; }
  body[data-active-page="ops"] .admin-analytics-summary { gap: .35rem; margin: .55rem 0; }
  body[data-active-page="ops"] .admin-analytics-summary .analytics-stat { padding: .5rem; border-radius: .4rem; }
  body[data-active-page="ops"] .analytics-stat strong { font-size: 1.2rem; }
  body[data-active-page="ops"] #settingsSection .settings-group,
  body[data-active-page="ops"] .takeoff-editor-group { padding: .7rem; border-radius: .55rem; box-shadow: none; }
}

/* Mobile Ops navigation correction: prevent percentage min-height from
   stretching tab families to the height of the workspace. */
@media (max-width: 760px) {
  body[data-active-page="ops"] .ops-section-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    align-content: start;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  body[data-active-page="ops"] .ops-section-tabs .ops-tab-family {
    align-self: start;
    height: auto;
    min-height: 0;
  }
  body[data-active-page="ops"] .ops-section-tabs .ops-tab-family-links a {
    min-height: 1.85rem;
  }
}


/* Final Ops PWA density pass: keep every destination visible in a compact
   two-column map and keep operational actions beside their section headings. */
@media (max-width: 760px) {
  body[data-active-page="ops"] #adminPanel > .ops-section-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .2rem .45rem;
    width: calc(100% - .75rem);
    margin: 0 auto .55rem;
    padding: .35rem .3rem .4rem;
    min-height: 0;
    height: auto;
    align-items: start;
    align-content: start;
    overflow: visible;
  }
  body[data-active-page="ops"] #adminPanel > .ops-section-tabs .ops-tab-family {
    display: flex;
    min-width: 0;
    min-height: 0;
    height: auto;
    padding: .16rem .22rem .2rem;
    gap: .08rem;
    align-self: start;
    border-top-width: 1px;
  }
  body[data-active-page="ops"] #adminPanel > .ops-section-tabs .ops-tab-family-label {
    min-height: 1.15rem;
    padding: .1rem .28rem;
    border-radius: .55rem;
    font-size: .52rem;
    letter-spacing: .07em;
    line-height: 1.1;
  }
  body[data-active-page="ops"] #adminPanel > .ops-section-tabs .ops-tab-family-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: .02rem;
    margin-top: 0;
  }
  body[data-active-page="ops"] #adminPanel > .ops-section-tabs .ops-tab-family-links a {
    min-height: 1.5rem;
    padding: .2rem .28rem;
    border: 0;
    border-bottom: 1px solid rgba(23,49,61,.08);
    border-radius: .18rem;
    background: transparent;
    font-size: .58rem;
    font-weight: 750;
    line-height: 1.1;
  }
  body[data-active-page="ops"] #adminPanel > .ops-primary-workspace { gap: .4rem; }
  body[data-active-page="ops"] #adminPanel > .ops-primary-workspace > .card,
  body[data-active-page="ops"] #adminPanel > .ops-primary-workspace > section {
    padding: .62rem;
    border-radius: .65rem;
  }
  body[data-active-page="ops"] #adminPanel .section-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .35rem;
    align-items: center;
  }
  body[data-active-page="ops"] #adminPanel .section-toolbar .inline-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: .25rem;
    justify-content: flex-end;
  }
  body[data-active-page="ops"] #adminPanel .section-toolbar .button,
  body[data-active-page="ops"] #adminPanel .inline-actions .button,
  body[data-active-page="ops"] #adminPanel .button-small {
    min-height: 1.8rem;
    padding: .25rem .48rem;
    border-radius: .35rem;
    font-size: .61rem;
    letter-spacing: .02em;
  }
  body[data-active-page="ops"] #adminPanel .section-toolbar h3 { font-size: .92rem; line-height: 1.1; }
  body[data-active-page="ops"] #adminPanel .section-toolbar .eyebrow { margin-bottom: .1rem; font-size: .56rem; }
  body[data-active-page="ops"] #adminPanel .helper-copy { margin: .3rem 0; font-size: .68rem; line-height: 1.25; }
  body[data-active-page="ops"] #adminPanel .status-pill { min-height: 1.45rem; padding: .18rem .4rem; border-radius: .4rem; font-size: .58rem; }
  body[data-active-page="ops"] #adminPanel > .ops-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .5rem;
    align-items: center;
  }
  body[data-active-page="ops"] #adminPanel > .ops-header .admin-topbar-actions { justify-self: end; }
  body[data-active-page="ops"] #adminPanel > .ops-header .admin-topbar-actions .button {
    min-height: 1.8rem;
    padding: .25rem .55rem;
    border-radius: .35rem;
    font-size: .62rem;
  }
  body[data-active-page="ops"] #adminPanel .ops-collapse-toggle {
    width: 1.65rem;
    min-width: 1.65rem;
    height: 1.65rem;
    min-height: 1.65rem !important;
    padding: 0 0 .08rem !important;
  }
}

/* Ops mobile media cards: the preview frame must be fully occupied by the nested asset. */
#adminFlightMediaSection .media-original-preview { line-height: 0; }
#adminFlightMediaSection .media-original-preview > img,
#adminFlightMediaSection .media-original-preview > video { width: 100%; height: 100% !important; min-height: 0; display: block; object-fit: contain; }
@media (max-width: 760px) { #adminFlightMediaSection .media-original-preview { height: min(58vw, 18rem); } }

/* Ops media cards: use a single explicit mobile flow; implicit grid tracks create blank holes. */
@media (max-width: 760px) {
  #adminFlightMediaSection .admin-media-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .55rem;
  }
  #adminFlightMediaSection .admin-media-row > .media-card-asset,
  #adminFlightMediaSection .admin-media-row > .media-card-details,
  #adminFlightMediaSection .admin-media-row > .media-execution-plan {
    width: 100%;
    min-height: 0;
    margin: 0;
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
  }
  #adminFlightMediaSection .admin-media-row > .media-card-details { padding: 0 .15rem; }
  #adminFlightMediaSection .admin-media-row > .media-execution-plan { padding: .1rem 0 0 .15rem; }
  #adminFlightMediaSection .media-original-preview,
  #adminFlightMediaSection .media-original-preview > img,
  #adminFlightMediaSection .media-original-preview > video {
    height: min(58vw, 18rem) !important;
    min-height: 0 !important;
  }
}

/* Mobile Ops correction: one centered card, content-sized rows, and one compact network picker above the previews. */
@media (max-width: 760px) {
  body[data-active-page="ops"] #adminPanel,
  body[data-active-page="ops"] #adminFlightMediaSection,
  #adminFlightMediaSection .admin-media-list,
  #adminFlightMediaSection .admin-media-row { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
  #adminFlightMediaSection .admin-media-list { display: block !important; overflow: visible; margin-inline: auto; }
  #adminFlightMediaSection .admin-media-row { display: flex !important; flex: none !important; flex-direction: column; align-items: stretch; gap: .55rem; height: auto !important; min-height: 0 !important; margin-inline: auto; overflow: visible; }
  #adminFlightMediaSection .admin-media-row > .media-card-asset,
  #adminFlightMediaSection .admin-media-row > .media-card-details,
  #adminFlightMediaSection .admin-media-row > .media-execution-plan { width: 100%; max-width: 100%; min-height: 0 !important; height: auto !important; grid-row: auto !important; grid-column: auto !important; }
  #adminFlightMediaSection .media-execution-plan,
  #adminFlightMediaSection .media-plan-list,
  #adminFlightMediaSection .media-plan-stage,
  #adminFlightMediaSection .media-plan-stage-copy,
  #adminFlightMediaSection .media-plan-stage-actions { min-height: 0 !important; height: auto !important; align-content: start; }
  #adminFlightMediaSection .media-inline-drafts { display: grid; grid-template-columns: 1fr; width: 100%; max-width: 100%; box-sizing: border-box; overflow: hidden; }
  #adminFlightMediaSection .media-draft-target-picker { display: grid; gap: .25rem; grid-column: 1 / -1; padding: .35rem .4rem; border: 1px solid rgba(40,127,109,.2); border-radius: .45rem; background: rgba(255,255,255,.72); }
  #adminFlightMediaSection .media-draft-target-picker-label { color: #286d61; font-size: .62rem; font-weight: 850; line-height: 1.15; }
  #adminFlightMediaSection .media-draft-target-picker .media-target-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem; }
  #adminFlightMediaSection .media-draft-target-picker .media-target-option { min-width: 0; min-height: 1.75rem; padding: .2rem .25rem; border: 1px solid rgba(40,127,109,.16); border-radius: .3rem; background: #fff; font-size: .58rem; line-height: 1; }
  #adminFlightMediaSection .media-draft-target-picker .media-target-option input { width: .72rem; height: .72rem; }
  #adminFlightMediaSection .media-inline-draft-row { width: 100%; max-width: 100%; box-sizing: border-box; }
}

/* Ops mobile media queue is a horizontal swipe carousel. Each submission is
   one contained card; do not turn the queue into a vertical page wall. */
@media (max-width: 760px) {
  #adminFlightMediaSection .admin-media-list {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    gap: .75rem;
    padding: .1rem .1rem .75rem;
    margin-inline: -.1rem;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: .25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  #adminFlightMediaSection .admin-media-row {
    display: grid !important;
    flex: 0 0 min(88vw, 27rem) !important;
    align-self: flex-start;
    align-content: start;
    height: max-content;
    min-height: 0;
    width: min(88vw, 27rem);
    max-width: min(88vw, 27rem);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: visible;
  }
}

/* Pilot registration licence details: compact first row, then a clear three-field identity row. */
body[data-active-page="pilot"] #pilotRegistrationForm .pilot-license-fields {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: .75rem;
  align-items: start;
}
body[data-active-page="pilot"] #pilotRegistrationForm .pilot-years-field { grid-column: 1 / 3; }
body[data-active-page="pilot"] #pilotRegistrationForm .pilot-license-photo-field { grid-column: 7 / -1; }
body[data-active-page="pilot"] #pilotRegistrationForm .pilot-license-number-field { grid-column: 1 / 7; }
body[data-active-page="pilot"] #pilotRegistrationForm .pilot-birth-date-field { grid-column: 7 / 9; }
body[data-active-page="pilot"] #pilotRegistrationForm .pilot-city-field { grid-column: 9 / 11; }
body[data-active-page="pilot"] #pilotRegistrationForm .pilot-country-field { grid-column: 11 / -1; }
body[data-active-page="pilot"] #pilotRegistrationForm .pilot-license-fields input[type="file"] { min-height: 3.2rem; }
body[data-active-page="pilot"] #pilotRegistrationForm .field:has(> input[required]) > span::after,
body[data-active-page="pilot"] #pilotRegistrationForm .field:has(> textarea[required]) > span::after,
body[data-active-page="pilot"] #pilotRegistrationForm .field:has(> select[required]) > span::after {
  content: ' *';
  color: #c75e3d;
  font-weight: 900;
}
@media (max-width: 760px) {
  body[data-active-page="pilot"] #pilotRegistrationForm .pilot-license-fields { grid-template-columns: 1fr; }
  body[data-active-page="pilot"] #pilotRegistrationForm .pilot-license-fields .field { grid-column: 1 / -1; }
}
.pilot-registration-layout { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr); gap:1rem; align-items:start; }
.pilot-auth-card:has(#pilotRegistrationLayout:not(.hidden)) { grid-column:1 / -1; }
.pilot-registration-layout > .stacked-form { min-width:0; }
.pilot-booking-preview { position:sticky; top:1rem; display:grid; gap:.7rem; }
.pilot-booking-preview-head { display:flex; align-items:flex-start; justify-content:space-between; gap:.75rem; }
.pilot-booking-preview-head h3 { margin:.15rem 0 0; }
.pilot-preview-card { overflow:hidden; border:1px solid #b8ddd8; border-radius:18px; background:#fbfaf5; box-shadow:0 12px 30px rgba(28,58,61,.12); }
.pilot-preview-price-row { display:grid; grid-template-columns:repeat(3,1fr); border-bottom:1px solid #b8ddd8; background:#f4f5ed; }
.pilot-preview-price-row > div { display:grid; gap:.15rem; padding:.8rem .7rem; border-right:1px solid #d7e4dc; }
.pilot-preview-price-row > div:last-child { border-right:0; }
.pilot-preview-price-row small,.pilot-preview-included small { color:#6b7978; font-size:.58rem; font-weight:900; letter-spacing:.1em; }
.pilot-preview-price-row strong { color:#202829; font-size:1.22rem; line-height:1; }
.pilot-preview-price-row span { color:#6b7978; font-size:.68rem; }
.pilot-preview-identity { display:flex; align-items:center; gap:.65rem; padding:1rem 1rem .45rem; }
.pilot-preview-avatar { display:grid; flex:0 0 48px; width:48px; height:48px; place-items:center; border:2px solid #fff; border-radius:50%; background:#b7d8d2 center/cover no-repeat; color:#19545b; font-weight:900; box-shadow:0 3px 10px rgba(30,70,70,.16); }
.pilot-preview-avatar.has-image { color:transparent; }
.pilot-preview-identity div:last-child { display:grid; gap:.12rem; }
.pilot-preview-identity small,.pilot-preview-profile > p { color:#168b83; font-size:.68rem; font-weight:900; letter-spacing:.1em; }
.pilot-preview-identity strong { font-size:1.25rem; text-transform:uppercase; }
.pilot-preview-identity span { color:#6d7778; font-size:.78rem; }
.pilot-preview-tags,.pilot-preview-included { display:flex; flex-wrap:wrap; gap:.35rem; padding:.25rem 1rem .85rem; }
.pilot-preview-tags span,.pilot-preview-included span,.pilot-preview-chips span { border:1px solid #e3cbc0; border-radius:999px; padding:.26rem .48rem; background:#fffdfa; color:#465052; font-size:.68rem; font-weight:700; }
.pilot-preview-profile { margin:.2rem .65rem .65rem; padding:.9rem .8rem; border:1px solid #e4d2c7; border-radius:14px; background:#fffefa; }
.pilot-preview-profile > p { margin:0 0 .55rem; }
.pilot-preview-profile > div { color:#3d4748; font-size:.8rem; line-height:1.4; }
.pilot-preview-profile > strong { display:block; margin:.7rem 0 .3rem; font-size:.75rem; }

/* Pilot registration polish: give both surfaces a calm, intentional frame and
   enough breathing room for the live preview to remain legible while fields
   are being selected. */
body[data-active-page="pilot"] #pilotRegistrationLayout:not(.hidden) {
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) {
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 2.25rem);
  border: 1px solid rgba(67, 111, 109, .28);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 253, 248, .98), rgba(248, 241, 226, .94));
  box-shadow: 0 16px 36px rgba(74, 61, 48, .12);
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .eyebrow {
  margin-bottom: .45rem;
  color: #168b83;
  font-size: .78rem;
  letter-spacing: .12em;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > h2 {
  margin: 0 0 1.5rem;
  color: #213b3d;
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  line-height: 1.08;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .field,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .field-grid,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-suggestion-group,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-license-fields,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-voucher-fieldset {
  margin-bottom: 1.1rem;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .field-grid {
  gap: 1rem;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .field > span {
  margin-bottom: .4rem;
  font-size: .86rem;
  font-weight: 800;
}
body[data-active-page="pilot"] #pilotBookingPreview {
  margin-top: clamp(2rem, 8vh, 6rem);
  padding: clamp(1.1rem, 2vw, 1.6rem);
  border: 1px solid rgba(67, 111, 109, .28);
  border-radius: 24px;
  background: rgba(247, 251, 246, .72);
  box-shadow: 0 16px 36px rgba(74, 61, 48, .1);
}
body[data-active-page="pilot"] #pilotBookingPreview .pilot-booking-preview-head {
  padding: 0 .2rem .35rem;
}
body[data-active-page="pilot"] #pilotBookingPreview .pilot-booking-preview-head .eyebrow {
  margin-bottom: .35rem;
  color: #168b83;
  font-size: .82rem;
  letter-spacing: .12em;
}
body[data-active-page="pilot"] #pilotBookingPreview .pilot-booking-preview-head h3 {
  color: #213b3d;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.12;
}
body[data-active-page="pilot"] #pilotBookingPreview .pilot-preview-card {
  border-radius: 20px;
}
body[data-active-page="pilot"] #pilotBookingPreview .pilot-preview-price-row strong,
body[data-active-page="pilot"] #pilotBookingPreview .pilot-preview-identity strong {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}
body[data-active-page="pilot"] #pilotBookingPreview .pilot-preview-profile > div,
body[data-active-page="pilot"] #pilotBookingPreview .pilot-preview-note {
  font-size: .9rem;
  line-height: 1.55;
}
@media (max-width: 900px) {
  body[data-active-page="pilot"] #pilotBookingPreview {
    position: static;
    margin-top: .25rem;
  }
}
.pilot-preview-chips { display:flex; flex-wrap:wrap; gap:.3rem; }
.pilot-preview-profile ul { margin:.25rem 0 0 1rem; padding:0; color:#727878; font-size:.76rem; }
.pilot-preview-placeholder { color:#9aa1a0 !important; font-style:italic; }
.pilot-preview-achievements-label { margin-top:.65rem !important; }
.pilot-preview-included { margin:0 .65rem .65rem; padding:.65rem; border:1px solid #e4cfc5; border-radius:12px; background:#fff0eb; }
.pilot-preview-included small { width:100%; }
.pilot-preview-note { margin:0; color:#728080; font-size:.72rem; line-height:1.4; }
.pilot-suggestion-group { display:grid; gap:.35rem; margin:-.35rem 0 .85rem; padding:.7rem; border:1px dashed #c7d9d4; border-radius:12px; background:#f5faf7; }
.pilot-suggestion-group > strong { font-size:.78rem; }
.pilot-suggestion-group > small { color:#718080; font-size:.7rem; }
.pilot-suggestion-list { display:flex; flex-wrap:wrap; gap:.35rem; }
.pilot-suggestion { border:1px solid #d7e0dd; border-radius:999px; padding:.32rem .55rem; background:#fff; color:#667171; font-size:.7rem; cursor:pointer; filter:blur(.65px); opacity:.62; transition:filter .15s ease,opacity .15s ease,background .15s ease,color .15s ease; }
.pilot-suggestion:hover,.pilot-suggestion:focus-visible { filter:none; opacity:1; }
.pilot-suggestion.is-selected { filter:none; opacity:1; border-color:#248e86; background:#e2f3ed; color:#155d5a; }
@media (max-width: 900px) { .pilot-registration-layout { grid-template-columns:1fr; } .pilot-booking-preview { position:static; } }
@media (max-width: 520px) { .pilot-preview-price-row strong { font-size:1rem; } .pilot-preview-price-row span { font-size:.6rem; } .pilot-preview-price-row > div { padding:.65rem .45rem; } }

/* Pilot onboarding compact field rhythm and paired editing groups. */
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) { gap: .7rem; }
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .field,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .field-grid,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-license-fields,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-bio-achievements-row,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-voucher-fieldset { margin-bottom: .55rem; }
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .field-grid { gap: .65rem; }
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .field { gap: .3rem; }
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .field > span { margin-bottom: .05rem; }
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) input,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) select,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) textarea { padding: .7rem .8rem; }
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) textarea { min-height: 7rem; }
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-field-with-suggestions { display: grid; align-content: start; gap: .45rem; min-width: 0; }
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-field-with-suggestions .pilot-suggestion-group { width: 100%; margin: 0; }
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-suggestion-group { padding: .55rem; gap: .25rem; }
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-suggestion-group > small { font-size: .68rem; }
body[data-active-page="pilot"] #pilotBookingPreview { margin-top: clamp(8rem, 18vh, 14rem); }
@media (max-width: 900px) { body[data-active-page="pilot"] #pilotBookingPreview { margin-top: .25rem; } }
@media (max-width: 600px) {
  body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .field-grid { grid-template-columns: 1fr; }
  body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-field-with-suggestions { grid-column: 1 / -1; }
}

/* Pilot registration redesign: one clear workspace, an even two-column form,
   and a preview that starts at the same visual line as the form. */
body[data-active-page="pilot"] #pilotAuthCard:has(#pilotRegistrationForm:not(.hidden)) {
  grid-column: 1 / -1;
  width: min(100%, 1180px);
  justify-self: center;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body[data-active-page="pilot"] #pilotAuthCard:has(#pilotRegistrationForm:not(.hidden)) > .section-toolbar,
body[data-active-page="pilot"] #pilotAuthCard:has(#pilotRegistrationForm:not(.hidden)) > .helper-copy,
body[data-active-page="pilot"] #pilotAuthCard:has(#pilotRegistrationForm:not(.hidden)) > .pilot-access-grid {
  display: none;
}
body[data-active-page="pilot"] #pilotRegistrationLayout:has(#pilotRegistrationForm:not(.hidden)) {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(21rem, .85fr);
  align-items: start;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  margin: 0;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
  row-gap: .9rem;
  align-content: start;
  margin: 0;
  padding: clamp(1.25rem, 2.2vw, 2rem);
  border: 1px solid rgba(32, 96, 95, .18);
  border-radius: 22px;
  background: #fffdf8;
  box-shadow: 0 18px 42px rgba(31, 57, 59, .11);
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .eyebrow,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > h2,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > #pilotClubInviteContext,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .inline-feedback,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > button[type="submit"] {
  grid-column: 1 / -1;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .eyebrow { margin: 0; }
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > h2 {
  margin: -.35rem 0 .2rem;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  letter-spacing: -.03em;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .field,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .field-grid,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-license-fields,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-voucher-fieldset {
  min-width: 0;
  margin: 0;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .field-grid,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-bio-achievements-row,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-contact-row,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-title-password-row,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-language-qualification-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-column: 1 / -1;
  gap: 1rem;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .field { min-width: 0; gap: .35rem; }
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .field > span {
  margin: 0;
  color: #254447;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .01em;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) input,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) select,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) textarea {
  width: 100%;
  min-width: 0;
  border-color: #c6d9d5;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) input,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) select { min-height: 2.8rem; padding: .65rem .75rem; }
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) textarea { min-height: 6.8rem; padding: .7rem .75rem; resize: vertical; }
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-field-with-suggestions { gap: .55rem; }
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-suggestion-group { margin: 0; padding: .65rem; border-radius: 10px; }
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-license-fields {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e2ece8;
  border-radius: 14px;
  background: #f7faf6;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-license-fields .field { grid-column: auto; }
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-license-fields .pilot-years-field { grid-column: span 1; }
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-voucher-fieldset {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e2ece8;
  border-radius: 14px;
  background: #f7faf6;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-voucher-fieldset legend { grid-column: 1 / -1; padding: 0 .35rem; color: #254447; font-weight: 850; }
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-voucher-fieldset .voucher-choice-toggle { align-self: center; }
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > button[type="submit"] { width: 100%; min-height: 3.1rem; margin-top: .15rem; }
body[data-active-page="pilot"] #pilotBookingPreview {
  position: relative;
  top: auto;
  margin: 25rem 0 0;
  padding: 1rem;
  border: 1px solid rgba(32, 96, 95, .18);
  border-radius: 22px;
  background: #f4f8f4;
  box-shadow: 0 18px 42px rgba(31, 57, 59, .09);
}
body[data-active-page="pilot"] #pilotBookingPreview .pilot-booking-preview-head { min-height: 3.3rem; align-items: center; }
body[data-active-page="pilot"] #pilotBookingPreview .pilot-booking-preview-head h3 { font-size: 1.35rem; }
body[data-active-page="pilot"] #pilotBookingPreview .pilot-preview-card { border-radius: 15px; box-shadow: 0 8px 20px rgba(28,58,61,.08); }
body[data-active-page="pilot"] #pilotBookingPreview .pilot-preview-price-row strong { font-size: 1.05rem; }
body[data-active-page="pilot"] #pilotBookingPreview .pilot-preview-identity strong { font-size: 1.1rem; }
body[data-active-page="pilot"] #pilotBookingPreview .pilot-preview-profile > div,
body[data-active-page="pilot"] #pilotBookingPreview .pilot-preview-note { font-size: .8rem; }
@media (max-width: 980px) {
  body[data-active-page="pilot"] #pilotRegistrationLayout:has(#pilotRegistrationForm:not(.hidden)) { grid-template-columns: 1fr; }
  body[data-active-page="pilot"] #pilotBookingPreview { position: static; margin: .25rem 0 0; }
}
@media (max-width: 620px) {
  body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden),
  body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .field-grid,
  body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-bio-achievements-row,
  body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-contact-row,
  body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-title-password-row,
  body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-language-qualification-row,
  body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-license-fields,
  body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-voucher-fieldset { grid-template-columns: 1fr; }
  body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-voucher-fieldset legend { grid-column: auto; }
}

/* Keep the two public-proof groups together: each textarea owns the suggestions immediately below it. */
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-qualification-achievements-row {
  align-items: start;
}
body[data-active-page="pilot"] #pilotAuthCard:has(#pilotRegistrationForm:not(.hidden)) > #adminAuthCard,
body[data-active-page="pilot"] #pilotAuthCard:has(#pilotRegistrationForm:not(.hidden)) ~ #adminAuthCard {
  display: none;
}
body[data-active-page="pilot"] #pilotSection:has(#pilotRegistrationForm:not(.hidden)) #adminAuthCard {
  display: none;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-qualification-achievements-row .pilot-field-with-suggestions {
  display: grid;
  align-content: start;
  gap: .55rem;
  min-width: 0;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-bio-row {
  grid-template-columns: 1fr;
}
@media (max-width: 620px) {
  body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-qualification-achievements-row {
    grid-template-columns: 1fr;
  }
}

/* Final owner correction: keep photo and languages as equal general-info
   columns, keep experience out of the licence block, and make voucher controls
   read as one calm row instead of three cramped columns. */
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-contact-row {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.35fr) minmax(6.5rem, .65fr);
  align-items: start;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-profile-photo-field,
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-language-row {
  grid-column: auto;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-language-row {
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-profile-photo-field input[type="file"] {
  min-height: 3.55rem;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-language-row textarea {
  min-height: 5.55rem;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-voucher-fieldset {
  grid-template-columns: minmax(7rem, 8rem) minmax(0, 1fr);
  gap: .75rem 1rem;
  align-items: start;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-voucher-fieldset .voucher-choice-toggle {
  grid-column: 1 / -1;
  white-space: nowrap;
}
@media (max-width: 620px) {
  body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-contact-row,
  body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-profile-photo-field,
  body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-language-row,
  body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-voucher-fieldset {
    grid-template-columns: 1fr;
  }
  body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-voucher-fieldset .voucher-choice-toggle {
    grid-column: auto;
    white-space: normal;
  }
}

/* Latest owner reference: email and phone share the first row; experience
   starts the next row as the compact field shown in the reference. Keep the
   checkbox visually small while its label row remains easy to activate. */
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-contact-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) > .pilot-contact-row .pilot-years-field {
  grid-column: 1;
  max-width: 8rem;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-voucher-fieldset .voucher-choice-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .65rem;
  min-height: 2.75rem;
  padding: .55rem .65rem;
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-voucher-fieldset .voucher-choice-toggle input[type="checkbox"] {
  flex: 0 0 1.25rem;
  width: 1.25rem;
  min-width: 1.25rem;
  height: 1.25rem;
  min-height: 1.25rem;
  margin: 0;
  padding: 0;
  accent-color: var(--green);
}
body[data-active-page="pilot"] #pilotRegistrationForm:not(.hidden) .pilot-voucher-fieldset .voucher-choice-toggle span {
  flex: 0 1 auto;
}

/* Keep the new email QA panel within the Ops settings carousel's intrinsic
   grid track; long addresses and action labels must not widen the card. */
body[data-active-page="ops"] #settingsSection .ops-settings-track {
  min-width: 0;
  max-width: 100%;
  grid-template-columns: minmax(0, 1fr);
}
body[data-active-page="ops"] #settingsSection .ops-settings-track > .settings-group,
body[data-active-page="ops"] #settingsSection .settings-group-email,
body[data-active-page="ops"] #settingsSection .settings-group-email .email-status-card,
body[data-active-page="ops"] #settingsSection .settings-group-email .card-subtle,
body[data-active-page="ops"] #settingsSection .settings-group-email .field-grid,
body[data-active-page="ops"] #settingsSection .settings-group-email .field {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body[data-active-page="ops"] #settingsSection .settings-group-email code {
  overflow-wrap: anywhere;
}
body[data-active-page="ops"] #emailInboxTestFeedback pre {
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  body[data-active-page="ops"] #settingsSection .settings-group-email .email-test-grid,
  body[data-active-page="ops"] #settingsSection .settings-group-email .field-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  body[data-active-page="ops"] #settingsSection .email-test-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }
  body[data-active-page="ops"] #settingsSection .email-test-actions .button {
    width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Final assigned-takeoff carousel contract: the track is a three-column
   frame, not a flex rail. Keep only the active card and its two neighbours
   in the frame; navigation changes the rendered active item. */
body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-track {
  display: grid !important;
  grid-column: 1 / -1;
  grid-row: 2;
  grid-template-columns: minmax(8rem, .42fr) minmax(0, 1.72fr) minmax(8rem, .42fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  gap: .9rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  padding: 0;
  scrollbar-width: none;
}
body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-track::-webkit-scrollbar { display: none; }
body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-track > .pilot-carousel-neighbor,
body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-track > .pilot-carousel-card {
  grid-row: 1 !important;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  flex: none;
}
body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-track > .pilot-carousel-card { grid-column: 2 !important; }
body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-track > .pilot-carousel-neighbor-previous { grid-column: 1 !important; }
body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-track > .pilot-carousel-neighbor-next { grid-column: 3 !important; }
body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-track > .pilot-carousel-neighbor-spacer { display: none; }
body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-nav .carousel-arrow {
  display: grid !important;
  width: 2.75rem !important;
  height: 2.75rem !important;
}
@media (max-width: 760px) {
  body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-track {
    grid-template-columns: 2.7rem minmax(0, 1fr) 2.7rem;
    gap: .4rem;
    margin: 0;
    padding: 0;
  }
  body[data-active-page="pilot"] .pilot-carousel-featured .pilot-carousel-track > .pilot-carousel-neighbor {
    padding: .45rem .3rem;
  }
}

.admin-ga4-panel {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line, #d6e2df);
}
/* Ops analytics: two compact, clearly separated read-only workspaces. */
.admin-analytics-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .85fr);
  gap: 1rem;
  margin-top: 1rem;
  align-items: stretch;
}
.admin-analytics-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(23, 51, 58, .16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 8px 22px rgba(23, 51, 58, .06);
}
.admin-analytics-card .section-toolbar { margin-bottom: .55rem; }
.admin-analytics-card .section-toolbar h4 { margin: 0; }
.admin-analytics-card .status-pill { flex: 0 0 auto; }
.admin-analytics-filters {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  margin: .8rem 0;
}
.admin-analytics-filters .field { gap: .25rem; min-width: 0; }
.admin-analytics-filters input,
.admin-analytics-filters select {
  min-height: 2.2rem;
  padding: .4rem .55rem;
  font-size: .86rem;
}
.admin-internal-analytics-card .admin-analytics-summary { margin: .75rem 0; }
.admin-internal-analytics-card h5 { margin: 0 0 .35rem; font-size: .82rem; color: var(--ink-muted, #52686c); }
.admin-ga4-panel.admin-analytics-card {
  margin-top: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(23, 51, 58, .16);
}
.admin-ga4-panel .admin-analytics-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: .75rem 0; }
.admin-ga4-panel .analytics-stat { padding: .65rem; }
.admin-ga4-panel .analytics-stat strong { font-size: 1.25rem; }
.admin-ga4-realtime { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid rgba(23, 51, 58, .12); }
.admin-ga4-realtime .section-toolbar { align-items: center; }
.admin-ga4-realtime h5 { margin: 0; font-size: .98rem; }
.admin-ga4-realtime .admin-analytics-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: .25rem; }
@media (max-width: 1080px) {
  .admin-analytics-card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .admin-analytics-card-grid { gap: .65rem; margin-top: .65rem; }
  .admin-analytics-card { padding: .75rem; border-radius: .7rem; }
  .admin-analytics-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
  .admin-internal-analytics-card .admin-analytics-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-ga4-realtime .admin-analytics-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .admin-analytics-filters { grid-template-columns: 1fr; }
}
