:root {
  color-scheme: light;
  --system-cream: #F6F1E8;
  --system-paper: #fff;
  --system-rust: #12636A;
  --system-rust-dark: #0D4D53;
  --system-coral: #E47A5A;
  --system-ink: #26343A;
  --system-muted: #718184;
  --system-sand: #DFE5E2;
  --system-line: #ded2c4;
  --system-green: #2d5a27;
  font-family: Inter, system-ui, sans-serif;
  color: var(--system-ink);
  background: var(--system-cream);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: var(--system-cream);
  color: var(--system-ink);
  font-family: Inter, system-ui, sans-serif;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: var(--system-rust);
  box-shadow: 0 2px 10px rgb(0 0 0 / 15%);
}

.site-header-inner {
  display: flex;
  width: min(1280px, 100%);
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 12px 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: Merriweather, Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 64px;
  height: 40px;
  flex: 0 0 auto;
  fill: currentColor;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.site-header nav > a,
.nav-logout button {
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgb(255 255 255 / 88%);
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}

.site-header nav > a:hover,
.nav-logout button:hover { background: rgb(255 255 255 / 12%); color: #fff; }

.site-header nav > a:hover { background: rgb(255 255 255 / 12%); color: #fff; }

.site-header nav > .nav-book-link {
  margin-left: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 10px rgb(0 0 0 / 12%);
  color: var(--system-rust);
  font-weight: 700;
}

.site-header nav > .nav-book-link:hover { background: #f2f8f7; color: var(--system-rust-dark); }

.text-link:hover,
.form-intro > a:hover { color: var(--system-rust); }

.nav-logout { display: inline; margin: 0; }
.nav-logout button { cursor: pointer; }
.nav-divider { width: 1px; height: 1.25rem; margin: 0 .25rem; background: rgb(255 255 255 / 22%); }
.nav-toggle { display: none; }

.page-shell {
  width: min(1120px, calc(100% - 48px));
  min-height: calc(100vh - 136px);
  margin: 0 auto;
  padding: 120px 0 72px;
}

.system-hero {
  overflow: hidden;
  padding: clamp(32px, 6vw, 72px);
  border: 1px solid var(--system-sand);
  border-radius: 22px;
  background: linear-gradient(120deg, #fff 34%, #EAF3F2 100%);
  box-shadow: 0 8px 24px rgb(45 30 23 / 5%);
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--system-rust);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.system-hero h1,
.section-heading h1,
.form-intro h1 {
  margin: 0;
  color: var(--system-ink);
  font-family: Merriweather, Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.17;
}

.hero-copy {
  max-width: 600px;
  margin: 18px 0 26px;
  color: var(--system-muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--system-rust); color: #fff; }
.button.primary:hover { background: var(--system-rust-dark); }
.button.secondary { border-color: #D5E8E8; background: #EAF3F2; color: var(--system-rust); }
.button.secondary:hover { border-color: var(--system-rust); background: #EAF3F2; }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #E47A5A; outline-offset: 2px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.service-card,
.form-card,
.trip-card,
.empty-card {
  border: 1px solid var(--system-sand);
  border-radius: 15px;
  background: var(--system-paper);
  box-shadow: 0 2px 7px rgb(45 30 23 / 3%);
}

.service-card { padding: 23px; }
.service-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: #EAF3F2;
  color: var(--system-rust);
  font-size: 1.3rem;
}

.service-card h2,
.trip-card h2,
.form-card h2,
.empty-card h2,
.account-section > h2 {
  color: var(--system-ink);
  font-family: Merriweather, Georgia, serif;
  font-weight: 700;
}

.service-card h2 { margin: 18px 0 8px; font-size: 1.08rem; }
.service-card p,
.trip-card p,
.form-intro p,
.empty-card p,
.form-card > p { color: var(--system-muted); font-size: .9rem; line-height: 1.65; }
.service-card p { min-height: 48px; margin: 0 0 14px; }
.service-card > a { color: var(--system-rust); font-size: .88rem; font-weight: 700; text-decoration: none; }
.staff-note { margin: 22px 0 0; color: var(--system-muted); font-size: .86rem; }
.staff-note a { color: var(--system-rust); font-weight: 700; }

.site-footer {
  background: #103f43;
  color: #f4f3ec;
}

.site-footer-inner {
  display: grid;
  width: min(1120px, calc(100% - 48px));
  grid-template-columns: minmax(250px, 1.6fr) repeat(2, minmax(150px, .8fr));
  gap: 48px;
  margin: 0 auto;
  padding: 48px 0 38px;
}

.site-footer-brand p {
  max-width: 360px;
  margin: 12px 0 15px;
  color: rgb(255 255 255 / 72%);
  font-size: .88rem;
  line-height: 1.65;
}

.site-footer-brand > a:last-child,
.site-footer-column a {
  color: rgb(255 255 255 / 76%);
  font-size: .86rem;
  text-decoration: none;
}

.site-footer-brand > a:last-child:hover,
.site-footer-column a:hover { color: #fff; text-decoration: underline; }

.footer-brand-link {
  color: #fff;
  font-family: Merriweather, Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer-column { display: grid; align-content: start; gap: 11px; }
.site-footer-column h2 { margin: 2px 0 5px; color: #fff; font-size: .9rem; }

.site-footer-bottom {
  padding: 17px 24px;
  border-top: 1px solid rgb(255 255 255 / 13%);
  color: rgb(255 255 255 / 62%);
  font-size: .76rem;
  text-align: center;
}

.messages { display: grid; gap: 9px; margin-bottom: 20px; }
.message { margin: 0; padding: 13px 16px; border-radius: 9px; background: #e7f4e7; color: #24552d; transition: opacity .3s, transform .3s; }
.message.error { background: #fbe9e6; color: #8e3020; }
.message.warning { background: #fff3d9; color: #704b08; }
.message.is-dismissed { opacity: 0; transform: translateY(-5px); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.section-heading p:not(.eyebrow) { margin: 10px 0 0; color: var(--system-muted); line-height: 1.6; }
.text-link, .form-intro > a { color: #3D4A4F; font-size: .88rem; font-weight: 600; text-decoration: none; }

.trip-search {
  display: grid;
  grid-template-columns: minmax(180px, 1.3fr) minmax(150px, 1fr) minmax(120px, .7fr) auto;
  align-items: end;
  gap: 12px;
  margin: 0 0 20px;
  padding: 17px;
  border: 1px solid var(--system-sand);
  border-radius: 14px;
  background: #fff;
}

.trip-search label { display: grid; gap: 6px; color: #3D4A4F; font-size: .8rem; font-weight: 700; }
.trip-search select, .trip-search input {
  width: 100%;
  height: 42px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #DFE5E2;
  border-radius: 8px;
  background: #fff;
  color: var(--system-ink);
}
.trip-search .button { white-space: nowrap; }
.clear-link { grid-column: 1 / -1; color: var(--system-rust); font-size: .84rem; font-weight: 700; text-decoration: none; }

.trip-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, .85fr); align-items: start; gap: 20px; }
.trip-list { display: grid; gap: 13px; min-width: 0; }
.result-count { margin: 0 0 2px; color: var(--system-muted); font-size: .84rem; }
.trip-card { padding: 20px; }
.trip-card h2 { margin: 13px 0 7px; font-size: 1.08rem; }
.trip-card p { margin: 6px 0; }
.trip-card-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--system-muted); font-size: .8rem; }
.status { color: #32714a; font-weight: 700; }
.trip-card .button { margin-top: 12px; }
.empty-card { padding: 26px; }
.empty-card h2 { margin: 0 0 7px; font-size: 1.08rem; }
.empty-card p { margin: 0; }
.trip-create { position: sticky; top: 18px; }

.form-layout { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(340px, 1.2fr); align-items: start; gap: 36px; }
.form-intro { padding-top: 14px; }
.form-intro h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.form-intro p { margin: 14px 0 20px; }
.form-card { min-width: 0; padding: clamp(20px, 3vw, 28px); }
.form-card > h2 { margin: 0 0 8px; font-size: 1.1rem; }
.form-card > p { margin: 0 0 14px; }
.form-card form > p { margin: 0 0 15px; }
.form-card label { display: block; margin-bottom: 6px; color: #3D4A4F; font-size: .83rem; font-weight: 700; }
.form-card input,
.form-card select,
.form-card textarea {
  display: block;
  width: 100%;
  min-height: 43px;
  padding: 10px 11px;
  border: 1px solid #DFE5E2;
  border-radius: 8px;
  background: #fff;
  color: var(--system-ink);
  font: 400 .92rem Inter, system-ui, sans-serif;
}
.form-card textarea { min-height: 86px; resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus, .trip-search input:focus, .trip-search select:focus { border-color: var(--system-rust); outline: 3px solid #DCEBED; }
.form-card ul.errorlist { margin: 5px 0 0; padding: 0; color: #a12f21; font-size: .8rem; list-style: none; }
.form-card .helptext { display: block; margin-top: 4px; color: var(--system-muted); font-size: .76rem; }
.form-card .button { width: 100%; margin-top: 8px; }
.form-card.trip-create h2 { margin-top: 0; }
.form-card.trip-create > p { font-size: .84rem; }
.form-footnote { margin: 16px 0 0 !important; text-align: center; font-size: .86rem !important; }
.form-footnote a { color: var(--system-rust); font-weight: 700; }
.form-summary { margin: 0 0 14px !important; padding: 10px 12px; border-radius: 8px; background: #f4f1eb; color: #3D4A4F !important; font-size: .82rem !important; }
.form-summary-error { background: #fbe9e6; color: #8e3020 !important; }
.password-toggle { margin: 6px 0 0; padding: 5px 9px; border: 1px solid var(--system-sand); border-radius: 6px; background: #fff; color: var(--system-rust); font-size: .78rem; font-weight: 600; cursor: pointer; }
.server-form button.is-loading, .server-form button:disabled { opacity: .72; cursor: wait; }

.account-section { display: grid; gap: 12px; margin: 28px 0; }
.account-section > h2 { margin: 0 0 2px; font-size: 1.18rem; }
.account-section .trip-card { padding: 18px 21px; }
.account-section .trip-card h2 { margin-top: 11px; }
.empty-inline { margin: 0; padding: 12px 0; color: var(--system-muted); }

@media (max-width: 900px) {
  .site-header-inner { gap: 12px; padding-inline: 18px; }
  .brand { font-size: 1rem; }
  .brand-mark { width: 54px; }
  .site-header nav > a, .nav-logout button { padding-inline: 8px; font-size: .78rem; }
  .site-header nav > .nav-book-link { margin-left: 3px; padding-inline: 13px; }
  .trip-search { grid-template-columns: 1fr 1fr; }
  .trip-search .button { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .site-header-inner { min-height: 72px; display: grid; grid-template-columns: 1fr auto; padding: 10px 20px; }
  .brand { font-size: .96rem; }
  .brand-mark { width: 52px; height: 34px; }
  .nav-toggle { display: flex; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgb(255 255 255 / 38%); border-radius: 9px; background: transparent; cursor: pointer; }
  .nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; }
  .nav-toggle.is-open span:first-child { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .site-header nav { display: none; grid-column: 1 / -1; align-items: stretch; flex-direction: column; gap: 2px; padding: 8px 0 5px; }
  .site-header nav.is-open { display: flex; }
  .site-header nav > a, .nav-logout { padding: 0; }
  .nav-divider { display: none; }
  .site-header nav > a, .nav-logout button { display: block; width: 100%; padding: 12px 8px; font-size: .9rem; text-align: left; }
  .site-header nav > .nav-book-link { margin: 7px 0 0; text-align: center; }
  .nav-logout button { border-radius: 8px; }
  .page-shell { width: min(100% - 32px, 560px); padding: 100px 0 48px; }
  .system-hero { padding: 30px 23px; border-radius: 16px; }
  .system-hero h1 { font-size: clamp(1.9rem, 9vw, 2.55rem); }
  .hero-copy { font-size: .98rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
  .service-card { padding: 19px; }
  .service-card p { min-height: auto; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .trip-layout, .form-layout { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .trip-create { position: static; }
  .trip-search { grid-template-columns: 1fr 1fr; padding: 13px; }
  .trip-search label:first-child { grid-column: 1 / -1; }
  .trip-search .button { grid-column: 1 / -1; }
  .form-intro { padding: 0; }
  .form-intro h1 { font-size: 2rem; }
  .site-footer-inner { width: min(100% - 40px, 560px); grid-template-columns: 1fr 1fr; gap: 28px 20px; padding: 36px 0 30px; }
  .site-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 380px) {
  .trip-search { grid-template-columns: 1fr; }
  .trip-search label:first-child, .trip-search .button, .clear-link { grid-column: auto; }
  .brand { font-size: .88rem; }
}
.booking-start { max-width: 66rem; margin: 1.5rem auto 3rem; }
.booking-start h1 { margin: .25rem 0 .75rem; color: var(--system-ink, #26343A); font: 900 clamp(2rem, 4vw, 3rem) Merriweather, Georgia, serif; }
.booking-start-copy, .booking-start-footnote { max-width: 42rem; color: var(--system-muted, #718184); line-height: 1.7; }
.booking-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0; }
.booking-choice { display: flex; min-height: 15rem; flex-direction: column; padding: 1.5rem; border: 1px solid var(--system-border, #DFE5E2); border-radius: 1.25rem; background: #fff; color: inherit; text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s; }
.booking-choice:hover { transform: translateY(-3px); border-color: var(--system-primary, #12636A); box-shadow: 0 12px 32px rgba(38,52,58,.09); }
.booking-choice-icon { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border-radius: .85rem; background: #eaf3f2; color: var(--system-primary, #12636A); font-size: 1.5rem; }
.booking-choice h2 { margin: 1.1rem 0 .4rem; font: 800 1.2rem Merriweather, Georgia, serif; }
.booking-choice p { margin: 0 0 1.25rem; color: var(--system-muted, #718184); line-height: 1.55; }
.booking-choice-link { display: flex; justify-content: space-between; align-items: center; margin-top: auto; color: var(--system-primary, #12636A); font-weight: 750; }
.booking-start-footnote { padding: 1rem 1.2rem; border-radius: .9rem; background: #f6f1e8; font-size: .9rem; }
.invoice-sheet { max-width: 54rem; margin: 1rem auto 3rem; padding: clamp(1.25rem, 4vw, 3rem); border: 1px solid var(--system-border, #DFE5E2); border-radius: 1.25rem; background: #fff; box-shadow: 0 12px 38px rgba(38,52,58,.07); }
.invoice-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; }
.invoice-header h1 { margin: .2rem 0; font: 900 clamp(1.7rem, 4vw, 2.4rem) Merriweather, Georgia, serif; }
.invoice-header p:not(.eyebrow) { margin: .35rem 0 0; color: var(--system-muted, #718184); }
.invoice-status { display: grid; gap: .3rem; min-width: 9rem; text-align: right; }
.invoice-status-label, .invoice-meta span { color: var(--system-muted, #718184); font-size: .78rem; }
.invoice-unpaid { justify-self: end; padding: .35rem .7rem; border-radius: 999px; background: #fff2df; color: #8c5415; font-size: .82rem; }
.invoice-rule { height: 1px; margin: 1.5rem 0; background: var(--system-border, #DFE5E2); }
.invoice-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.invoice-meta div { display: grid; gap: .25rem; }
.invoice-details { margin-top: 2rem; }
.invoice-details h2, .invoice-payment h2 { margin: 0 0 .8rem; font: 800 1.2rem Merriweather, Georgia, serif; }
.invoice-detail-row { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid #edf0ee; }
.invoice-detail-row span { color: var(--system-muted, #718184); }
.invoice-detail-row strong { text-align: right; }
.invoice-total { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.25rem; padding: 1rem 1.1rem; border-radius: .9rem; background: #eaf3f2; color: var(--system-ink, #26343A); }
.invoice-total strong { color: var(--system-primary, #12636A); font-size: 1.25rem; }
.invoice-note { color: var(--system-muted, #718184); font-size: .88rem; }
.invoice-payment { margin-top: 2rem; padding: 1.3rem; border: 1px solid var(--system-border, #DFE5E2); border-radius: 1rem; }
.invoice-payment .eyebrow { margin: 0 0 .35rem; }
.payment-method { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #edf0ee; }
.payment-method h3 { margin: 0 0 .4rem; font-size: .95rem; }
.payment-method p { margin: .25rem 0; color: #4a585b; line-height: 1.55; }
.payment-number { color: var(--system-primary, #12636A) !important; font-weight: 800; font-size: 1.2rem; }
.payment-pending { padding: .9rem; border-radius: .75rem; background: #f6f1e8; }
.payment-pending p { margin-bottom: 0; line-height: 1.55; }
.invoice-reference-note { margin: 1rem 0 0; color: var(--system-muted, #718184); font-size: .87rem; line-height: 1.5; }
.invoice-actions { display: flex; justify-content: flex-end; gap: .7rem; margin-top: 1.5rem; }
.invoice-actions .button { cursor: pointer; font: inherit; }
.nav-book-link { font-weight: 800; }
@media (max-width: 760px) { .booking-choice-grid { grid-template-columns: 1fr; } .booking-choice { min-height: 0; } .invoice-header { flex-direction: column; } .invoice-status { text-align: left; } .invoice-unpaid { justify-self: start; } }
@media print { .site-header, .site-footer, .invoice-actions { display: none !important; } .page-shell { padding: 0 !important; } .invoice-sheet { max-width: none; margin: 0; border: 0; box-shadow: none; } }
.flight-form-layout { align-items: start; }
.flight-form-layout .form-intro h1 { max-width: 12ch; }
.flight-destinations { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0; }
.flight-destinations span { padding: .45rem .7rem; border: 1px solid var(--system-border, #DFE5E2); border-radius: 999px; background: #fff; color: var(--system-ink, #26343A); font-size: .8rem; font-weight: 700; }
.flight-invoice-note { margin: 1.5rem 0; padding: 1rem; border-radius: .9rem; background: #eaf3f2; color: #4a585b; font-size: .9rem; line-height: 1.6; }
.flight-booking-form { display: grid; gap: 1.3rem; }
.flight-form-section { display: grid; gap: .75rem; }
.flight-form-section h2 { margin: 0; color: var(--system-ink, #26343A); font: 800 1.05rem Merriweather, Georgia, serif; }
.flight-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.flight-field { display: grid; align-content: start; gap: .4rem; }
.flight-form-hint { margin: 0; color: var(--system-muted, #718184); font-size: .84rem; line-height: 1.5; }
.flight-booking-form .errorlist { margin: 0; padding-left: 1.1rem; color: #a12f21; font-size: .82rem; }
.flight-booking-form [hidden] { display: none !important; }
@media (max-width: 760px) { .flight-form-grid { grid-template-columns: 1fr; } }

.flight-page { width: min(100%, 980px); margin: 0 auto; }
.flight-page-heading { max-width: 700px; margin: 0 auto 2rem; text-align: center; }
.flight-page-heading h1 { margin: .35rem 0 .75rem; color: var(--system-ink); font: 900 clamp(2.15rem, 5vw, 3.25rem)/1.12 Merriweather, Georgia, serif; }
.flight-page-heading > p:not(.eyebrow) { max-width: 600px; margin: 0 auto; color: var(--system-muted); line-height: 1.7; }
.flight-back-link { display: inline-block; margin-bottom: 1.4rem; color: var(--system-rust); font-size: .9rem; font-weight: 700; text-decoration: none; }
.flight-destination-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.25rem; }
.flight-destination-chips span { padding: .42rem .7rem; border: 1px solid var(--system-border, #DFE5E2); border-radius: 999px; background: white; color: var(--system-ink); font-size: .78rem; font-weight: 700; }
.flight-search-card { display: grid; gap: 0; overflow: hidden; border: 1px solid var(--system-border, #DFE5E2); border-radius: 1.25rem; background: white; box-shadow: 0 18px 48px rgb(38 52 58 / 8%); }
.flight-search-section { display: grid; gap: 1.25rem; padding: clamp(1.2rem, 4vw, 2rem); }
.flight-contact-section { border-top: 1px solid var(--system-border, #DFE5E2); background: #fbfcfb; }
.flight-section-heading { display: flex; align-items: center; gap: .85rem; }
.flight-step { display: grid; width: 2.2rem; height: 2.2rem; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #eaf3f2; color: var(--system-rust); font-weight: 800; }
.flight-section-heading h2 { margin: 0; color: var(--system-ink); font: 800 1.1rem Merriweather, Georgia, serif; }
.flight-section-heading p { margin: .25rem 0 0; color: var(--system-muted); font-size: .86rem; line-height: 1.45; }
.flight-label, .flight-field label { color: var(--system-ink); font-size: .82rem; font-weight: 700; }
.flight-trip-type { display: grid; justify-items: start; gap: .55rem; }
.flight-trip-type > div { display: flex; gap: .35rem; padding: .25rem; border: 1px solid var(--system-border, #DFE5E2); border-radius: .8rem; background: #f6f8f7; }
.flight-trip-type label { position: relative; display: flex; align-items: center; gap: .45rem; padding: .62rem .9rem; border-radius: .58rem; color: var(--system-muted); cursor: pointer; font-size: .88rem; font-weight: 700; }
.flight-trip-type input { accent-color: var(--system-rust); }
.flight-route-grid { display: grid; grid-template-columns: minmax(0, 1fr) 2rem minmax(0, 1fr); align-items: end; gap: .65rem; }
.flight-location-field { position: relative; }
.flight-location-field select { min-height: 3.4rem; padding-left: 2.6rem; font-weight: 650; }
.flight-location-icon { position: absolute; z-index: 1; left: .9rem; bottom: .94rem; color: var(--system-rust); font-size: 1.1rem; font-weight: 800; pointer-events: none; }
.flight-swap-mark { display: grid; height: 3.4rem; place-items: center; color: var(--system-rust); font-size: 1.2rem; }
.flight-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.flight-field { display: grid; align-content: start; gap: .45rem; min-width: 0; }
.flight-field select, .flight-field input, .flight-field textarea { width: 100%; min-height: 3rem; padding: .7rem .8rem; border: 1px solid var(--system-border, #DFE5E2); border-radius: .65rem; background: white; color: var(--system-ink); font: inherit; }
.flight-field textarea { min-height: 5rem; }
.flight-field select:focus, .flight-field input:focus, .flight-field textarea:focus { outline: 3px solid rgb(18 99 106 / 14%); border-color: var(--system-rust); }
.airline-field { max-width: 480px; }
.airline-field small { color: var(--system-muted); font-size: .78rem; line-height: 1.5; }
.flight-account-note { margin: -.5rem 0 0; padding: .7rem .85rem; border-radius: .6rem; background: #eaf3f2; color: var(--system-rust); font-size: .82rem; font-weight: 650; }
.flight-search-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem clamp(1.2rem, 4vw, 2rem); border-top: 1px solid var(--system-border, #DFE5E2); }
.flight-search-footer p { max-width: 420px; margin: 0; color: var(--system-muted); font-size: .83rem; line-height: 1.5; }
.flight-search-footer .button { min-height: 3rem; padding-inline: 1.25rem; border: 0; border-radius: .7rem; font-weight: 750; cursor: pointer; }
.flight-fare-note { display: flex; gap: .7rem; align-items: flex-start; margin: 1rem .15rem 0; color: var(--system-muted); }
.flight-fare-note > span { color: var(--system-rust); font-size: 1.1rem; }
.flight-fare-note p { margin: 0; font-size: .8rem; line-height: 1.6; }
.flight-search-card .errorlist { margin: 0; padding-left: 1.1rem; color: #a12f21; font-size: .82rem; }
.flight-search-card [hidden] { display: none !important; }
.flight-search-card > .form-errors { grid-column: 1 / -1; }
@media (max-width: 700px) { .flight-route-grid { grid-template-columns: minmax(0, 1fr); gap: .75rem; }.flight-swap-mark { height: 1rem; transform: rotate(90deg); }.flight-detail-grid { grid-template-columns: 1fr; }.flight-search-footer { align-items: stretch; flex-direction: column; }.flight-search-footer .button { width: 100%; }.flight-trip-type > div { width: 100%; }.flight-trip-type label { flex: 1; justify-content: center; } }
.request-confirmation { max-width: 48rem; margin: 1.5rem auto 3rem; padding: clamp(1.5rem, 5vw, 3.5rem); border: 1px solid var(--system-sand); border-radius: 1.25rem; background: linear-gradient(120deg, #fff 34%, #EAF3F2 100%); box-shadow: 0 12px 38px rgb(38 52 58 / 7%); }
.request-confirmation h1 { margin: .25rem 0 1rem; color: var(--system-ink); font: 900 clamp(2rem, 4vw, 2.8rem) Merriweather, Georgia, serif; }
.request-confirmation > p:not(.eyebrow) { max-width: 40rem; color: var(--system-muted); line-height: 1.7; }
.request-confirmation-note { margin: 1.25rem 0 1.5rem; padding: 1rem 1.1rem; border-radius: .8rem; background: #fff; }
.request-confirmation .button + .button { margin-left: .5rem; }

/* Flight request pages use the same breadcrumb, cream canvas, and card layout as the transfer page. */
.flight-breadcrumbs { display: flex; align-items: center; gap: .65rem; margin: -1rem 0 2rem; padding: 0; color: var(--system-muted); font-size: .86rem; list-style: none; }
.flight-breadcrumbs a { color: var(--system-ink); text-decoration: none; }
.flight-breadcrumbs a:hover { color: var(--system-rust); }
.flight-page-heading { display: flex; align-items: flex-start; gap: 1rem; max-width: none; margin: 0 0 1.75rem; text-align: left; }
.flight-heading-icon { display: grid; width: 3.5rem; height: 3.5rem; flex: 0 0 auto; place-items: center; border-radius: 1rem; background: var(--system-rust); box-shadow: 0 4px 10px rgb(18 99 106 / 20%); color: #fff; font-size: 1.65rem; }
.flight-page-heading > div { min-width: 0; }
.flight-page-heading .eyebrow { margin: 0 0 .4rem; }
.flight-page-heading h1 { margin: 0; color: var(--system-ink); font: 900 clamp(2rem, 4vw, 2.5rem)/1.1 Merriweather, Georgia, serif; }
.flight-page-heading > div > p:not(.eyebrow) { max-width: 42rem; margin: .75rem 0 0; color: #3D4A4F; font-size: 1.05rem; line-height: 1.65; }
.flight-destination-chips { justify-content: flex-start; margin-top: 1rem; }
.flight-destination-chips span { border: 0; background: rgb(255 255 255 / 65%); color: var(--system-muted); font-size: .78rem; }
.flight-search-card { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); border-radius: 1.25rem; box-shadow: 0 4px 20px rgb(0 0 0 / 3%); }
.flight-contact-section { border-top: 0; border-left: 1px solid var(--system-border, #DFE5E2); background: #fff; }
.flight-search-footer { grid-column: 1 / -1; background: #fff; }
.flight-fare-note { margin: 1rem 0 0; padding: 1rem 1.1rem; border: 1px solid rgb(223 229 226 / 70%); border-radius: .85rem; background: rgb(255 255 255 / 55%); }
.flight-received-page { max-width: 80rem; }
.flight-success-icon { background: #2d5a27; }
.flight-received-card { max-width: 54rem; margin-left: 4.5rem; padding: clamp(1.5rem, 4vw, 2rem); border: 1px solid var(--system-sand); border-radius: 1.25rem; background: #fff; box-shadow: 0 4px 20px rgb(0 0 0 / 3%); }
.flight-received-card h2 { margin: 0 0 1rem; color: var(--system-ink); font: 900 1.25rem Merriweather, Georgia, serif; }
.flight-received-card ol { display: grid; gap: .8rem; margin: 0; padding-left: 1.4rem; color: #3D4A4F; line-height: 1.6; }
.flight-received-note { margin: 1.25rem 0 1.5rem; padding: 1rem 1.1rem; border-radius: .8rem; background: #f6f1e8; color: #3D4A4F; line-height: 1.6; }
.flight-received-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
@media (max-width: 760px) {
  .flight-breadcrumbs { margin-top: -.35rem; }
  .flight-page-heading { gap: .8rem; }
  .flight-heading-icon { width: 3rem; height: 3rem; border-radius: .85rem; }
  .flight-page-heading h1 { font-size: 2rem; }
  .flight-page-heading > div > p:not(.eyebrow) { font-size: .96rem; }
  .flight-search-card { grid-template-columns: 1fr; }
  .flight-contact-section { border-top: 1px solid var(--system-border, #DFE5E2); border-left: 0; background: #fbfcfb; }
  .flight-received-card { margin-left: 0; }
}
