/* MLV Daytona packages: traveler booking flow and staff workspace. */
:root {
  --ink: #0d1f17;
  --ink-2: #2b3b32;
  --muted: #5b685d;
  --forest: #183728;
  --forest-2: #224b37;
  --forest-tint: #edf3ee;
  --paper: #ffffff;
  --canvas: #f7f5ef;
  --cream: #f2efe8;
  --line: #e3ded2;
  --line-soft: #eee9df;
  --line-2: #cfc8b8;
  --field-line: #938b75; /* 3.4:1 on white: form fields and option marks stay findable */
  --gold: #d4a84a;
  --gold-2: #c79a3c;
  --gold-ink: #7d5a12; /* gold text on light backgrounds, 5.8:1 on canvas */
  --gold-tint: #fbf5e6;
  --gold-edge: #efe1bd;
  --red: #bd1f32;
  --red-2: #9b1828;
  --red-tint: #fbedee;
  --ok: #1d6b45;
  --ok-tint: #e8f3ec;
  --warn: #7f5300;
  --warn-tint: #fdf3e0;
  --info: #22527a;
  --info-tint: #e8f0f7;
  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 12px;
  --shadow-1: 0 1px 2px rgba(13, 31, 23, .05), 0 1px 3px rgba(13, 31, 23, .05);
  --shadow-2: 0 18px 40px -22px rgba(13, 31, 23, .35), 0 3px 10px rgba(13, 31, 23, .06);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --pad: clamp(20px, 3.4vw, 40px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; position: relative; background: var(--canvas); color: var(--ink-2); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html.is-embedded, html.is-embedded body { background: transparent; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-variant-numeric: lining-nums; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; }
.assist :focus-visible, .ws-bar :focus-visible, .gallery__main :focus-visible, .co-bar :focus-visible { outline-color: var(--gold); }
[tabindex="-1"]:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
html.is-embedded .wrap { max-width: none; padding-inline: 0; }
.loading { max-width: 640px; margin: 64px auto; padding: 0 20px; text-align: center; }
.loading h1 { font: 700 2rem/1.2 var(--serif); margin: 8px 0; }

/* Type. Every figure is Inter with lining, tabular numerals: Playfair's old-style numerals and its "$" read as broken in prices. */
.eyebrow { font: 600 .875rem/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.eyebrow--rule { display: flex; align-items: center; gap: 10px; }
.eyebrow--rule::before { content: ''; width: 24px; height: 1px; background: var(--gold); flex: none; }
.eyebrow--on-dark { color: var(--gold); }
.title-xxl { font: 700 clamp(2rem, 1.35rem + 2.2vw, 3rem)/1.08 var(--serif); letter-spacing: -.01em; }
.title-xl { font: 700 clamp(1.85rem, 1.35rem + 1.6vw, 2.6rem)/1.12 var(--serif); letter-spacing: -.01em; }
.title-md { font: 700 clamp(1.4rem, 1.2rem + .6vw, 1.75rem)/1.2 var(--serif); }
.title-sm { font: 700 1.2rem/1.3 var(--serif); }
.lead { font-size: 1.075rem; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.cur { font-size: .56em; vertical-align: .64em; margin-right: .08em; font-weight: 600; letter-spacing: 0; }

/* Buttons. One accent: gold with ink text for every primary action. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .7rem 1.2rem; border: 1px solid transparent; border-radius: var(--radius-sm); font: 600 .97rem/1.2 var(--sans); text-decoration: none; text-align: center; transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease; }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--primary { background: var(--gold); color: var(--ink); box-shadow: inset 0 -2px 0 rgba(13, 31, 23, .12); }
.btn--primary:hover:not(:disabled) { background: var(--gold-2); color: var(--ink); }
.btn--primary:active:not(:disabled) { transform: translateY(1px); }
.btn--dark { background: var(--forest); color: #fff; }
.btn--dark:hover:not(:disabled) { background: var(--ink); color: #fff; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-2); color: var(--ink); }
.btn--secondary { background: var(--paper); color: var(--ink); border-color: var(--field-line); }
.btn--secondary:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover:not(:disabled) { background: rgba(13, 31, 23, .06); color: var(--ink); }
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--on-dark:hover { border-color: var(--gold); color: #fff; background: rgba(255, 255, 255, .06); }
.btn--plain { border-color: transparent; }
.btn--lg { min-height: 56px; padding: .95rem 1.4rem; font-size: 1.0625rem; }
.btn--sm { min-height: 40px; padding: .5rem .9rem; font-size: .9rem; }
.btn--block { width: 100%; }
.link-button { background: none; border: 0; padding: 0; color: var(--forest); font-weight: 600; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: .4rem; min-height: 32px; }
.link-button:hover { color: var(--gold-ink); }
.link-button--danger { color: var(--red); }
.link-button--strong { font-weight: 700; color: var(--ink); text-decoration: none; }
.link-button:disabled { opacity: .45; cursor: not-allowed; }
.back-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 32px; background: none; border: 0; padding: 4px 0; color: var(--ink); font: 600 .9375rem/1.3 var(--sans); white-space: nowrap; }
.back-link:hover { color: var(--gold-ink); }
.back-link .icon { transition: transform .15s ease; }
.back-link:hover .icon { transform: translateX(-3px); }
.icon-button { width: 34px; height: 34px; display: inline-grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--paper); font-weight: 700; }
.icon-button:disabled { opacity: .4; cursor: not-allowed; }

/* Notices */
.notice { display: flex; gap: .6rem; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); font-size: .93rem; line-height: 1.5; }
.notice .icon { margin-top: 2px; }
.notice--error { background: var(--red-tint); color: #7d1222; border: 1px solid #efc4c9; }
.notice--warn { background: var(--warn-tint); color: var(--warn); border: 1px solid #f0d9a8; }
.notice--ok { background: var(--ok-tint); color: var(--ok); border: 1px solid #bcdcc8; }
.notice[hidden] { display: none; }
/* ---------- Collection ---------- */
.view { padding-block: 8px 0; }
.collection { padding-top: 8px; }
.collection__head { max-width: 760px; margin-bottom: 32px; }
.collection__head .title-xl { margin: 10px 0 12px; }
/* Even rows (Derby QA 2026-11-19): three across, two on tablets, one on phones; a short last row is centered. */
.pkg-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.pkg-grid > .pkg-card { flex: 0 1 calc((100% - 48px) / 3); min-width: 0; }
/* Exactly four cards: two by two at desktop widths too, so no card sits alone on a last row. */
.pkg-grid--quad > .pkg-card { flex-basis: calc((100% - 24px) / 2); }
.pkg-card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease; }
.pkg-card:hover { box-shadow: var(--shadow-2); border-color: var(--line-2); transform: translateY(-2px); }
.pkg-card:focus-within { border-color: var(--line-2); }
.pkg-card__media { display: block; aspect-ratio: 16 / 10; background: var(--cream); overflow: hidden; }
.pkg-card[data-href] { cursor: pointer; }
.pkg-card__title-link { color: inherit; text-decoration: none; }
.pkg-card[data-href]:hover .pkg-card__title-link, .pkg-card__title-link:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pkg-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pkg-card:hover .pkg-card__img { transform: scale(1.035); }
.pkg-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.pkg-card__when { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; color: var(--gold-ink); font: 600 .875rem/1.4 var(--sans); }
.pkg-card__title { font: 700 1.6rem/1.15 var(--serif); margin: 10px 0 8px; }
.pkg-card__sub { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.pkg-card__facts { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 6px; font-size: .93rem; color: var(--ink-2); }
.pkg-card__facts li { display: flex; align-items: center; gap: .55rem; }
.pkg-card__facts .icon { color: var(--forest); }
.rates { margin-top: auto; container-type: inline-size; }
.rates__label { font: 600 .875rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.rates__grid { display: grid; grid-template-columns: repeat(var(--rate-count, 4), minmax(0, 1fr)); gap: 1px; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--line); }
.rates__cell { padding: 10px 6px 11px; text-align: center; background: var(--canvas); }
@container (max-width: 280px) { .rates__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 400px) { .rates--cents .rates__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rates__cell dt { font: 600 .875rem/1.3 var(--sans); color: var(--muted); }
.rates__cell dd { margin: 3px 0 0; font: 700 1.02rem/1.25 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.pkg-card__foot { display: grid; gap: 14px; margin-top: 18px; }
.pkg-card__terms { display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--ink-2); }
.pkg-card__terms .icon { color: var(--ok); }
.pkg-card__cta::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.pkg-card__cta:focus-visible { outline-offset: 3px; }
.assurance { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 28px; padding: 18px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.assurance__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: .93rem; }
.assurance__list li { display: flex; align-items: center; gap: .6rem; }
.assurance__list .icon { color: var(--gold-ink); width: 1.35em; height: 1.35em; }
.assurance__list strong { color: var(--ink); font-weight: 600; }
.assurance__list a { font-weight: 600; }
.assurance__link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .93rem; }
.empty-state { padding-block: 40px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.empty-state h1 { font: 700 2rem/1.2 var(--serif); }
.empty-state__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Booking views: stage, two columns and the ledger rail ---------- */
/* Two columns from a 1080 px container: the story or form on the left, the rail on the right. On the checkout page the
   rail is a flat white panel that runs to the screen edge; elsewhere its panel is a card. */
.view--detail, .view--checkout, .view--confirm { padding-block: 0; }
.stage { container-type: inline-size; }
html.is-checkout .stage { overflow-x: clip; }
html.is-checkout .wrap { max-width: calc(1320px + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.layout { --rail-w: clamp(360px, 33cqw, 440px); --rail-gap: clamp(40px, 5cqw, 72px); display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; }
.layout--package { grid-template-areas: 'top' 'rail' 'body'; }
.layout--checkout { grid-template-areas: 'rail' 'main'; }
.layout--confirm { grid-template-areas: 'main' 'rail'; }
.layout__top { grid-area: top; min-width: 0; padding-top: 24px; }
.layout__body { grid-area: body; min-width: 0; }
.layout__main { grid-area: main; min-width: 0; padding-top: 24px; padding-bottom: 48px; }
.layout__rail { grid-area: rail; }
.rail { position: relative; min-width: 0; }
.rail__panel { position: relative; }
html.is-checkout .rail { isolation: isolate; padding-block: 28px; }
html.is-checkout .rail::before { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; background: var(--paper); border-block: 1px solid var(--line); }
html.is-checkout .layout--checkout .rail { padding-block: 16px; margin-top: 0; }
html.is-checkout .layout--confirm .rail { padding-block: 28px 40px; }
html:not(.is-checkout) .layout__rail { margin-block: 24px; }
html:not(.is-checkout) .buybox { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); padding: 26px 24px 22px; }
@container (min-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr) var(--rail-w); column-gap: var(--rail-gap); align-items: stretch; }
  .layout--package { grid-template-areas: 'top rail' 'body rail'; grid-template-rows: auto 1fr; }
  .layout--checkout, .layout--confirm { grid-template-areas: 'main rail'; }
  .layout__top { padding-top: 40px; }
  .layout__main { padding-top: 32px; padding-bottom: 64px; }
  .rail__panel { will-change: transform; }
  html:not(.is-checkout) .layout__rail { margin-block: 32px 0; }
  html.is-checkout .rail, html.is-checkout .layout--checkout .rail, html.is-checkout .layout--confirm .rail { padding-block: 32px 64px; }
  html.is-checkout .rail::before { left: calc(var(--rail-gap) / -2); margin-left: 0; border-block: 0; border-left: 1px solid var(--line); }
}

/* ---------- Checkout page header: MLV's deep green masthead ---------- */
.co-bar { background: var(--ink); color: #fff; border-bottom: 1px solid rgba(212, 168, 74, .4); }
.co-bar__inner { display: flex; align-items: center; gap: 12px 28px; min-height: 80px; }
.co-bar__brand { display: inline-flex; align-items: center; gap: 12px; flex: none; color: #fff; text-decoration: none; border-radius: var(--radius-sm); }
.co-bar__brand img { width: 48px; height: 48px; }
.co-bar__name { font: 700 1.0625rem/1.12 var(--serif); color: #fff; }
.co-bar__brand:hover { color: #fff; }
.co-bar__secure { display: inline-flex; align-items: center; gap: 8px; flex: none; padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .88); font: 600 .875rem/1.2 var(--sans); white-space: nowrap; }
.co-bar__secure .icon, .co-bar__phone .icon { width: 18px; height: 18px; color: var(--gold); }
.co-bar__phone { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 44px; margin-left: auto; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .32); border-radius: 999px; color: #fff; font: 600 .9375rem/1 var(--sans); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.co-bar__phone:hover { color: #fff; border-color: var(--gold); }
.co-bar .steps--bar { margin-left: auto; }

/* Steps: Package · Details & payment · Confirmation */
.steps ol { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.steps li { display: flex; align-items: center; min-width: 0; }
.steps li + li::before { content: ''; flex: none; width: clamp(20px, 2.6vw, 48px); height: 1px; margin: 0 12px; background: currentColor; opacity: .35; }
.steps li.is-done + li::before { background: var(--gold); opacity: 1; }
.steps__item { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; font: 600 .875rem/1.2 var(--sans); color: inherit; white-space: nowrap; }
.steps__mark { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border: 1.5px solid currentColor; border-radius: 50%; font: 700 .8125rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.steps__mark .icon { width: 15px; height: 15px; stroke-width: 2.6; }
.steps .is-current .steps__mark { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.steps__link { background: none; border: 0; padding: 4px 8px; margin: -4px -8px; border-radius: 999px; cursor: pointer; }
.steps__link:hover .steps__label { text-decoration: underline; text-underline-offset: 3px; }
.steps--bar { color: rgba(255, 255, 255, .68); }
.steps--bar .is-done, .steps--bar .is-current { color: #fff; }
.steps--bar .is-done .steps__mark { border-color: var(--gold); color: var(--gold); }
.steps--page { color: var(--muted); margin-bottom: 28px; }
.steps--page .is-done, .steps--page .is-current { color: var(--ink); }
.steps--page .is-done .steps__mark { border-color: var(--forest); background: var(--forest); color: #fff; }
@media (max-width: 1079px) {
  .co-bar__inner { flex-wrap: wrap; min-height: 0; padding-top: 12px; }
  .co-bar .steps--bar { order: 5; width: 100%; margin: 10px 0 0; padding: 8px 0 10px; border-top: 1px solid rgba(255, 255, 255, .14); }
  .steps--bar ol { justify-content: center; }
}
@media (max-width: 640px) {
  .co-bar__name { display: none; }
  .co-bar__brand img { width: 40px; height: 40px; }
  .co-bar__secure { padding-left: 0; border-left: 0; }
  .steps li:not(.is-current) .steps__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .steps li + li::before { margin: 0 10px; }
}
@media (max-width: 375px) {
  .co-bar__more { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 420px) {
  .co-bar__inner { column-gap: 10px; }
  .co-bar__brand img { width: 36px; height: 36px; }
  .co-bar__secure { font-size: .875rem; gap: 6px; }
  .co-bar__phone { padding: 0 2px; border-color: transparent; font-size: .875rem; gap: 6px; }
}

/* ---------- Step 1: the package ---------- */
.crumbs { margin-bottom: 18px; }
a.back-link { text-decoration: none; }
.pkg-head .lead { font-size: 1.125rem; }
.pkg-title { font: 700 clamp(2rem, 1.45rem + 1.7vw, 2.75rem)/1.1 var(--serif); letter-spacing: -.012em; margin: 14px 0 12px; }
.specs { list-style: none; margin: 24px 0 28px; padding: 16px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.specs li { display: grid; align-content: start; gap: 2px; min-width: 0; padding: 0 20px; border-left: 1px solid var(--line); }
.specs li:first-child { padding-left: 0; border-left: 0; }
.specs__label { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font: 600 .875rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.specs__label .icon { width: 15px; height: 15px; }
.specs strong { color: var(--ink); font-weight: 600; line-height: 1.35; }
.specs li > span:last-child:not(.specs__label) { color: var(--muted); font-size: .9375rem; }
/* A fixed photo shape: stretching the photo to the booking panel's height blew it up 3-4x (QA 2026-11-13). */
.gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery__main { position: relative; aspect-ratio: 16 / 9; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); }
.gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery__main::after { content: ''; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, rgba(8, 20, 14, .72), rgba(8, 20, 14, 0)); pointer-events: none; }
.gallery__caption { position: absolute; left: 20px; right: 168px; bottom: 18px; z-index: 1; color: #fff; font: 600 .95rem/1.3 var(--sans); }
.gallery__nav { position: absolute; right: 16px; bottom: 14px; z-index: 1; display: flex; align-items: center; gap: 8px; color: #fff; }
.gallery__count { font: 600 .875rem/1 var(--sans); min-width: 3.2em; text-align: center; font-variant-numeric: tabular-nums; }
.gallery__btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.gallery__btn:hover { background: #fff; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 112px)); gap: 10px; }
.gallery__thumb { padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 10; background: var(--cream); opacity: .78; transition: opacity .15s ease, border-color .15s ease; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { border-color: var(--gold); opacity: 1; }
.pkg-body { container-type: inline-size; display: grid; gap: 48px; padding-top: 48px; padding-bottom: 48px; }
@container (min-width: 1080px) { .pkg-body { padding-top: 56px; padding-bottom: 64px; } }
.section-title { font: 700 clamp(1.5rem, 1.3rem + .6vw, 1.875rem)/1.2 var(--serif); margin-bottom: 18px; }
.pkg-section--about p { font-size: 1.0625rem; line-height: 1.7; max-width: 66ch; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px 32px; }
.checks li { display: flex; gap: .75rem; align-items: flex-start; line-height: 1.5; overflow-wrap: anywhere; }
.checks .icon { width: 22px; height: 22px; padding: 3px; margin-top: 1px; border-radius: 50%; background: var(--forest); color: #fff; stroke-width: 2.4; }
@container (min-width: 560px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* The route line: itinerary days and payment dates on one gold-dotted line. */
.route { list-style: none; margin: 0; padding: 0; display: grid; }
.route__stop { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); padding: 0 0 26px 30px; }
.route__stop:last-child { padding-bottom: 0; }
.route__stop::before { content: ''; position: absolute; left: 5px; top: 12px; bottom: -6px; width: 2px; background: var(--line); }
.route__stop:last-child::before { display: none; }
.route__stop::after { content: ''; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--canvas); }
.route__when { font: 600 .875rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 4px; }
.route__when time { display: block; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 500; font-size: .875rem; }
.route__what h3 { font: 700 1.125rem/1.3 var(--serif); margin-bottom: 4px; }
.route--pay .route__figure { font: 700 1.125rem/1.3 var(--sans); font-variant-numeric: tabular-nums; }
/* One itinerary step per line; a long unbroken string can't widen the page (QA 2026-11-13). */
.route__what p { max-width: 64ch; font-size: .9375rem; line-height: 1.55; color: var(--ink-2); white-space: pre-line; overflow-wrap: anywhere; }
@container (min-width: 560px) {
  .route__stop { grid-template-columns: 168px minmax(0, 1fr); column-gap: 44px; padding-left: 0; }
  .route__stop::before { left: 189px; }
  .route__stop::after { left: 184px; }
  .route__when { text-align: right; margin-bottom: 0; }
}
.assist { display: grid; gap: 20px; padding: 32px; border-radius: var(--radius-lg); background: var(--ink); color: rgba(255, 255, 255, .84); }
.assist__title { font: 700 1.5rem/1.25 var(--serif); color: #fff; margin: 10px 0 6px; }
.assist p:not(.eyebrow) { max-width: 52ch; }
.assist__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@container (min-width: 640px) { .assist { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } .assist__actions { flex-direction: column; align-items: stretch; } }
.view--detail.is-preview .buybox__form { pointer-events: none; }

/* The buy box: four numbered booking sections, the live total and one gold action. */
.buybox { container-type: inline-size; }
.buybox__form { display: grid; }
.buybox__head { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.buybox__headline { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.buybox__title { font: 700 1.625rem/1.2 var(--serif); }
.buybox__from { color: var(--muted); font-size: .9375rem; white-space: nowrap; }
.buybox__from strong { font: 700 1.25rem/1 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.bx-step { border: 0; margin: 0; padding: 16px 0; min-width: 0; border-bottom: 1px solid var(--line); }
.bx-step__legend { float: left; width: 100%; padding: 0; margin: 0 0 12px; font: inherit; }
.bx-step__legend + * { clear: both; }
.bx-step__head { display: flex; align-items: center; gap: 10px; }
.bx-step__num, .panel__num { flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--gold); font: 700 .8125rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.bx-step__num { width: 26px; height: 26px; }
.bx-step__title { font: 600 1.0625rem/1.3 var(--sans); color: var(--ink); }
.bx-step__hint { margin-left: auto; font-size: .875rem; color: var(--muted); }
.room-options { display: grid; grid-template-columns: repeat(var(--rooms, 4), minmax(0, 1fr)); gap: 8px; padding-top: 10px; }
.room-opt, .pay-opt { position: relative; display: block; cursor: pointer; }
.room-opt input, .pay-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
/* Room tiles: the same four-up "price per person" grid as the package cards on the booking page. */
.room-opt__body { position: relative; display: grid; justify-items: center; gap: 1px; height: 100%; padding: 14px 6px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); text-align: center; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.room-opt__mark { position: absolute; top: -10px; left: 50%; width: 20px; height: 20px; margin-left: -10px; display: grid; place-items: center; border: 1.5px solid var(--field-line); border-radius: 50%; background: var(--paper); color: transparent; }
.room-opt__mark .icon { width: 12px; height: 12px; stroke-width: 3; }
.room-opt__name { font-weight: 600; font-size: .9375rem; color: var(--ink); line-height: 1.3; }
.room-opt__price { font: 700 1.125rem/1.25 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.room-opt__meta { font-size: .875rem; color: var(--muted); line-height: 1.3; white-space: nowrap; }
.room-opt input:checked + .room-opt__body .room-opt__mark { border-color: var(--forest); background: var(--forest); color: #fff; }
.pay-opt__body::before { content: ''; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--field-line); background: var(--paper); }
.pay-opt__amount small { font: 500 .875rem/1.3 var(--sans); color: var(--muted); }
.room-opt:hover .room-opt__body, .pay-opt:hover .pay-opt__body { border-color: var(--forest-2); }
.room-opt input:checked + .room-opt__body, .pay-opt input:checked + .pay-opt__body { border-color: var(--forest); background: var(--forest-tint); box-shadow: inset 0 0 0 1px var(--forest); }
.pay-opt input:checked + .pay-opt__body::before { border-color: var(--forest); background: var(--forest) radial-gradient(circle, #fff 0 3.5px, transparent 4px); }
.room-opt input:focus-visible + .room-opt__body, .pay-opt input:focus-visible + .pay-opt__body { outline: 3px solid var(--forest); outline-offset: 2px; }
.party { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.party__title { margin: 0; font: inherit; }
.party__text .qty__hint { display: block; margin: 2px 0 0 36px; }
.party__control { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.qty { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.qty__text { display: grid; gap: 2px; }
.qty__label { font-weight: 600; color: var(--ink); }
.qty__hint { font-size: .875rem; color: var(--muted); }
.qty--compact { padding: 6px 0; font-size: .9375rem; }
.extras { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.extras__label { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.extras__label span { display: block; font-weight: 400; font-size: .875rem; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--field-line); border-radius: 999px; background: var(--paper); }
.stepper__btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: var(--ink); border-radius: 999px; }
.stepper__btn:hover:not(:disabled) { background: var(--cream); }
.stepper__btn:disabled { opacity: .3; cursor: not-allowed; }
.stepper__value { min-width: 2.4ch; text-align: center; font: 700 1.05rem/1 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
/* Upgrade groups */
.addon-groups { display: grid; gap: 8px; }
.addon-group { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.addon-group.has-pick { border-color: var(--forest-2); }
.addon-group__heading { margin: 0; font: inherit; }
.addon-group__toggle { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 9px 14px; border: 0; border-radius: var(--radius-sm); background: none; color: var(--ink); text-align: left; }
.addon-group__toggle:hover { background: var(--canvas); }
.addon-group__text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.addon-group__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-weight: 600; line-height: 1.3; }
.addon-group__choice { font-size: .875rem; font-weight: 500; color: var(--muted); }
.addon-group__meta { font-size: .875rem; color: var(--muted); line-height: 1.4; }
.has-pick .addon-group__meta { color: var(--forest); font-weight: 500; }
.addon-group__sum { font: 700 1rem/1 var(--sans); white-space: nowrap; font-variant-numeric: tabular-nums; }
.addon-group__chev { color: var(--muted); transition: transform .2s ease; }
.addon-group.is-open .addon-group__chev { transform: rotate(180deg); }
.addon-group__body { padding: 0 14px 4px; border-top: 1px solid var(--line-soft); }
.addon-group__body[hidden] { display: none; }
.addon { padding: 12px 0; border-top: 1px solid var(--line-soft); }
.addon:first-child { border-top: 0; }
.addon__main { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; align-items: start; cursor: pointer; }
.addon__main input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--forest); }
.addon__name { display: block; color: var(--ink); font-weight: 500; font-size: .9375rem; line-height: 1.4; }
.addon__note { display: block; margin-top: 2px; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.addon__req { font-weight: 600; font-size: .875rem; color: var(--ok); margin-left: .35rem; }
.addon__price { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.4; }
.addon__price small { display: block; font-weight: 500; font-size: .875rem; color: var(--muted); }
.addon__qty { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 8px; font-size: .875rem; }
.addon__qty .input { width: 76px; min-height: 40px; padding: 6px 10px; }
/* Payment plan tiles */
.pay-options__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pay-options__grid--one { grid-template-columns: minmax(0, 1fr); }
.pay-opt { height: 100%; }
.pay-opt__body { position: relative; display: grid; align-content: start; gap: 3px; height: 100%; padding: 14px 14px 15px 46px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.pay-opt__body::before { position: absolute; left: 14px; top: 15px; }
.pay-opt__title { font-weight: 600; color: var(--ink); line-height: 1.3; }
.pay-opt__amount { font: 700 1.375rem/1.2 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.pay-opt__amount small { margin-left: 5px; }
.pay-opt__meta { font-size: .875rem; color: var(--muted); line-height: 1.4; }
@container (max-width: 359px) { .pay-options__grid { grid-template-columns: minmax(0, 1fr); } }
@container (max-width: 419px) { .room-options { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; } }
@container (max-width: 419px) {
  .room-opt__body { padding-inline: 2px; }
  .party__text, .party__control { flex: 1 1 100%; }
  .party__control { justify-content: space-between; margin-left: 36px; }
}
/* The live total */
.bx-summary { display: grid; gap: 12px; padding: 18px 0 14px; }
.bx-lines { margin: 0; display: grid; gap: 6px; font-size: .875rem; }
.bx-lines > div, .ticket__lines > div { display: flex; justify-content: space-between; gap: 16px; }
.bx-lines dt, .ticket__lines dt { color: var(--ink-2); }
.bx-lines dd, .ticket__lines dd { margin: 0; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bx-total { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.bx-summary > .bx-total:first-child { padding-top: 0; border-top: 0; }
.bx-total__label { font-weight: 600; color: var(--ink); line-height: 1.3; }
.bx-total__label small { display: block; font-weight: 400; font-size: .875rem; color: var(--muted); }
.bx-total__amount { font: 700 2.5rem/1 var(--sans); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.bx-due, .ticket__money { margin: 0; }
.bx-due { display: grid; gap: 6px; padding: 12px 14px; background: var(--gold-tint); border: 1px solid var(--gold-edge); border-radius: var(--radius-sm); }
.bx-due > div, .ticket__money > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bx-due dt { color: var(--ink-2); font-size: .9375rem; }
.bx-due dd { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bx-due__today dt { color: var(--ink); font-weight: 700; }
.bx-due__today dd { font-size: 1.125rem; font-weight: 700; }
.buybox__assure { display: flex; gap: .5rem; align-items: flex-start; justify-content: center; margin-top: 10px; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.buybox__assure .icon { margin-top: 2px; color: var(--gold-ink); }
/* Step 1 on one-column screens: the total and Continue pinned to the bottom of the screen (placed by placePinbar). */
.pinbar { position: absolute; z-index: 30; top: 0; left: 0; right: 0; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -12px 28px -18px rgba(13, 31, 23, .45); visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .18s ease, visibility 0s linear .18s; }
.pinbar.is-shown { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity .18s ease; }
.pinbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: calc(760px + 2 * var(--pad)); margin-inline: auto; padding: 10px var(--pad) max(10px, env(safe-area-inset-bottom)); }
.pinbar__total { display: grid; gap: 1px; min-width: 0; line-height: 1.2; }
.pinbar__line { color: var(--muted); font-size: .875rem; white-space: nowrap; }
.pinbar__line strong { margin-right: 2px; color: var(--ink); font: 700 1.375rem/1.1 var(--sans); font-variant-numeric: tabular-nums lining-nums; }
.pinbar__due { color: var(--ink-2); font-size: .875rem; font-weight: 600; white-space: nowrap; }
.pinbar__cta { flex: none; min-height: 48px; padding-inline: 22px; }
@media (min-width: 1080px) { .pinbar { display: none; } }

/* ---------- Step 2: details & payment ---------- */
.page-head { margin-bottom: 24px; }
.page-title { font: 700 clamp(2rem, 1.5rem + 1.4vw, 2.6rem)/1.1 var(--serif); letter-spacing: -.012em; margin: 12px 0 10px; }
#form-alert { margin-bottom: 16px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); padding: 28px; margin-bottom: 20px; }
.panel__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.panel__num { width: 30px; height: 30px; margin-top: 1px; font-size: .875rem; }
.panel__head h2 { font: 700 1.375rem/1.25 var(--serif); }
.panel__head p { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.panel__req { margin: -12px 0 16px 44px; font-size: .875rem; color: var(--muted); }
.panel--agree { display: grid; gap: 14px; }
.panel--agree .panel__head { margin-bottom: 4px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.span-2 { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field > label, .field__label { font: 500 .9375rem/1.35 var(--sans); color: var(--ink); }
.field__req { margin-left: 3px; color: var(--red); font-weight: 600; }
.field__optional { font-weight: 400; color: var(--muted); }
.field__help { font-size: .875rem; color: var(--muted); line-height: 1.45; }
.field__error { display: flex; gap: .4rem; align-items: flex-start; color: var(--red); font-size: .875rem; line-height: 1.4; }
.field__error .icon { margin-top: 1px; }
.field__error[hidden] { display: none; }
.input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--field-line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.4; transition: border-color .15s ease, box-shadow .15s ease; }
.input:hover { border-color: var(--ink-2); }
.input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 1px var(--forest), 0 0 0 4px rgba(212, 168, 74, .5); }
.input[aria-invalid='true'] { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.input:disabled { background: var(--canvas); color: var(--muted); cursor: not-allowed; }
textarea.input { min-height: 0; resize: vertical; }
select.input { appearance: none; padding-right: 38px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1f17' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; }
.input--file { padding: 9px 10px; min-height: 0; font-size: .9rem; }
.input-affix { display: flex; align-items: stretch; }
.input-affix > span { display: grid; place-items: center; min-width: 40px; padding: 0 10px; border: 1px solid var(--line-2); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--canvas); color: var(--muted); font-weight: 600; }
.input-affix .input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.input-affix--suffix > span { border: 1px solid var(--line-2); border-left: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.input-affix--suffix .input { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
/* Who's traveling: every cell is a one-line label over a 48 px box, so the rows line up. */
.travelers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.travelers__room { grid-column: 1 / -1; padding-top: 2px; font: 600 .875rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.travelers__room:not(:first-child) { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.travelers__row { min-width: 0; }
.lead-echo { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1px dashed var(--field-line); border-radius: var(--radius-sm); background: var(--canvas); color: var(--ink); overflow-wrap: anywhere; }
.lead-echo .icon { color: var(--gold-ink); }
.lead-echo strong { font-weight: 500; }
.pay-element { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fbfaf7; }
.pay-element__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pay-element__tab { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font: 600 .9375rem/1.2 var(--sans); }
.pay-element__tab .icon { color: var(--gold-ink); }
.pay-element__mode { padding: 3px 9px; border-radius: 4px; background: var(--warn-tint); color: var(--warn); font: 700 .75rem/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.pay-element__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.pe-field { display: grid; gap: 5px; }
.pe-field--wide { grid-column: 1 / -1; }
.pe-field__label { font: 500 .875rem/1.3 var(--sans); color: var(--ink-2); }
.pe-field__value { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 10px 12px; border: 1px solid var(--field-line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.pe-field__brand { font: 800 .78rem/1 var(--sans); letter-spacing: .08em; color: #1a1f71; font-style: italic; }
.pay-element__note { display: flex; align-items: flex-start; gap: .5rem; margin-top: 12px; font-size: .9375rem; color: var(--muted); line-height: 1.45; }
.pay-element__note .icon { margin-top: 2px; color: var(--gold-ink); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--forest); cursor: pointer; }
.check input[aria-invalid='true'] { outline: 2px solid var(--red); outline-offset: 2px; }
.check--sm { font-size: .9rem; gap: 10px; }
.check--sm input { width: 18px; height: 18px; }
.policy-note { margin: -6px 0 0 32px; font-size: .9375rem; line-height: 1.45; color: var(--muted); }
.pay-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 6px; padding: 14px 16px; border: 1px solid var(--gold-edge); border-radius: var(--radius-sm); background: var(--gold-tint); }
.pay-total span { font-weight: 600; color: var(--ink); }
.pay-total strong { font: 700 1.5rem/1 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
/* The order summary, drawn as a ticket stub */
.ticket { --notch: var(--canvas); position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 1px 2px rgba(13, 31, 23, .04), 0 16px 36px -22px rgba(13, 31, 23, .32); }
html.is-checkout .ticket { --notch: var(--paper); }
.ticket__head { display: flex; align-items: center; gap: 14px; }
.ticket__head .eyebrow { margin-bottom: 4px; }
.ticket__thumb { flex: none; width: 88px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); background: var(--cream); }
.ticket__img { width: 100%; height: 100%; object-fit: cover; }
.ticket__stub { display: grid; gap: 12px; padding: 20px 24px 16px; }
.ticket__title { font: 700 1.3125rem/1.25 var(--serif); }
.ticket__facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .9375rem; color: var(--ink-2); }
.ticket__facts li, .summary__facts li { display: flex; gap: .6rem; align-items: flex-start; }
.ticket__facts .icon, .summary__facts .icon { color: var(--forest); margin-top: 4px; }
.ticket__lines { display: grid; gap: 6px; margin: 2px 0 0; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: .875rem; }
.ticket__tear { position: relative; height: 26px; margin-inline: -1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 7px, transparent 7px 13px) center / calc(100% - 64px) 2px no-repeat; }
.ticket__tear::before, .ticket__tear::after { content: ''; position: absolute; top: 0; width: 14px; height: 26px; background: var(--notch); border: 1px solid var(--line-2); box-shadow: inset 0 1px 3px rgba(13, 31, 23, .06); }
.ticket__tear::before { left: 0; border-left: 0; border-radius: 0 13px 13px 0; }
.ticket__tear::after { right: 0; border-right: 0; border-radius: 13px 0 0 13px; }
.ticket__money { display: grid; gap: 10px; padding: 10px 24px 6px; }
.ticket__money dt { color: var(--ink-2); font-size: .9375rem; }
.ticket__money dd { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.ticket__total { align-items: flex-end !important; }
.ticket__total dt { color: var(--ink); font-weight: 600; }
.ticket__total dd { font: 700 2.125rem/1 var(--sans); letter-spacing: -.02em; }
.ticket__due { padding: 12px 14px; margin-inline: -2px; border: 1px solid var(--gold-edge); border-radius: var(--radius-sm); background: var(--gold-tint); }
.ticket__due dt { color: var(--ink); font-weight: 700; }
.ticket__due dd { font-size: 1.125rem; font-weight: 700; }
.ticket__note { padding: 4px 24px 0; font-size: .9375rem; line-height: 1.45; color: var(--muted); }
.ticket__body > :last-child { margin-bottom: 22px; }
.ticket__edit { margin: 12px 24px 0; text-align: left; }
.ticket__toggle { display: none; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 12px 18px; border: 0; border-radius: var(--radius-lg); background: none; color: var(--forest); font: 600 .9375rem/1.3 var(--sans); text-align: left; }
.ticket__toggle .icon { color: var(--gold-ink); }
.ticket__toggle strong { margin-left: auto; font: 700 1.125rem/1 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.ticket__toggle strong small { margin-left: 5px; font: 500 .875rem/1 var(--sans); color: var(--muted); }
.ticket__chev { transition: transform .2s ease; }
.ticket.is-open .ticket__chev { transform: rotate(180deg); }
.trust { list-style: none; margin: 22px 0 0; padding: 0 4px; display: grid; gap: 16px; }
.trust li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: .9375rem; line-height: 1.45; color: var(--muted); }
.trust .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--gold-ink); }
.trust strong { display: block; color: var(--ink); font-weight: 600; }
.trust a { font-weight: 600; white-space: nowrap; }
@container (max-width: 1079px) {
  .ticket--collapsible .ticket__toggle { display: flex; }
  .ticket--collapsible:not(.is-open) .ticket__body { display: none; }
  .ticket--collapsible.is-open .ticket__toggle { border-bottom: 1px solid var(--line); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .layout--checkout .trust { display: none; }
}

/* ---------- Step 3: confirmation ---------- */
.confirm__main { display: grid; gap: 14px; justify-items: start; align-content: start; }
.confirm__main .steps { justify-self: stretch; }
.confirm__badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; background: var(--ok); color: #fff; box-shadow: 0 0 0 8px var(--ok-tint); }
.confirm__badge .icon { width: 30px; height: 30px; stroke-width: 2.4; }
.is-waiting .confirm__badge { background: var(--gold); color: var(--ink); box-shadow: 0 0 0 8px var(--gold-tint); }
.confirm__main .title-xl { max-width: 24ch; }
.confirm__main .title-sm { margin-top: 14px; }
.next-steps { list-style: none; padding: 0; margin: 0; width: 100%; max-width: 640px; display: grid; }
.next-steps li { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding-bottom: 20px; }
.next-steps li:not(:last-child)::before { content: ''; position: absolute; left: 16px; top: 36px; bottom: 2px; width: 2px; background: var(--line); }
.next-steps__mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1.5px solid var(--field-line); font-weight: 700; color: var(--ink); font-size: .9rem; font-variant-numeric: tabular-nums; }
.next-steps li.is-done .next-steps__mark { background: var(--ok); border-color: var(--ok); color: #fff; }
.next-steps strong { display: block; color: var(--ink); font-weight: 600; padding-top: 5px; font-variant-numeric: tabular-nums; }
.next-steps span:not(.next-steps__mark) { display: block; color: var(--muted); font-size: .9375rem; }
.confirm__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* ---------- One column (phones and tablets) ---------- */
@container (max-width: 1079px) {
  .layout, html.is-checkout .layout { max-width: calc(760px + 2 * var(--pad)); margin-inline: auto; }
  html.is-checkout .layout--package .rail { margin-top: 28px; }
}
@media (max-width: 700px) {
  .specs { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px 0; margin: 20px 0 24px; }
  .specs li { grid-template-columns: 88px minmax(0, 1fr); column-gap: 12px; padding: 0; border-left: 0; }
  .specs li + li { padding-top: 10px; border-top: 1px solid var(--line-soft); }
  .specs__label { grid-row: span 2; margin: 3px 0 0; }
  .specs li > :not(.specs__label) { grid-column: 2; }
  .layout__main { padding-bottom: 40px; }
  .form-grid, .travelers { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 22px 18px 24px; }
  .panel__req { margin-left: 0; margin-top: -10px; }
  .assist { padding: 26px 22px; }
  .pkg-body { gap: 40px; padding-top: 40px; }
  .gallery__caption { right: 150px; left: 16px; bottom: 16px; }
  .gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
}
@media (max-width: 420px) {
  .room-opt__body { padding: 11px 12px; column-gap: 10px; }
  .room-opt__price { font-size: 1.0625rem; }
  .pay-element { padding: 14px 12px; }
  .ticket__stub, .ticket__money { padding-inline: 18px; }
  .ticket__note { padding-inline: 18px; }
  .ticket__edit { margin-inline: 18px; }
  .bx-total__amount { font-size: 2.25rem; }
  .confirm__actions .btn { width: 100%; }
}

/* Shared with the staff booking view */
.lines { margin: 0; display: grid; gap: 8px; }
.lines > div { display: flex; justify-content: space-between; gap: 16px; font-size: .92rem; }
.lines dt { color: var(--ink-2); }
.lines dd { margin: 0; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lines__total { padding-top: 10px; margin-top: 2px; border-top: 1px solid var(--line); }
.lines__total dt { font-weight: 600; color: var(--ink); }
.lines__total dd { font-size: 1.15rem; }
.summary__facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: .92rem; }

/* ---------- Footer row ---------- */
.app-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 36px; padding-top: 14px; padding-bottom: 6px; border-top: 1px solid var(--line); }
.app-foot--alone { margin-top: 0; border-top: 0; }
.app-foot__switch { background: none; border: 0; padding: 6px 0; font: 600 .88rem/1.3 var(--sans); color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.app-foot__switch:hover { color: var(--red); }
.release { font-size: .75rem; line-height: 1.45; color: #6d776e; text-align: right; overflow-wrap: anywhere; }
.site-bar { background: var(--paper); border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.site-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.site-bar__links { display: flex; align-items: center; gap: 20px; font-weight: 600; font-size: .95rem; }
.site-bar__links a:not(.btn) { color: var(--ink); text-decoration: none; }
@media (max-width: 560px) { .site-bar__links a:not(.btn) { display: none; } .site-bar__brand img { width: 48px; height: 48px; } }
a.back-link { text-decoration: none; }
.ws-bar__who { margin: 0; max-width: 100%; color: rgba(255, 255, 255, .78); font: 600 .85rem/1.3 var(--sans); overflow-wrap: anywhere; }
.app--traveler { padding-bottom: 8px; }
/* The checkout page meets its legal row with no gap: the white rail runs to the app's bottom edge (polish 11/18). */
html.is-checkout .app--traveler { padding-bottom: 0; }

/* ---------- Toast and modal ---------- */
.toast { position: absolute; left: 50%; transform: translateX(-50%); z-index: 40; width: max-content; max-width: min(92%, 520px); padding: 12px 18px; border-radius: var(--radius); background: var(--ink); color: #fff; font-size: .93rem; line-height: 1.45; box-shadow: var(--shadow-2); }
.toast[hidden] { display: none; }
.app { position: relative; }
.modal-backdrop { position: absolute; inset: 0; z-index: 30; background: rgba(13, 31, 23, .45); padding: 0 16px; }
.modal { max-width: 460px; margin-inline: auto; background: var(--paper); border-radius: var(--radius-lg); padding: 24px 24px 20px; box-shadow: var(--shadow-2); }
.modal h2 { font: 700 1.35rem/1.25 var(--serif); margin-bottom: 8px; }
.modal p { color: var(--ink-2); }
.modal__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 20px; }

/* ---------- Staff workspace ---------- */
.app--staff { color: var(--ink-2); }
.ws { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--canvas); box-shadow: var(--shadow-1); }
html:not(.is-embedded) .ws { max-width: var(--wrap); margin: 0 auto; }
.ws-bar { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; padding: 10px 16px; background: var(--ink); color: #fff; }
.ws-bar__brand { display: flex; align-items: center; gap: 10px; font: 700 1.05rem/1.2 var(--serif); margin-right: auto; }
.ws-bar__brand img { width: 36px; height: 36px; border-radius: 50%; background: #fff; padding: 2px; }
.ws-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.ws-nav__item, .ws-bar__exit { display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; padding: 8px 12px; border: 0; border-radius: var(--radius-sm); background: transparent; color: rgba(255, 255, 255, .78); font: 600 .9rem/1.2 var(--sans); }
.ws-nav__item:hover, .ws-bar__exit:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.ws-nav__item.is-active { color: #fff; background: rgba(255, 255, 255, .14); box-shadow: inset 0 -2px 0 var(--gold); }
.ws-bar__exit { border: 1px solid rgba(255, 255, 255, .3); }
.ws-notice { margin: 16px 24px 0; }
.ws-main { padding: 26px 24px 30px; }
.ws-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 22px; }
.ws-head__title { font: 700 clamp(1.6rem, 1.3rem + 1vw, 2.1rem)/1.15 var(--serif); }
.ws-head p { color: var(--muted); margin-top: 6px; max-width: 70ch; }
.ws-head__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.metrics--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metric { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.metric__label { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .88rem; font-weight: 500; }
.metric__label .icon { color: var(--gold-ink); }
.metric__value { font: 700 1.75rem/1.15 var(--sans); color: var(--ink); margin: 8px 0 3px; font-variant-numeric: tabular-nums; }
.metric__note { font-size: .84rem; color: var(--muted); overflow-wrap: anywhere; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.card__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.card__head h2 { font: 700 1.12rem/1.3 var(--serif); display: flex; align-items: center; gap: .5rem; }
.card__head > .icon { color: var(--gold-ink); }
.card__hint { font-size: .86rem; color: var(--muted); }
.card__body { padding: 18px 20px 20px; }
.card__empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 26px 20px 28px; color: var(--muted); font-size: .93rem; }
.card__empty .icon { width: 28px; height: 28px; color: var(--ok); }
.card__empty strong { color: var(--ink); }
.card__empty--lg { padding: 44px 20px; }
.count { display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--cream); color: var(--ink); font: 700 .8rem/1 var(--sans); }
.ws-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rows { list-style: none; margin: 0; padding: 6px 0; }
.row-link { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 11px 20px; border: 0; background: transparent; text-align: left; }
.row-link:hover { background: var(--canvas); }
.row-link strong { display: block; color: var(--ink); font-weight: 600; }
.row-link small { display: block; color: var(--muted); font-size: .86rem; }
.row-link > .icon { color: var(--muted); }
.pipeline { list-style: none; margin: 0; padding: 18px 20px 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pipeline li { display: grid; gap: 4px; padding: 12px 12px 14px; border-radius: var(--radius-sm); background: var(--canvas); font-size: .86rem; color: var(--muted); position: relative; }
.pipeline__count { font: 700 1.5rem/1.1 var(--sans); color: var(--ink); }
.feed { list-style: none; margin: 0; padding: 4px 0; display: grid; gap: 14px; }
.card__head + .feed { padding: 16px 20px 20px; }
.feed li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 12px; align-items: start; font-size: .92rem; }
.feed p { color: var(--ink-2); }
.feed small { color: var(--muted); font-size: .84rem; }
.feed__dot { width: 9px; height: 9px; margin-top: 7px; border-radius: 50%; background: var(--line-2); }
.feed__dot--ok { background: var(--ok); }
.feed__amount { color: var(--ink); font-variant-numeric: tabular-nums; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: 3px 10px; border-radius: 999px; font: 600 .8rem/1.5 var(--sans); white-space: nowrap; }
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--ok { background: var(--ok-tint); color: var(--ok); }
.chip--info { background: var(--info-tint); color: var(--info); }
.chip--warn { background: var(--warn-tint); color: var(--warn); }
.chip--danger { background: var(--red-tint); color: #8e1424; }
.chip--neutral { background: #eeede8; color: #4c564e; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font: 600 .78rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 11px 16px; background: #fbfaf6; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--ink-2); }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fcfbf8; }
.table td strong { color: var(--ink); font-weight: 600; }
.tcell-sub { display: block; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.tcell-pkg { display: flex; align-items: center; gap: 14px; }
.tcell-pkg__thumb { width: 72px; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; background: var(--cream); flex: none; }
.tcell-pkg__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tcell-pkg strong { display: block; }
.tcell-pkg small { display: block; color: var(--muted); font-size: .84rem; }
.tcell-actions { text-align: right; white-space: nowrap; }
.tcell-actions .btn + .btn { margin-left: 6px; }
.ws-foot-note { font-size: .86rem; color: var(--muted); margin-top: 14px; }
.order-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: -8px 0 18px; font-size: .9rem; }
.ws-split { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 16px; align-items: start; }
.ws-split__main, .ws-split__side { display: grid; gap: 16px; min-width: 0; }
.trip-line { font: 700 1.25rem/1.3 var(--serif); color: var(--ink); margin-bottom: 10px; }
.ws-split .summary__facts { margin-bottom: 16px; }
.ws-split .lines { margin-bottom: 12px; }
.contact { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.contact__name { font-weight: 600; color: var(--ink); }
.contact__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 6px; font-size: .92rem; }
.contact__links a { display: inline-flex; align-items: center; gap: .4rem; }
.name-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; font-size: .93rem; }
.name-list li { display: flex; align-items: center; gap: .6rem; }
.name-list__n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--canvas); border: 1px solid var(--line); font-size: .78rem; font-weight: 700; color: var(--ink); flex: none; }
.staff-note { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--canvas); font-size: .9rem; display: grid; gap: 4px; }
.staff-note__label { font: 600 .78rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ws-split__side .card__body { display: grid; gap: 14px; }
.test-tools { display: grid; gap: 12px; margin-top: 4px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.test-tools__label { font: 600 .78rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Editor */
.editor-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 16px; }
.editor-bar__right { display: flex; align-items: center; gap: 14px; }
.segmented { display: inline-flex; padding: 4px; gap: 4px; border-radius: var(--radius); background: #e9e6dc; }
.segmented__btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 38px; padding: 6px 14px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink-2); font: 600 .9rem/1.2 var(--sans); }
.segmented__btn.is-active { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-1); }
.save-state { font-size: .86rem; color: var(--muted); display: inline-flex; align-items: center; gap: .4rem; }
.save-state::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.save-state.is-dirty { color: var(--warn); }
.save-state.is-dirty::before { background: var(--gold); }
.editor { display: grid; gap: 16px; }
.editor__section { overflow: hidden; }
.editor__extras > summary { list-style: none; cursor: pointer; }
.editor__extras > summary::-webkit-details-marker { display: none; }
.editor__extras > summary h2::after { content: '+'; margin-left: .5rem; color: var(--muted); font-family: var(--sans); font-weight: 600; }
.editor__extras[open] > summary h2::after { content: '–'; }
.editor__extras:not([open]) > summary { border-bottom: 0; }
.editor .card__body > .field + .field { margin-top: 16px; }
.editor__actions { display: flex; justify-content: flex-end; gap: 10px; }
.rate-editor { display: grid; gap: 10px; }
.rate-editor__row { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 16px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.rate-editor__row.is-off { background: var(--canvas); }
.repeat { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fcfbf8; }
.repeat + .repeat { margin-top: 12px; }
.repeat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font: 600 .8rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.repeat__tools { display: flex; align-items: center; gap: 8px; letter-spacing: 0; text-transform: none; }
.repeat--photo { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: start; }
.repeat__thumb { aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; background: var(--cream); }
.repeat__thumb img { width: 100%; height: 100%; object-fit: cover; }
.extras-addons { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.extras-addons > .repeat__head { margin-bottom: 12px; }
.field--checks { align-content: end; gap: 8px; }
.preview-frame { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream); padding: 18px 22px 28px; }
.preview-frame__label { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.preview-frame .notice { margin-bottom: 16px; }
.preview-frame .wrap { padding-inline: 0; max-width: none; }

/* Playfair's default numerals are old-style; the font shorthand above resets the numeral setting, so set it last. */
.title-xxl, .title-xl, .title-md, .title-sm, .pkg-title, .page-title, .section-title, .buybox__title, .ticket__title, .panel__head h2,
.assist__title, .route__what h3, .co-bar__name, .pkg-card__title, .ws-head__title, .card__head h2, .modal h2, .loading h1, .empty-state h1 { font-variant-numeric: lining-nums; }

/* ---------- Responsive: collection and staff ---------- */
@media (max-width: 1100px) {
  .pkg-grid { gap: 18px; }
  .pkg-grid > .pkg-card, .pkg-grid--quad > .pkg-card { flex-basis: calc((100% - 18px) / 2); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ws-grid, .ws-split { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Two cards across down to a 561px frame (an 800px window with a scrollbar gives a 689px frame; Derby rebuild QA 11/19). */
@media (max-width: 560px) { .pkg-grid > .pkg-card, .pkg-grid--quad > .pkg-card { flex-basis: 100%; } }
@media (max-width: 700px) {
  .pkg-card { flex-direction: column; }
  .pkg-card__media { width: 100%; aspect-ratio: 16 / 10; }
  .pkg-card__body { padding: 20px 18px 20px; }
  .assurance { padding: 16px 18px; }
  .assurance__list { flex-direction: column; gap: 10px; }
  .metrics, .metrics--3 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric { padding: 14px; }
  .metric__value { font-size: 1.4rem; }
  .ws-main { padding: 20px 14px 24px; }
  .ws-bar { padding: 10px 12px; }
  .ws-bar__brand span { font-size: .98rem; }
  .ws-nav { width: 100%; order: 3; }
  .ws-nav__item { flex: 1; justify-content: center; padding: 8px 6px; }
  .ws-nav__item .icon { display: none; }
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .table tbody tr:last-child { border-bottom: 0; }
  .table td { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: start; justify-items: start; padding: 5px 0; border: 0; }
  .table td::before { content: attr(data-label); font: 600 .75rem/1.6 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .table td[data-label='Package']:first-child, .table td[data-label='Actions'] { grid-template-columns: minmax(0, 1fr); }
  .table td[data-label='Package']:first-child::before, .table td[data-label='Actions']::before { display: none; }
  .tcell-actions { text-align: left; padding-top: 10px !important; }
  .ws-bar__exit span { display: none; }
  .ws-bar__exit { padding: 8px 10px; }
  .rate-editor__row { grid-template-columns: 1fr; gap: 10px; }
  .repeat--photo { grid-template-columns: 1fr; }
  .repeat__thumb { max-width: 220px; }
  .name-list { grid-template-columns: 1fr; }
  .release { text-align: left; }
}
@media (max-width: 420px) {
  .rates__cell { padding-inline: 4px; }
  .rates__cell dd { font-size: .95rem; }
  .pay-element__grid { gap: 10px; }
  .metrics, .metrics--3 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Stripe's card form (server mode) */
.stripe-payment { min-height: 132px; margin: 4px 0 6px; }
.pay-element--live .pay-element__note { margin-top: 10px; }

/* Staff sign-in (server mode) */
.staff-gate { max-width: 560px; padding-top: 48px; padding-bottom: 64px; }
.staff-gate__form { display: grid; gap: 14px; margin: 18px 0 8px; }
.staff-gate__back { margin-top: 28px; }
