/* Plan my trip form (Concept C, approved by Huzaifa on 22 Nov 2026). Loaded only on pages with the form (see Base.astro).
   Ported from design/form-concepts-2026-11-22/shared/base.css: every rule is scoped to .pf (the airport search sheet sits outside it),
   and .chips, .seg and .steps are renamed pf-chips, pf-seg and pf-steps because the site already uses those names. */
.pf { --hover: #EEE4D2; --err: #8A3B2E; --head-question: 34px; }
@media (min-width: 1024px) { .pf { --head-question: 30px; } }
.pf .q { font-family: var(--display); font-weight: 600; font-size: var(--head-question); line-height: var(--head-lh); text-wrap: balance; margin: 0; }
.pf .q:focus { outline: none; }
.pf .sub { color: var(--grey); font-size: 15px; margin-top: var(--s-8); }
.pf .opt { color: var(--tone); font-weight: 400; }
.pf .btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-12); min-height: var(--btn-h); padding: 0 var(--btn-pad); border-radius: var(--r-pill); font: 500 var(--btn-fs)/1 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast); white-space: nowrap; }
.pf .btn:active { transform: scale(.97); }
.pf .btn-primary { background: var(--btn-dark); color: #fff; box-shadow: var(--btn-dark-shadow); }
.pf .btn-light { background: var(--btn-light); color: var(--ink); box-shadow: var(--btn-light-shadow); border-color: var(--rule); }
.pf .btn-block { width: 100%; }
.pf .btn-wa { background: var(--btn-dark); color: #fff; box-shadow: var(--btn-dark-shadow); min-height: 56px; width: 100%; font-size: 17px; }
.pf .wai { width: 1.1em; height: 1.1em; flex: none; }
.pf .linkbtn { background: none; border: 0; padding: 0; min-height: 44px; font: 500 15px var(--body); color: var(--grey); cursor: pointer; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.pf .back { background: none; border: 0; padding: 0 var(--s-8) 0 0; min-height: 44px; font: 500 15px var(--body); color: var(--grey); cursor: pointer; display: inline-flex; align-items: center; gap: var(--s-8); }
.pf .back[disabled] { visibility: hidden; }
.pf .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--small-gap); }
@media (max-width: 339px) {
  .pf .grid2.can-stack { grid-template-columns: minmax(0, 1fr); }
}
.pf .tile { position: relative; min-height: 60px; border: 0; border-radius: var(--r-small); background: var(--cream); color: var(--ink); font: 500 15px/1.25 var(--body); text-align: left; padding: var(--s-12) 30px var(--s-12) var(--s-16); display: flex; flex-direction: column; justify-content: center; gap: 2px; cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease), box-shadow var(--t-fast); min-width: 0; overflow-wrap: anywhere; }
.pf .tile small { font-weight: 400; font-size: 13px; color: var(--grey); }
@media (hover: hover) {
  .pf .tile:hover { background: var(--hover); }
}
.pf .tile:active { transform: scale(.97); }
.pf .tile[aria-pressed="true"], .pf .tile[aria-checked="true"] { background: var(--ink); color: #fff; box-shadow: var(--shadow-md); }
.pf .tile[aria-pressed="true"] small, .pf .tile[aria-checked="true"] small { color: var(--on-dark-muted); }
.pf .tile::after { content: ""; position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; transform: scale(0); opacity: 0; transition: transform 260ms var(--ease), opacity 200ms; }
.pf .tile[aria-pressed="true"]::after, .pf .tile[aria-checked="true"]::after { transform: scale(1); opacity: 1; }
.pf .tile.wide { grid-column: 1 / -1; }
.pf .tile.quiet { background: transparent; box-shadow: inset 0 0 0 1.5px var(--rule); }
.pf .tile.quiet[aria-pressed="true"], .pf .tile.quiet[aria-checked="true"] { background: var(--ink); box-shadow: var(--shadow-md); }
.pf .pf-chips { display: flex; flex-wrap: wrap; gap: var(--s-8); }
.pf .chip { min-height: 44px; padding: 0 var(--s-16); border-radius: var(--r-pill); border: 0; background: var(--cream); font: 500 14.5px/1.2 var(--body); cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease); max-width: 100%; }
@media (hover: hover) {
  .pf .chip:hover { background: var(--hover); }
}
.pf .chip:active { transform: scale(.96); }
.pf .chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pf .chip.on-white { background: var(--cream); }
.pf .pf-seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: var(--cream); border-radius: var(--r-pill); padding: var(--s-4); gap: 2px; }
.pf .pf-seg button { border: 0; background: none; border-radius: var(--r-pill); min-height: 44px; padding: 0 var(--s-8); font: 500 14.5px/1.15 var(--body); cursor: pointer; transition: background-color 200ms, color 200ms; min-width: 0; }
.pf .pf-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: var(--shadow-md); }
.pf .pf-seg.grid4 { grid-auto-flow: row; grid-template-columns: 1fr 1fr; border-radius: var(--r-small); }
.pf .pf-seg.grid4 button { border-radius: 10px; }
@media (min-width: 480px) {
  .pf .pf-seg.grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r-pill); }
  .pf .pf-seg.grid4 button { border-radius: var(--r-pill); }
}
.pf .fq { display: flex; flex-direction: column; gap: var(--s-8); min-width: 0; }
.pf .fq > label, .pf .fq > .ql { font-weight: 500; font-size: 15px; }
.pf .field { font: 16px var(--body); color: var(--ink); background: var(--cream); border: 0; border-radius: var(--r-small); min-height: 52px; padding: var(--s-12) var(--s-16); width: 100%; min-width: 0; }
.pf textarea.field { min-height: 96px; resize: vertical; }
.pf .field::placeholder { color: #6E6858; }
.pf .field:focus { outline: 2px solid var(--ink); outline-offset: 2px; background: var(--linen); }
.pf .field.white { background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.pf select.field { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.pf input[type="date"].field { -webkit-appearance: none; appearance: none; display: flex; align-items: center; }
.pf input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.pf .dates2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--small-gap); }
@media (max-width: 339px) {
  .pf .dates2 { grid-template-columns: minmax(0, 1fr); }
}
.pf .hint { font-size: 13.5px; color: var(--grey); }
.pf .err { font-size: 14px; color: var(--err); }
.pf .invalid { box-shadow: inset 0 0 0 1.5px var(--err) !important; }
.pf .note { display: flex; gap: var(--s-12); background: var(--linen); border-radius: var(--r-small); padding: var(--s-12) var(--s-16); font-size: 14px; color: var(--grey); }
.pf .steppers { display: flex; flex-direction: column; gap: var(--small-gap); }
.pf .stepper { display: flex; align-items: center; justify-content: space-between; gap: var(--s-12); background: var(--cream); border-radius: var(--r-small); padding: 4px 8px 4px 16px; min-height: 64px; }
.pf .stepper .lab { display: flex; flex-direction: column; line-height: 1.25; font-weight: 500; }
.pf .stepper .lab small { font-weight: 400; font-size: 13px; color: var(--grey); }
.pf .stepper .ctrl { display: flex; align-items: center; gap: var(--s-8); flex: none; }
.pf .stepper button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font: 500 20px/1 var(--body); color: var(--ink); cursor: pointer; transition: transform var(--t-fast) var(--ease), opacity var(--t-fast); }
.pf .stepper button:active { transform: scale(.9); }
.pf .stepper button:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.pf .stepper output { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.pf .ages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--small-gap); }
@media (min-width: 480px) {
  .pf .ages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.pf .ages .fq > label { font-size: 13.5px; color: var(--grey); font-weight: 500; }
.pf .compact .stepper { min-height: 56px; }
.pf .ap-btn { display: flex; align-items: center; gap: var(--s-12); width: 100%; min-height: 56px; border: 0; border-radius: var(--r-small); background: var(--cream); padding: var(--s-8) var(--s-16); text-align: left; cursor: pointer; transition: background-color var(--t-fast); }
@media (hover: hover) {
  .pf .ap-btn:hover { background: var(--hover); }
}
.pf .ap-btn .code { font: 600 22px/1 var(--display); letter-spacing: .04em; min-width: 3ch; }
.pf .ap-btn .txt { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.pf .ap-btn .txt b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf .ap-btn .txt small { color: var(--grey); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf .ap-btn .chev { flex: none; width: 18px; height: 18px; }
.pf .ap-btn.empty .code { color: var(--tone); }
.pf .ap-pop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8); }
@media (min-width: 480px) {
  .pf .ap-pop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.pf .ap-pop .tile { min-height: 64px; padding-right: 28px; }
.pf .ap-pop .tile b { font: 600 22px/1 var(--display); letter-spacing: .04em; }
dialog.sheet { border: 0; padding: 0; margin: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; background: #fff; color: var(--ink); }
dialog.sheet::backdrop { background: rgba(17,17,17,.4); }
@media (min-width: 640px) {
  dialog.sheet { margin: auto; width: 520px; height: min(640px, 86vh); border-radius: var(--r-card); box-shadow: var(--shadow-lg); }
}
.sheet-in { display: flex; flex-direction: column; height: 100%; }
.sheet-head { padding: var(--s-16) var(--s-16) var(--s-12); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: var(--s-12); }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-12); }
.sheet-top h2 { font: 600 26px/1 var(--display); }
.sheet-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream); cursor: pointer; display: grid; place-items: center; flex: none; }
.sheet-close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.ap-list { list-style: none; margin: 0; padding: var(--s-8) 0 var(--s-24); overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.ap-group { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); padding: var(--s-16) var(--s-16) var(--s-8); font-weight: 500; }
.ap-opt { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: var(--s-12); padding: var(--s-12) var(--s-16); min-height: 56px; cursor: pointer; }
.ap-opt .code { font: 600 22px/1 var(--display); letter-spacing: .04em; }
.ap-opt .txt { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.ap-opt .txt b { font-weight: 500; }
.ap-opt .txt small { color: var(--grey); font-size: 13px; }
.ap-opt mark { background: none; color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ap-opt[aria-selected="true"] { background: var(--cream); }
.ap-opt.is-picked .code::after { content: " ✓"; font-family: var(--body); font-size: 14px; }
.ap-empty { padding: var(--s-24) var(--s-16); color: var(--grey); }
.pf .wa-preview { background: var(--linen); border-radius: var(--r-small); padding: var(--s-16); font-size: 14.5px; white-space: pre-wrap; line-height: 1.5; overflow-wrap: anywhere; margin: 0; font-family: var(--body); }
.pf .wa-preview::before { content: "Your WhatsApp message"; display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s-8); }
.pf .pass-wrap {
  container-type: inline-size;
  width: 100%;
  max-width: 440px;
  --bp-header: #30291f;
  --bp-accent: #e7dcc5;
}
.pf .bp { display: grid; background: var(--bp-header); border-radius: var(--r-card); color: var(--ink); }
.pf .bp-header { padding: var(--s-24); color: #fff; }
.pf .bp-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s-8); }
.pf .bp-brand { font: 600 23px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.pf .bp dt, .pf .bp-kind { font: 600 11px/1.4 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.pf .bp-header .bp-kind, .pf .bp-route small { color: var(--bp-accent); }
.pf .bp-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: center;
  gap: var(--s-12);
  margin-top: var(--s-24);
}
.pf .bp-route .end { display: grid; min-width: 0; gap: var(--s-4); }
.pf .bp-route .end.to { text-align: right; }
.pf .bp-route .code { font: 600 50px/.95 var(--display); letter-spacing: .02em; }
.pf .bp-route small { font-size: 12px; overflow-wrap: anywhere; }
.pf .bp-plane { width: 24px; height: 24px; justify-self: center; fill: currentColor; transform: rotate(90deg); }
.pf .bp-main { background: var(--paper); border-radius: var(--r-small); margin: 0 var(--s-12) var(--s-12); padding: 0; min-width: 0; }
.pf .bp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-16);
  margin: 0;
  padding: var(--s-24);
  border-top: 0;
}
.pf .bp-name { grid-column: 1 / -1; }
.pf .bp dd { margin: var(--s-4) 0 0; font-weight: 600; overflow-wrap: anywhere; }
.pf .bp dd:empty::before { content: "—"; color: var(--grey); }
.pf .bp-perf { position: relative; margin: 0; border-top: 1px dashed var(--gold); }
.pf .bp-perf::before, .pf .bp-perf::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bp-header);
}
.pf .bp-perf::before { left: -8px; }
.pf .bp-perf::after { right: -8px; }
.pf .bp-stub { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: var(--s-4); padding: var(--s-16); text-align: center; }
.pf .bp-stub b { color: var(--ink); letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.pf .bp-stripes {
  width: min(100%, 112px);
  height: 14px;
  margin-top: var(--s-4);
  background: repeating-linear-gradient(90deg, var(--bp-header) 0 2px, transparent 2px 4px, var(--bp-header) 4px 5px, transparent 5px 8px, var(--bp-header) 8px 11px, transparent 11px 13px);
}
@container (max-width: 300px) {
  .pf .bp-header, .pf .bp-grid { padding: var(--s-16); }
  .pf .bp-route { grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); gap: var(--s-8); }
  .pf .bp-plane { width: 20px; height: 20px; }
  .pf .bp-route .code { font-size: 38px; }
  .pf .bp-route small { font-size: 11px; letter-spacing: 0; }
  .pf .bp-grid { column-gap: var(--s-12); }
  .pf .bp dd { font-size: 14px; }
}
.pf .sum { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pf .sum li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-4) var(--s-12); align-items: center; padding: var(--s-12) 0; border-bottom: 1px solid var(--rule); }
.pf .sum li:last-child { border-bottom: 0; }
.pf .sum .k { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.pf .sum .v { font-weight: 500; overflow-wrap: anywhere; }
.pf .sum .v.muted { color: var(--tone); font-weight: 400; }
.pf .sum .edit { grid-row: 1 / span 2; grid-column: 2; background: none; border: 0; min-height: 44px; min-width: 44px; padding: 0 var(--s-4); font: 500 14.5px var(--body); color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  .pf *, .pf *::before, .pf *::after, dialog.sheet * { animation: none !important; transition: none !important; }
}
.pf .months-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-8); }
@media (min-width: 560px) {
  .pf .months-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.pf .tile.mtile { min-height: 56px; padding: var(--s-8) var(--s-4); align-items: center; text-align: center; font-size: 15px; }
.pf .tile.mtile small { font-size: 11.5px; }
.pf .tile.mtile::after { display: none; }
.pf .segbtn { overflow-wrap: anywhere; }
.pf .rooms { margin-top: var(--s-8); }
.pf .room-list { display: flex; flex-direction: column; gap: var(--s-8); }
.pf .room { background: var(--linen); box-shadow: inset 0 0 0 1px var(--rule); border-radius: var(--r-small); padding: var(--s-8) var(--s-8) var(--s-8) var(--s-16); }
.pf .room-head { display: flex; align-items: center; justify-content: space-between; min-height: 36px; }
.pf .room-head .linkbtn { min-height: 36px; font-size: 14px; }
.pf .room-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-12); min-height: 52px; font-size: 15px; }
.pf .room-row .ctrl { display: flex; align-items: center; gap: var(--s-8); }
.pf .room-row button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); font: 500 20px/1 var(--body); cursor: pointer; }
.pf .room-row button:disabled { opacity: .35; cursor: not-allowed; }
.pf .room-row output { min-width: 24px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.pf .rooms .pf-chips .linkbtn { padding-inline: var(--s-4); }
.pf .swap-box { position: relative; overflow-x: clip; margin-inline: -16px; padding-inline: 16px; }

/* layout: the step card, and on desktop the trip pass and next steps beside it (plan my trip page) */
.pf { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-32); max-width: 640px; margin-inline: auto; align-items: start; }
.pf .pf-card { background: #fff; color: var(--ink); container-type: inline-size; border-radius: var(--r-card); padding: var(--card-pad) var(--s-16); box-shadow: var(--shadow-lg); min-width: 0; }
@media (min-width: 400px) { .pf .pf-card { padding-inline: var(--s-24); } }
@media (min-width: 768px) { .pf .pf-card { padding: var(--card-pad); } }
@media (min-width: 1024px) {
  .pf { max-width: none; grid-template-columns: minmax(0, 640px) minmax(0, 400px); justify-content: center; column-gap: var(--s-56); }
}
.pf .pf-top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin-bottom: var(--s-8); }
.pf .pf-count { font-size: 13px; font-weight: 500; color: var(--grey); font-variant-numeric: tabular-nums; }
.pf .pf-back { background: none; border: 0; padding: 0 var(--s-8) 0 0; min-height: 44px; font: 500 15px var(--body); color: var(--grey); cursor: pointer; display: inline-flex; align-items: center; gap: var(--s-8); }
.pf .pf-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); list-style: none; margin: 0 0 var(--s-16); padding: 0; }
.pf .pf-steps li { display: flex; flex-direction: column; gap: var(--s-8); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--tone); min-width: 0; padding: 0; }
.pf .pf-steps li::before { content: ""; height: 3px; border-radius: 2px; background: var(--cream); transition: background-color 300ms; }
.pf .pf-steps li.done::before, .pf .pf-steps li.on::before { background: var(--ink); }
.pf .pf-steps li.on { color: var(--ink); font-weight: 500; }
.pf .pf-steps li span { overflow-wrap: anywhere; }
.pf .q { scroll-margin-top: calc(var(--header-slim) + var(--s-24)); }
.pf .q:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 6px; }
.pf .pf-sent-h .beat { display: block; }
.pf .groups { margin-top: var(--s-24); display: flex; flex-direction: column; gap: var(--s-32); }
.pf .groups.pf-review { gap: var(--s-16); }
.pf .gq { display: flex; flex-direction: column; gap: var(--s-12); }
.pf .gq > .ql { font-weight: 500; font-size: 16px; }
.pf .gq > .hint { margin-top: -4px; }
.pf .foot { margin-top: var(--s-32); display: flex; flex-direction: column; gap: var(--s-8); }
.pf .pf-disc { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pf .pf-disc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-weight: 500; }
.pf .pf-disc > summary::-webkit-details-marker { display: none; }
.pf .pf-disc > summary::after { content: "+"; font-size: 22px; transition: transform 200ms var(--ease); }
.pf .pf-disc[open] > summary::after { transform: rotate(45deg); }
.pf .pf-disc-body { padding-bottom: var(--s-24); }
.pf .pf-welcome .pf-lead { color: var(--grey); margin-top: var(--s-12); font-size: 17px; }
.pf .pf-small { font-size: 14px; color: var(--grey); }
.pf .pf-center { text-align: center; align-self: center; }
.pf .pf-alt { display: flex; justify-content: center; gap: var(--s-24); flex-wrap: wrap; }
.pf .rv-sec { border: 1px solid var(--rule); border-radius: var(--r-small); padding: var(--s-4) var(--s-16); }
.pf .rv-sec-h { display: flex; align-items: center; justify-content: space-between; min-height: 48px; border-bottom: 1px solid var(--rule); }
.pf .rv-sec-h h4 { font: 600 22px/1 var(--display); margin: 0; }
.pf .rv-sec-h button { background: none; border: 0; min-height: 44px; font: 500 14.5px var(--body); color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; cursor: pointer; }
.pf .rv-sec .sum li { grid-template-columns: minmax(0, 1fr); }
.pf .bp { color: var(--ink); }
.pf .bp dd { overflow-wrap: anywhere; white-space: normal; }
#enquire > .col > .intro { margin-bottom: var(--s-24); }

/* homepage closing band: black band, sand card, form only (no pass or next steps), as the old form */
.final-band .pf { max-width: 720px; grid-template-columns: minmax(0, 1fr); }
.final-band .pf .pf-card { background: var(--f-card); box-shadow: 0 32px 64px -24px rgba(40,14,0,.55), 0 2px 6px rgba(40,14,0,.12); }
.final-band .pf :is(.tile, .chip, .field, .stepper, .ap-btn, .pf-seg) { background: var(--f-tile); }
@media (hover: hover) { .final-band .pf :is(.tile, .chip):not([aria-pressed="true"]):hover { background: var(--f-tile-hover); } }
.final-band .pf :is(.tile, .chip)[aria-pressed="true"] { background: var(--ink); color: #FFFDF8; }
.final-band .pf .tile.quiet:not([aria-pressed="true"]) { background: transparent; }
.final-band .pf .stepper button, .final-band .pf .room-row button { background: var(--f-card); box-shadow: inset 0 0 0 1px var(--f-line); }
.final-band .pf .room, .final-band .pf .wa-preview, .final-band .pf .note { background: #FAF5EB; }
.final-band .pf .pf-steps li::before { background: var(--f-tile); }
.final-band .pf .pf-steps li.done::before, .final-band .pf .pf-steps li.on::before { background: var(--ink); }
.final-band .pf .rv-sec, .final-band .pf .rv-sec-h, .final-band .pf .sum li, .final-band .pf .pf-disc { border-color: var(--f-line); }
/* Paragraphs in the form card use the card width (the site-wide 31em cap broke short lines early on desktop, 22 Nov 2026) */
.pf .pf-card p { max-width: none; }
.pf .pf-card .pf-welcome .pf-lead { max-width: 42ch; }

/* Desktop (22 Nov 2026, Huzaifa: "use the full width of the page so the user isn't required to scroll down to click the next buttons"):
   the form takes the page width, and each step's groups sit side by side so Continue stays on screen. */
@media (min-width: 1024px) {
  .pf { max-width: 1320px; grid-template-columns: minmax(0, 1fr) 360px; column-gap: var(--s-40); }
  .final-band .pf { max-width: 1200px; grid-template-columns: minmax(0, 1fr); }
  .pf .pf-card { padding: var(--s-32) var(--s-40) var(--s-40); }
  .pf .pf-top { margin-bottom: var(--s-16); }
  .pf .sub { margin-top: var(--s-4); }
}

@container (min-width: 700px) {
  .pf .groups { margin-top: var(--s-16); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-24) var(--s-40); align-items: start; }
  .pf .groups > .err, .pf .groups > .pf-disc, .pf .groups > .linkbtn, .pf .groups > .wa-preview, .pf .groups > .pf-pass-mob, .pf .g-you > * { grid-column: 1 / -1; }
  .pf .g-trip { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .pf .g-you { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .pf .groups.pf-review {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: var(--s-16) var(--s-32);
  }
  .pf .groups.pf-review > .pf-pass-mob {
    grid-column: 1;
    grid-row: 1 / span 4;
  }
  .pf .groups.pf-review > :is(.rv-sec, .linkbtn, .wa-preview) {
    grid-column: 2;
    min-width: 0;
  }
  .pf .tile { min-height: 52px; padding-block: var(--s-8); }
  .pf .gq { gap: var(--s-8); }
  .pf .foot { margin-top: var(--s-24); }
  .pf .foot:has(> .btn-block:only-child) { flex-direction: row; justify-content: flex-end; }
  .pf .foot > .btn-block:only-child { width: auto; min-width: 280px; }
  .pf .pf-welcome > .foot > .btn-block { width: 100%; }
  .pf .pf-disc-body > .fq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1.2fr); gap: var(--s-24) var(--s-32); align-items: start; }
  .pf .pf-disc-body > .fq > .fq { margin: 0; }
}
/* small laptops: the form takes the whole width; the trip pass appears in the review instead of beside the form */
@media (min-width: 1024px) and (max-width: 1359px) {
  .pf { grid-template-columns: minmax(0, 1fr); max-width: 1100px; }
}
@media (min-width: 1024px) {
  .pf .mtile { min-height: 46px; }
  /* review: label and answer on one line */
  .pf .rv-sec .sum li { grid-template-columns: 112px minmax(0, 1fr); align-items: baseline; padding: var(--s-8) 0; }
  .pf .rv-sec .sum .k { font-size: 11px; }
  .pf .rv-sec-h { min-height: 44px; }
}


/* Final homepage form card: restore readable contrast over the black call to action */
.final-band .pf .pf-card { background: #fff; color: var(--ink); }
.final-band .pf .pf-card .q { color: var(--ink); }
.final-band .pf .pf-card .pf-lead { color: var(--grey); }

/* Homepage enquiry form: keep all copy legible on the light form card */
.final-band .pf .pf-card,
.final-band .pf .pf-card :is(.q, h3, label, legend, .gq > .ql) {
  color: var(--ink);
}
.final-band .pf .pf-card :is(.pf-lead, .pf-small, .hint, .sub, .pf-count, .pf-back, .pf-steps li, .opt, .ap-group, .ap-opt .txt small, .ap-empty, .sum .k) {
  color: var(--grey);
}
.final-band .pf .pf-card .pf-steps li.on { color: var(--ink); }
.final-band .pf .pf-card :is(input, select, textarea, .field) { color: var(--ink); }
.final-band .pf .pf-card :is(input, select, textarea, .field)::placeholder { color: #625C50; opacity: 1; }
.final-band .pf .pf-card select.field { color: var(--ink); }
.final-band .pf .pf-card .pf-welcome li::before { background: #fff; color: var(--ink); }

/* Mobile enquiry: keep the panel inside the viewport and give the welcome steps breathing room. */
@media (max-width: 767px) {
  #enquire.form-wrap > .col { width: calc(100% - 32px); max-width: 100%; margin-inline: auto; padding: 24px 12px !important; box-sizing: border-box; box-shadow: none !important; }
  #enquire.form-wrap > .col > .intro { margin-bottom: 20px; padding-inline: 8px; }
  #enquire.form-wrap > .col > .intro h2 { font-size: clamp(40px, 12vw, 58px); line-height: 1.02; text-align: center; margin-inline: auto; }
  #enquire.form-wrap > .col > .intro h2 .beat { display: block; }
  #enquire.form-wrap > .col > .intro h2 .tone { font-size: .88em; margin-top: 4px; text-wrap: balance; }
  #enquire.form-wrap > .col > .intro p { font-size: 15px; line-height: 1.5; margin-top: 12px; }
  .pf { min-width: 0; width: 100%; --head-question: 28px; }
  .pf .pf-card { box-sizing: border-box; width: 100%; padding: 20px 16px; color: var(--ink); box-shadow: none; }
  .pf .swap-box { margin-inline: 0; padding-inline: 0; min-width: 0; }
  .pf .foot { margin-top: 20px; }
  .pf .btn { white-space: normal; max-width: 100%; box-sizing: border-box; }
  .pf .field { box-sizing: border-box; max-width: 100%; }
  .pf .room-row { flex-wrap: wrap; gap: 8px; }
  .pf .room { padding: 12px; }
  .pf .groups { gap: 24px; }
}
@media (max-width: 374px) {
  #enquire.form-wrap > .col { width: calc(100% - 24px); padding-inline: 8px !important; }
  .pf .pf-card { padding-inline: 12px; }
  .pf .dates2, .pf .grid2.can-stack { grid-template-columns: minmax(0,1fr); }
}

/* Dedicated plan-my-trip page shares the homepage enquiry styling on phones. */
@media (max-width: 767px) {
  #enquire.form-wrap .pf .pf-card { background: #fff; color: var(--ink); }
  #enquire.form-wrap .pf .pf-card :is(.q, h3, label, legend, .gq > .ql) { color: var(--ink); }
  #enquire.form-wrap .pf .pf-card :is(.pf-lead, .pf-small, .hint, .sub, .pf-count, .pf-back, .pf-steps li, .opt, .sum .k) { color: var(--grey); }
  #enquire.form-wrap .pf .pf-card .pf-steps li.on { color: var(--ink); }
  #enquire.form-wrap .pf .pf-card :is(input, select, textarea, .field) { color: var(--ink); }
  #enquire.form-wrap .pf .pf-card :is(input, select, textarea, .field)::placeholder { color: #625C50; opacity: 1; }
}

/* Prevent intrinsic field and grid widths from expanding phone layouts. */
@media (max-width: 767px) {
  .pf :is(.pf-panel,.groups,.gq,.fq,.grid2,.dates2,.room,.room-row,.foot,.pf-review,.pf-disc-body) { min-width:0; max-width:100%; }
  .pf :is(input,select,textarea) { min-width:0; max-width:100%; font-size:16px; }
  .pf .foot .btn { min-height:48px; line-height:1.25; }
}

/* Align the dedicated trip planner with the content edges of the page. */
#enquire.form-wrap:not(.final-band) {
  padding-left: max(var(--margin), env(safe-area-inset-left, 0px));
  padding-right: max(var(--margin), env(safe-area-inset-right, 0px));
}
#enquire.form-wrap:not(.final-band) > .col {
  width: 100%;
  max-width: var(--content);
  padding: 0;
}

/* Mobile enquiry typography and spacing. */
@media (max-width: 767px) {
  #enquire.form-wrap > .col > .intro { padding:0; margin:0 auto 24px; text-align:center; }
  #enquire.form-wrap > .col > .intro h2 { font-size:clamp(44px,12vw,58px); }
  #enquire.form-wrap > .col > .intro p { text-align:center; margin:12px auto 0; max-width:36ch; }
  #enquire.form-wrap .pf .pf-card { padding:24px 16px; }
}

/* The homepage enquiry remains a full-width band on phones. */
@media (max-width: 767px) {
  #enquire.final-band { padding: 24px 0 40px; }
  #enquire.final-band > .col { padding: 24px var(--margin) !important; }
  #enquire.form-wrap:not(.final-band) { padding-block: 24px 40px; }
  #enquire.form-wrap:not(.final-band) > .col {
    padding: 0 !important;
  }
  #enquire.form-wrap > .col > .intro { max-width:100%; margin:0 auto 24px; }
  #enquire.form-wrap .final-wa-link, #enquire.form-wrap .final-wa { display:none; }
  #enquire.form-wrap .pf { width:100%; max-width:none; margin-inline:auto; grid-template-columns:minmax(0,1fr); }
  #enquire.form-wrap .pf .pf-card { background:#fff; border-radius:var(--r-card); box-shadow:none; padding:24px 16px; }
  #enquire.form-wrap .pf :is(.tile,.chip,.field,.stepper,.ap-btn,.pf-seg) { background:var(--f-tile, var(--cream)); }
  #enquire.form-wrap .pf :is(.tile,.chip)[aria-pressed="true"] { background:var(--ink); color:#fff; }
}
@media (max-width: 374px) {
  #enquire.form-wrap:not(.final-band) .pf .pf-card { padding-inline: 12px; }
}

/* Keep the enquiry on the page background at both entry points. */
#enquire.form-wrap { background: var(--paper); --notch: var(--paper); }
#enquire.form-wrap > .col { background: transparent; color: var(--ink); box-shadow: none; }
#enquire.form-wrap > .col > .intro,
#enquire.form-wrap .intro h2,
#enquire.form-wrap .intro h2 .beat { color: var(--ink); }
#enquire.form-wrap .intro h2 .tone,
#enquire.form-wrap .intro p { color: var(--gold); }
#enquire.final-band .intro h2 .beat { display: block; }
#enquire.form-wrap .pf .pf-card,
#enquire.form-wrap .pf .bp {
  border-radius: var(--r-card);
  box-shadow: 0 0 0 1px var(--rule);
}

/* Homepage planner: a two-tone heading and a warm card on the page grid. */
#enquire.final-band > .col {
  max-width: calc(var(--content) + 2 * var(--margin));
  padding-block: 0;
  padding-left: max(var(--margin), env(safe-area-inset-left, 0px));
  padding-right: max(var(--margin), env(safe-area-inset-right, 0px));
}
#enquire.final-band > .col > .intro {
  margin: 0 0 var(--s-24);
  text-align: left;
}
#enquire.final-band > .col > .intro h2 {
  margin-inline: 0;
  text-align: left;
}
#enquire.final-band > .col > .intro > p { display: none; }
#enquire.form-wrap .pf {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 1fr);
  --f-card: #f5eee2;
  --f-tile: var(--paper);
}
#enquire.form-wrap .pf .pf-card {
  background: var(--f-card);
  box-shadow: none;
}
#enquire.final-band .pf .pf-welcome .btn-block { width: 100%; }
@media (min-width: 1024px) {
  #enquire.final-band > .col {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: var(--s-56);
    align-items: center;
  }
  #enquire.final-band > .col > .intro { margin: 0; }
}

/* Dedicated planner inputs use a white surface. */
#enquire.form-wrap:not(.final-band) .pf :is(.field, .ap-btn) {
  background-color: var(--paper);
}
#enquire.form-wrap:not(.final-band) .pf-welcome .foot {
  align-items: flex-start;
  justify-content: flex-start;
}
#enquire.form-wrap:not(.final-band) .pf-welcome .foot .btn-block {
  width: fit-content;
  min-width: 120px;
  min-height: 48px;
}


/* Keep interactive boundaries distinct from the warm form card at every width. */
#enquire.form-wrap .pf,
dialog.sheet {
  --pf-control-edge: #857865;
  --pf-secondary-ink: #514838;
}
#enquire.form-wrap .pf :is(.field, .ap-btn),
#enquire.form-wrap .pf :is(.stepper, .room-row) button,
dialog.sheet :is(.field, .sheet-close) {
  background-color: var(--paper);
  border: 1px solid var(--pf-control-edge);
  color: var(--ink);
}
#enquire.form-wrap .pf :is(.tile, .chip) {
  background-color: var(--paper);
  border: 0;
  box-shadow: none;
  color: var(--ink);
}
#enquire.form-wrap .pf .field { box-shadow: none; }
#enquire.form-wrap .pf .tile-with-icon {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: var(--s-12);
}
#enquire.form-wrap .pf .tile-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--f-card);
  color: var(--ink);
}
#enquire.form-wrap .pf .tile-icon:empty { display: none; }
#enquire.form-wrap .pf .tile-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@container (max-width: 420px) {
  #enquire.form-wrap .pf .tile-with-icon {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-8);
    padding-inline: var(--s-12);
  }
}
#enquire.form-wrap .pf .field.invalid { border-color: var(--err); }
#enquire.form-wrap .pf :is(.tile, .chip):is([aria-pressed="true"], [aria-checked="true"]) {
  background-color: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
#enquire.form-wrap .pf .tile:is([aria-pressed="true"], [aria-checked="true"]) small {
  color: var(--paper);
}
@media (hover: hover) {
  #enquire.form-wrap .pf :is(.tile, .chip, .ap-btn):not([aria-pressed="true"], [aria-checked="true"]):hover {
    background-color: #eae1d0;
  }
}
#enquire.form-wrap .pf :is(button, input, select, textarea, summary, a):focus-visible,
dialog.sheet :is(button, input):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
#enquire.form-wrap .pf .pf-card :is(.pf-steps li, .pf-count, .pf-back, .opt, .sum .k, .sum .v.muted, .ap-btn.empty .code),
dialog.sheet :is(.ap-group, .ap-empty) {
  color: var(--pf-secondary-ink);
}
#enquire.form-wrap .pf .pf-card .pf-steps li.on { color: var(--ink); }
#enquire.form-wrap .pf .pf-steps li::before { background: var(--pf-control-edge); }
#enquire.form-wrap .pf .pf-steps li:is(.done, .on)::before { background: var(--ink); }
#enquire.form-wrap .pf .pf-card .field::placeholder,
dialog.sheet .field::placeholder {
  color: var(--pf-secondary-ink);
  opacity: 1;
}
dialog.sheet .ap-opt[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}
dialog.sheet .ap-opt[aria-selected="true"] .txt small { color: var(--paper); }

/* Phone layouts keep navigation close to the active planner step. */
@media (max-width: 767px) {
  #enquire.form-wrap .pf .pf-top { margin-bottom: 4px; }
  #enquire.form-wrap .pf .pf-steps { margin-bottom: 12px; }
  #enquire.form-wrap .pf .groups {
    margin-top: 16px;
    gap: 16px;
  }
  #enquire.form-wrap .pf .g-trip > .grid2 { gap: 8px; }
  #enquire.form-wrap .pf .g-trip .tile-with-icon {
    min-height: 54px;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    font-size: 14px;
    overflow-wrap: anywhere;
  }
  #enquire.form-wrap .pf .g-trip .tile-icon {
    width: 24px;
    height: 24px;
  }
  #enquire.form-wrap .pf .g-trip .tile-icon svg {
    width: 16px;
    height: 16px;
  }
  #enquire.form-wrap .pf .g-trip .tile-with-icon::after {
    top: 4px;
    right: 4px;
    width: 13px;
    height: 13px;
  }
  #enquire.form-wrap .pf .pf-panel:not([inert]) > .foot {
    position: sticky;
    z-index: 3;
    bottom: 0;
    margin-top: 12px;
    padding: 8px 0 max(8px, env(safe-area-inset-bottom, 0px));
    background: var(--f-card);
  }
}

/* The homepage keeps its existing planner layout over the Seychelles photo. */
body.home #enquire.final-band {
  isolation: isolate;
  background: #354641;
}
body.home #enquire.final-band .enquiry-photo,
body.home #enquire.final-band::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
body.home #enquire.final-band .enquiry-photo {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
body.home #enquire.final-band::before {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, rgba(13,25,22,.72), rgba(20,28,20,.52) 30%, rgba(20,28,20,.12) 70%);
}
body.home #enquire.final-band > .col > .intro h2 .beat {
  color: #fffaf0;
}
body.home #enquire.final-band > .col > .intro h2 .tone {
  color: #f4e4c5;
}
body.home #enquire.final-band .pf .pf-card:has(.pf-welcome:not([inert])) {
  background: #3b4137;
  box-shadow: inset 0 0 0 1px rgba(255,248,228,.52),
    inset 0 1px 0 rgba(255,250,230,.13), 0 12px 32px rgba(13,17,12,.23);
}
body.home #enquire.final-band .pf .pf-welcome .q {
  font-size: clamp(34px, 3.2vw, 44px);
}
body.home #enquire.final-band .pf .pf-welcome:not([inert]) :is(.q, .pf-lead) {
  color: #fff9ef;
}
body.home #enquire.final-band .pf .pf-welcome:not([inert]) .pf-lead {
  text-shadow: 0 1px 2px rgba(15,19,15,.36);
}
body.home #enquire.final-band .pf .pf-welcome:not([inert]) .btn-block {
  box-shadow: inset 0 0 0 1px rgba(255,248,228,.45);
}
body.home #enquire.final-band .pf .pf-welcome .btn-block:focus-visible {
  outline-color: #fff9ef;
}
@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  body.home #enquire.final-band .pf .pf-card:has(.pf-welcome:not([inert])) {
    background: linear-gradient(120deg, rgba(42,35,25,.52), rgba(38,43,33,.44) 55%, rgba(26,42,40,.28));
    -webkit-backdrop-filter: blur(10px) saturate(.95);
    backdrop-filter: blur(10px) saturate(.95);
  }
}
@media (max-width: 767px) {
  body.home #enquire.final-band .enquiry-photo {
    object-position: 48% 55%;
  }
  body.home #enquire.final-band::before {
    background: linear-gradient(180deg, rgba(13,26,22,.65), rgba(20,28,20,.40) 52%, rgba(20,28,20,.20));
  }
}
@media (prefers-reduced-transparency: reduce) {
  body.home #enquire.final-band .pf .pf-card:has(.pf-welcome:not([inert])) {
    background: #3b4137;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
