/*
 * vBooking Bridge: a directory's operator box (DM2, docs/directory-mode-plan.md section 3 and
 * "DM2 as built"), after vbk-fares.css; the markup is includes/directory/box.php. Designed by
 * Fable on 2026-11-26, approved by the owner with E1.
 *
 * One reading order, top to bottom, and nothing said twice:
 *   who runs the tour  ·  the from price  ·  one list of ways to reach them  ·  the foot line.
 * The first number is ON its Call button ("Call +91 91872 97956"), so no number stands apart
 * from its button. Call is the one wide filled action; WhatsApp sits under it in its green
 * beside an outlined Send enquiry. A second number is one quiet line of links under the buttons,
 * never a second set of buttons. With no number, Send enquiry is the filled action, alone.
 *
 * The box is a member of the fare blocks family: .vbk.vbk-fares with its own mini-theme and
 * mode on its own root, the family's reset, roles and .vbk-act. Every colour is a --vbk-* role
 * (and WhatsApp's green). One markup; rows wrap by their own width (flex-wrap with em bases),
 * so large text or a narrow column drops a button to the next row instead of overlapping, and
 * the container query only adds room and puts the price beside the name.
 *
 * WhatsApp keeps its green, the one colour outside the mini-theme, with a light and a dark
 * value, each at least 4.5:1 for its words, filled and as text, on every mini-theme's surface
 * and soft surface (7.67 and 6.67 light, 9.38 and 7.32 dark at the lowest).
 */
.vbk.vbk-fares.vbk-op,
.vbk.vbk-fares.vbk-bar--dir {
  --vbk-wa: #075e54;
  --vbk-on-wa: #ffffff;
}
.vbk.vbk-fares.vbk-op[data-vbk-mode="dark"],
.vbk.vbk-fares.vbk-bar--dir[data-vbk-mode="dark"] {
  --vbk-wa: #25d366;
  --vbk-on-wa: #0b141a;
}
@media (prefers-color-scheme: dark) {
  .vbk.vbk-fares.vbk-op[data-vbk-mode="auto"],
  .vbk.vbk-fares.vbk-bar--dir[data-vbk-mode="auto"] {
    --vbk-wa: #25d366;
    --vbk-on-wa: #0b141a;
  }
}

/*
 * A theme's own rules for sections, paragraphs, list items and spans (padding, list marks,
 * justified text, size, colour, spacing) stay out of the box (DM3's Fable review; DM4): its parts
 * take the card's. Before the parts' own rules, which then set what they need.
 */
.vbk.vbk-fares.vbk-op {
  padding: 0;
}
.vbk-fares .vbk-op__card :where(p, li) {
  color: inherit;
  font-size: 1em;
  font-style: normal;
  line-height: inherit;
  letter-spacing: normal;
  text-align: start;
  text-transform: none;
  list-style: none;
}
.vbk-fares .vbk-op__card :where(span, b, bdi) {
  letter-spacing: normal;
  text-transform: none;
}
.vbk-fares .vbk-op__act::before,
.vbk-fares .vbk-op__act::after {
  content: none;
}

/* The card. */
.vbk-fares .vbk-op__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  overflow: hidden;
  padding: 16px 16px 0;
  border: 1px solid var(--vbk-line);
  border-radius: var(--vbk-radius);
  background: var(--vbk-surface);
  color: var(--vbk-text);
}
/* A name or a number of any length wraps, never overflows. */
.vbk-fares .vbk-op__card bdi {
  overflow-wrap: anywhere;
}

/* Who, and the from price: one under the other on a narrow box, side by side on a wide one. */
.vbk-fares .vbk-op__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px 24px;
}
.vbk-fares.vbk-op .vbk-op__head {
  flex: 1 1 12em;
  min-width: 0;
  color: inherit;
  font-family: inherit;
  font-size: 1.3em;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: normal;
  text-transform: none;
}
.vbk-fares .vbk-op__lead {
  display: block;
  margin-bottom: 2px;
  color: var(--vbk-muted);
  font-size: max(13px, 0.62em);
  font-weight: 400;
  line-height: 1.4;
}
/* "From ₹5,599 per vehicle + taxes": the engine's words in its order; the amount is what the eye lands on. */
.vbk-fares .vbk-op__from {
  flex: 0 1 auto;
  min-width: 0;
  color: var(--vbk-muted);
  font-size: max(13px, 0.88em);
  line-height: 1.35;
}
.vbk-fares .vbk-op__amt {
  color: var(--vbk-price);
  font-size: 1.4em;
  font-weight: 700;
  white-space: nowrap;
}
/* "Price on request" is a sentence, not an amount. */
.vbk-fares .vbk-op__from--ask {
  color: var(--vbk-text);
  font-weight: 600;
}
/* The house's line under its heading. */
.vbk-fares .vbk-op__text {
  flex: 1 1 100%;
  color: var(--vbk-muted);
}

/*
 * The ways to reach them: one list. Call takes a row of its own; WhatsApp and Send enquiry
 * share the next where both fit with their words whole (they keep their own width, so on a
 * very narrow box or at large text they stack); an action alone takes the row.
 */
.vbk-fares .vbk-op__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.vbk-fares .vbk-op__act {
  display: flex;
  flex: 1 1 7em;
}
.vbk-fares .vbk-op__act--call {
  flex-basis: 100%;
  min-width: 0;
}
.vbk-fares.vbk-op .vbk-op__act > .vbk-act {
  flex: 1 1 auto;
  min-height: 48px;
  padding: 6px 10px;
  font-size: max(13px, 0.9em);
}
/* The number on its button: it may break at its spaces when the text is very large. */
.vbk-fares.vbk-op .vbk-op__act--call > .vbk-act {
  flex-wrap: wrap;
  row-gap: 0;
  min-width: 0;
  white-space: normal;
  text-align: center;
  font-size: max(13px, 1em);
}
.vbk-fares .vbk-op__tel {
  font-weight: 700;
  letter-spacing: 0.01em;
}
/* An outlined action is drawn in the action colour, so it reads as a button beside the filled ones. */
.vbk-fares.vbk-op .vbk-op__act > .vbk-act:not(.vbk-act--fill):not(.vbk-act--wa) {
  border-color: var(--vbk-action);
}

/* WhatsApp: its green. */
.vbk-fares.vbk-op .vbk-act--wa {
  border-color: var(--vbk-wa);
  color: var(--vbk-wa);
}
.vbk-fares.vbk-op .vbk-act--wa::before {
  background: currentColor;
}
.vbk-fares.vbk-op .vbk-act--wa.vbk-act--fill {
  background: var(--vbk-wa);
  color: var(--vbk-on-wa);
}
@media (hover: hover) {
  .vbk-fares.vbk-op .vbk-act.vbk-act--wa:hover {
    border-color: var(--vbk-wa);
    box-shadow: inset 0 0 0 1px var(--vbk-wa);
  }
  .vbk-fares.vbk-op .vbk-act.vbk-act--wa.vbk-act--fill:hover {
    background: color-mix(in srgb, var(--vbk-wa) 88%, var(--vbk-surface));
  }
}

/*
 * A second number: one quiet line of links, each 44 px tall. No box, no fill: it is the
 * other way in, not a second choice to weigh.
 */
.vbk-fares .vbk-op__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 20px;
  margin: -10px 0 -8px;
  color: var(--vbk-muted);
  font-size: max(13px, 0.9em);
}
.vbk-fares.vbk-op .vbk-op__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  border-radius: 4px;
  color: var(--vbk-muted);
  font-weight: 400;
  text-decoration: none;
}
.vbk-fares.vbk-op .vbk-op__link .vbk-op__tel,
.vbk-fares.vbk-op .vbk-op__link--wa {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.vbk-fares.vbk-op .vbk-op__link .vbk-op__tel {
  color: var(--vbk-text);
}
.vbk-fares.vbk-op .vbk-op__link--wa {
  color: var(--vbk-wa);
}
.vbk-fares.vbk-op .vbk-op__link--wa::before {
  width: 18px;
  height: 18px;
}
.vbk-fares.vbk-op .vbk-op__link:focus-visible {
  outline: 2px solid var(--vbk-text);
  outline-offset: 2px;
}
@media (hover: hover) {
  .vbk-fares.vbk-op .vbk-op__link:hover .vbk-op__tel,
  .vbk-fares.vbk-op .vbk-op__link--wa:hover {
    text-decoration-thickness: 2px;
  }
}

/* The foot line, at 13 px at least, inside the card: the family's colours stay on its surface. */
.vbk-fares .vbk-op__foot {
  margin: 0 -16px;
  padding: 10px 16px;
  border-top: 1px solid var(--vbk-line);
  background: var(--vbk-soft);
  color: var(--vbk-muted);
  font-size: max(13px, 0.82em);
}

/*
 * A wide box: more room, and the actions in one row (they wrap by themselves where they do not
 * fit). The price already sits to the right of the name wherever both fit on one line (the
 * wrapping row above), and under it where they do not. An action alone (no number) is a
 * button, not a band across the card.
 */
@container (min-width: 560px) {
  .vbk-fares .vbk-op__card {
    gap: 18px;
    padding: 20px 20px 0;
  }
  .vbk-fares .vbk-op__foot {
    margin: 0 -20px;
    padding: 10px 20px;
  }
  .vbk-fares .vbk-op__act,
  .vbk-fares .vbk-op__act--call {
    flex: 1 1 auto;
  }
  .vbk-fares .vbk-op__act:only-child {
    flex: 0 1 auto;
  }
  .vbk-fares.vbk-op .vbk-op__act:only-child > .vbk-act {
    min-width: 14em;
  }
}

/*
 * The directory's bar. The same order of importance as the box, so the visitor learns it once:
 * Call filled and first, WhatsApp's green square, Send enquiry outlined. With no number, Send
 * enquiry is filled and alone (the markup gives it vbk-act--fill then).
 */
.vbk-fares.vbk-bar--dir .vbk-act--wa {
  border-color: var(--vbk-wa);
  background: var(--vbk-wa);
  color: var(--vbk-on-wa);
}
.vbk-fares.vbk-bar--dir .vbk-bar__send:not(.vbk-act--fill) {
  flex: 1;
  border-color: var(--vbk-action);
}
@media (min-width: 768px) {
  .vbk-fares.vbk-bar--dir .vbk-bar__send:not(.vbk-act--fill) {
    flex: none;
  }
  /* The bar on phones only (the Directory tab): no bar, and no space kept for it, from 768 px. */
  .vbk.vbk-fares.vbk-bar--phones {
    display: none;
  }
}

/*
 * The enquiry sheet on a directory (DM4; includes/directory/enquiry.php): F2.6's sheet
 * (vbk-fares.css), with the tour as its first field, filled and editable, and who the enquiry goes to
 * just above Send enquiry, where it is read before sending, with the privacy link. The sheet is
 * printed in the footer, outside the post, where a theme's rules for every paragraph still reach:
 * they stay out (one class, so the sheet's own rules still set what they need).
 */
.vbk-sheet--dir :where(p, label, summary, span, bdi) {
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
}
.vbk-sheet--dir :where(p) {
  color: inherit;
  font-size: 1em;
  line-height: inherit;
  text-align: start;
}
.vbk-fares.vbk-sheet--dir .vbk-sheet__body {
  padding-top: 12px;
}
/* Two fields side by side only where both keep their words whole (a date field's own width). */
.vbk-fares.vbk-sheet--dir .vbk-form__row {
  grid-template-columns: repeat(auto-fit, minmax(min(9.5em, 100%), 1fr));
}
.vbk-fares.vbk-sheet--dir .vbk-form__field input {
  width: 100%;
  min-width: 0;
}
/* The Tour field grows with its title, so a long one is read whole. */
.vbk-fares.vbk-sheet--dir .vbk-form__field textarea.vbk-form__tour {
  field-sizing: content;
  min-height: 46px;
  padding: 11px 12px;
  line-height: 1.4;
  resize: none;
}
/* A focused field never sits under the head (one scroll) or above the fields' edge. */
.vbk.vbk-fares.vbk-sheet--flow {
  scroll-padding-block: 5.5em 12px;
}
.vbk-fares.vbk-sheet--dir .vbk-sheet__body {
  scroll-padding-top: 2em;
}
/*
 * A theme's rules for every field, button, heading, link and fold (the sheet is outside the post,
 * where they reach): they stay out.
 */
.vbk-fares.vbk-sheet--dir .vbk-form__field :is(input, select, textarea) {
  height: auto;
  max-width: none;
  letter-spacing: normal;
  text-transform: none;
  transition: none;
}
.vbk-fares.vbk-sheet--dir .vbk-sheet__title {
  border: 0;
}
.vbk-fares.vbk-sheet--dir .vbk-sheet__title::after {
  content: none;
}
.vbk-fares.vbk-sheet--dir .vbk-sheet__close,
.vbk-fares.vbk-sheet--dir button.vbk-act {
  min-width: 0;
  line-height: normal;
  letter-spacing: normal;
  text-transform: none;
}
.vbk-fares.vbk-sheet--dir .vbk-sheet__x {
  width: auto;
}
.vbk-fares.vbk-sheet--dir .vbk-more {
  border: 0;
}
/* The fold's sign is drawn, not read aloud. */
.vbk-fares.vbk-sheet--dir .vbk-more > summary::before {
  content: "+" / "";
}
.vbk-fares.vbk-sheet--dir .vbk-more[open] > summary::before {
  content: "−" / "";
}
/* A filled action on hover stays at 4.5:1 or more on every mini-theme (marigold light was 4.01). */
@media (hover: hover) {
  .vbk-fares.vbk-sheet--dir .vbk-act--fill:hover {
    background: color-mix(in srgb, var(--vbk-action) 88%, var(--vbk-text));
  }
}
.vbk-fares .vbk-sheet__notice {
  color: var(--vbk-text);
  font-size: max(13px, 0.84em);
  line-height: 1.45;
}
.vbk-fares .vbk-sheet__notice bdi {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.vbk-fares .vbk-sheet__notice a {
  position: relative;
  border: 0;
  background: none;
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
/* A 44 px target around the word, which keeps clear of Send enquiry below it. */
.vbk-fares .vbk-sheet__notice a::after {
  content: "";
  position: absolute;
  inset: -22px -12px -7px;
}
.vbk-fares .vbk-sheet__notice a:focus-visible {
  outline: 2px solid var(--vbk-text);
  outline-offset: 2px;
}
/*
 * A short screen or large text, where the foot would take the fields' room (the script adds
 * vbk-sheet--flow when the foot is over 35% of the sheet): the whole sheet scrolls as one, its
 * head staying in sight, so the fields keep their room and the notice is still passed on the way
 * to Send enquiry.
 */
.vbk.vbk-fares.vbk-sheet--flow {
  overflow-y: auto;
  overscroll-behavior: contain;
}
.vbk-fares.vbk-sheet--flow .vbk-sheet__head {
  position: sticky;
  z-index: 1;
  top: 0;
  background: var(--vbk-surface);
}
.vbk-fares.vbk-sheet--flow .vbk-form,
.vbk-fares.vbk-sheet--flow .vbk-sheet__body {
  flex: none;
  min-height: auto;
  overflow: visible;
}

/* The box's first number, on a send that failed: its green for WhatsApp, as in the box. */
.vbk.vbk-fares.vbk-sheet--dir {
  --vbk-wa: #075e54;
  --vbk-on-wa: #ffffff;
}
.vbk.vbk-fares.vbk-sheet--dir[data-vbk-mode="dark"] {
  --vbk-wa: #25d366;
  --vbk-on-wa: #0b141a;
}
@media (prefers-color-scheme: dark) {
  .vbk.vbk-fares.vbk-sheet--dir[data-vbk-mode="auto"] {
    --vbk-wa: #25d366;
    --vbk-on-wa: #0b141a;
  }
}
.vbk-fares.vbk-sheet--dir .vbk-sheet__alt .vbk-act--wa {
  border-color: var(--vbk-wa);
  color: var(--vbk-wa);
}
.vbk-fares.vbk-sheet--dir .vbk-sheet__alt .vbk-act--call {
  border-color: color-mix(in srgb, var(--vbk-text) 55%, var(--vbk-surface));
}

/*
 * The Prices block (DM3; includes/directory/prices.php). Designed by Fable on 2026-11-26.
 *
 * A price list, read top to bottom, every word the engine's and in its order:
 *   "Prices"  ·  what it covers  ·  the rows  ·  the taxes  ·  the two lists  ·  the car  ·  the note.
 * No from line: the box above says it, and the rows show every price (owner, 2026-11-26).
 * It is the box's card (the same edge, surface and soft foot), so the two read as one family on
 * a post. The rows are a ruled list with ONE column of prices down the right edge: a name on
 * the left, its price on the right, and where the two do not fit on a line the price drops
 * under its name, still on the right. "Price on request" is a sentence, not an amount, so it is
 * quiet. An amount says its basis beside it ("₹7,999 per couple", owner 2026-11-27). The taxes
 * sit right under the rows as their caption. The lists carry a tick or a cross on every line, so
 * they still read apart where they stack. The car has its own row under them (2026-11-27). The
 * note is the card's foot.
 *
 * One markup. Widths that depend on the words are in em, so large text reshapes the block the
 * way a narrow box does: rows wrap by themselves (flex-wrap), and the container query, in em
 * too, only sets the vehicles in two columns. Colours are the mini-theme's roles alone. Every
 * element styled here has its own vbk- class, so the family's reset reaches it.
 */
/*
 * A theme's own rules for paragraphs, list items and definitions (colour, size, italics,
 * justified text) stay out: the block's parts take the card's. Before the parts' own rules,
 * which then set what they need.
 */
.vbk.vbk-fares.vbk-pb {
  padding: 0;
}
.vbk-fares .vbk-pb__card :where(p, li, dt, dd) {
  color: inherit;
  font-size: 1em;
  font-style: normal;
  line-height: inherit;
  letter-spacing: normal;
  text-align: start;
  text-transform: none;
}
/* A theme's spacing and capitals on spans stay out of the amounts, the basis and the car. */
.vbk-fares .vbk-pb__card :where(span, bdi) {
  letter-spacing: normal;
  text-transform: none;
}
.vbk-fares .vbk-pb__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--vbk-line);
  border-radius: var(--vbk-radius);
  background: var(--vbk-surface);
  color: var(--vbk-text);
}
/* A name or a typed line of any length wraps, never overflows. */
.vbk-fares .vbk-pb__card bdi {
  overflow-wrap: anywhere;
}

/* "Prices": the card's heading (owner, 2026-11-26), below the box's name in size. */
.vbk-fares.vbk-pb .vbk-pb__head {
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--vbk-text);
  font-family: inherit;
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: normal;
  text-transform: none;
}
.vbk-fares.vbk-pb .vbk-pb__head::before,
.vbk-fares.vbk-pb .vbk-pb__head::after {
  content: none;
}

/* "Up to 14 hours": what the prices cover, under the heading. */
.vbk-fares .vbk-pb__allow {
  margin-top: 2px;
  color: var(--vbk-muted);
  font-size: max(13px, 0.88em);
  line-height: 1.45;
}

/*
 * The rows: a ruled list, a rule over the first row and under every row. In two columns each
 * column keeps its own rules, so an odd row out leaves no half-drawn box.
 */
.vbk-fares .vbk-pb__rows {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 28px;
  margin-top: 12px;
  list-style: none;
}
.vbk-fares .vbk-pb__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--vbk-line);
  list-style: none;
}
.vbk-fares .vbk-pb__row:first-child {
  border-top: 1px solid var(--vbk-line);
}
/* A theme's own list marks stay out. */
.vbk-fares .vbk-pb__row::before,
.vbk-fares .vbk-pb__row::after {
  content: none;
}
.vbk-fares .vbk-pb__main {
  display: flex;
  flex: 1 1 9em;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.vbk-fares .vbk-pb__title {
  font-weight: 600;
  line-height: 1.35;
}
.vbk-fares .vbk-pb__detail {
  color: var(--vbk-muted);
  font-size: max(13px, 0.86em);
  line-height: 1.4;
}
/* "3 Star Hotel" stays whole. */
.vbk-fares .vbk-pb__class {
  white-space: nowrap;
}
/*
 * The one column of prices: at the right edge, beside its name or under it. An amount says its
 * basis beside it ("₹7,999 per couple", owner 2026-11-27), as text with a real space between
 * them: a row's basis under its amount on a narrow box, on its line from 35em; an age line's
 * (per person, beside the adult's and each child's) always on its line, so a card keeps one
 * form. Each stays whole; where the two do not fit they break at the space.
 */
.vbk-fares .vbk-pb__price {
  flex: 0 1 auto;
  min-width: 0;
  margin-inline-start: auto;
  color: var(--vbk-price);
  font-weight: 700;
  line-height: 1.35;
  text-align: end;
}
.vbk-fares .vbk-pb__amount,
.vbk-fares .vbk-pb__basis {
  white-space: nowrap;
}
.vbk-fares .vbk-pb__basis {
  color: var(--vbk-muted);
  font-size: max(13px, 0.82em);
  font-weight: 400;
}
.vbk-fares:not(.vbk-pb--people) .vbk-pb__row > .vbk-pb__price > .vbk-pb__basis {
  display: block;
}
.vbk-fares .vbk-pb__price--ask {
  color: var(--vbk-muted);
  font-size: max(13px, 0.9em);
  font-weight: 400;
  white-space: normal;
}

/*
 * Per person with children: "Adult ₹650", then each child's line. Under the row's label on a
 * narrow box; beside it where both fit, so a label and its price stay close on a wide one.
 */
.vbk-fares .vbk-pb__ages {
  display: grid;
  flex: 1 1 15em;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.4em;
  min-width: 0;
}
.vbk-fares .vbk-pb__age {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 16px;
}
.vbk-fares .vbk-pb__who {
  color: var(--vbk-muted);
  font-weight: 400;
  line-height: 1.35;
}

/* "Taxes extra": the rows' caption, when the block says it. */
.vbk-fares .vbk-pb__terms {
  margin-top: 8px;
  color: var(--vbk-muted);
  font-size: max(13px, 0.88em);
  line-height: 1.45;
}

/* Included, Not included: side by side where both fit, one under the other where not. */
.vbk-fares .vbk-pb__lists {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 18px;
}
.vbk-fares .vbk-pb__list {
  flex: 1 1 13em;
  min-width: 0;
}
.vbk-fares.vbk-pb .vbk-pb__listhead {
  margin-bottom: 6px;
  border: 0;
  color: inherit;
  font-family: inherit;
  font-size: max(13px, 0.9em);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: normal;
  text-transform: none;
}
.vbk-fares .vbk-pb__items {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  list-style: none;
}
.vbk-fares .vbk-pb__item {
  position: relative;
  padding-inline-start: 1.6em;
  line-height: 1.4;
  list-style: none;
}
/* A tick or a cross on the line's first line; drawn, so it is the same in every font. */
.vbk-fares .vbk-pb__item::before {
  content: "";
  position: absolute;
  inset-block-start: 0.2em;
  inset-inline-start: 0;
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: var(--vbk-icon) center / contain no-repeat;
  mask: var(--vbk-icon) center / contain no-repeat;
}
.vbk-fares .vbk-pb__list--included .vbk-pb__item::before {
  --vbk-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2.6'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%20d%3D'M4.5%2012.8l4.7%204.7L19.5%207'%2F%3E%3C%2Fsvg%3E");
  color: var(--vbk-text);
}
.vbk-fares .vbk-pb__list--excluded .vbk-pb__item::before {
  --vbk-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2.2'%20stroke-linecap%3D'round'%20d%3D'M6.5%206.5l11%2011M17.5%206.5l-11%2011'%2F%3E%3C%2Fsvg%3E");
  color: var(--vbk-muted);
}

/* The car: its own row under the lists, a rule above it; a small car drawn before "Car". */
.vbk-fares .vbk-pb__car {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--vbk-line);
  line-height: 1.4;
}
/* Right under the rows, their own rule is the one above it. */
.vbk-fares .vbk-pb__rows + .vbk-pb__car {
  margin-top: 0;
  border-top: 0;
}
.vbk-fares .vbk-pb__carhead {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 700;
}
.vbk-fares .vbk-pb__carhead::before {
  content: "";
  align-self: center;
  width: 1.4em;
  height: 0.75em;
  background: currentColor;
  -webkit-mask: var(--vbk-car) center / contain no-repeat;
  mask: var(--vbk-car) center / contain no-repeat;
  --vbk-car: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2048%2024'%3E%3Cpath%20d%3D'M3%2015.5c0-2.3%201.5-3.4%205-3.8l4.2-4.6C13.4%205.6%2014.5%205%2016.5%205h10.3c2.3%200%203.5.8%205%202.3l3.8%204.2c3%20.4%205%201.2%205%203.8v1.2c0%20.8-.4%201.2-1.2%201.2h-3.1a4.2%204.2%200%200%200-8.4%200h-9.8a4.2%204.2%200%200%200-8.4%200H4.2c-.8%200-1.2-.4-1.2-1.2z'%2F%3E%3Ccircle%20cx%3D'13.9'%20cy%3D'17.7'%20r%3D'3'%2F%3E%3Ccircle%20cx%3D'32.1'%20cy%3D'17.7'%20r%3D'3'%2F%3E%3C%2Fsvg%3E");
}
.vbk-fares .vbk-pb__cars {
  flex: 1 1 9em;
  min-width: 0;
  color: var(--vbk-muted);
}

/* The note: the card's foot, as the box's foot line is. */
.vbk-fares .vbk-pb__note {
  margin: 16px -16px -16px;
  padding: 10px 16px;
  border-top: 1px solid var(--vbk-line);
  background: var(--vbk-soft);
  color: var(--vbk-muted);
  font-size: max(13px, 0.88em);
  line-height: 1.45;
}

/* A wide box: more room, as the box takes. */
@container (min-width: 560px) {
  .vbk-fares .vbk-pb__card {
    padding: 20px;
  }
  .vbk-fares .vbk-pb__note {
    margin: 18px -20px -20px;
    padding: 10px 20px;
  }
}
/* The basis on the amount's line, where both fit beside a name: in em, so large text keeps it
   under the amount. */
@container (min-width: 35em) {
  .vbk-fares:not(.vbk-pb--people) .vbk-pb__row > .vbk-pb__price > .vbk-pb__basis {
    display: inline;
  }
}
/* A wide card (a desktop's): Included a list in two columns; Not included a column of its own
   behind a thin rule. In em, so large text keeps the narrow lists. */
@container (min-width: 40em) {
  .vbk-fares .vbk-pb__lists {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 16px 0;
  }
  .vbk-fares .vbk-pb__list:only-child {
    grid-column: 1 / -1;
  }
  /* Two columns read downwards, so a long line leaves no hole beside it. */
  .vbk-fares .vbk-pb__list--included .vbk-pb__items {
    display: block;
    columns: 2;
    column-gap: 20px;
  }
  .vbk-fares .vbk-pb__list--included .vbk-pb__item {
    break-inside: avoid;
    padding-block-end: 4px;
  }
  .vbk-fares .vbk-pb__list--included + .vbk-pb__list--excluded {
    padding-inline-start: 24px;
    margin-inline-start: 24px;
    border-inline-start: 1px solid var(--vbk-line);
  }
}
/* Per vehicle with four rows or more, where two names and their prices fit side by side: two
   columns of rows (fewer rows stay one list, with no hole and the caption under them all). In
   em, so large text keeps one column. A person's age lines sit at the right, near their prices. */
@container (min-width: 36em) {
  .vbk-fares.vbk-pb--vehicles .vbk-pb__rows:has(> .vbk-pb__row:nth-child(4)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vbk-fares.vbk-pb--vehicles
    .vbk-pb__rows:has(> .vbk-pb__row:nth-child(4))
    > .vbk-pb__row:nth-child(2) {
    border-top: 1px solid var(--vbk-line);
  }
  .vbk-fares .vbk-pb__ages {
    flex: 0 1 18em;
    margin-inline-start: auto;
  }
}
/* Forced colours: the marks are drawn in the text's colour. */
@media (forced-colors: active) {
  .vbk-fares .vbk-pb__item::before,
  .vbk-fares .vbk-pb__carhead::before {
    background: CanvasText;
  }
}

@media (forced-colors: active) {
  .vbk-fares.vbk-op .vbk-act--wa,
  .vbk-fares.vbk-op .vbk-act--wa.vbk-act--fill,
  .vbk-fares.vbk-op .vbk-op__act > .vbk-act:not(.vbk-act--fill):not(.vbk-act--wa) {
    border-color: ButtonText;
  }
  .vbk-fares.vbk-op .vbk-op__link,
  .vbk-fares.vbk-op .vbk-op__link .vbk-op__tel,
  .vbk-fares.vbk-op .vbk-op__link--wa {
    color: LinkText;
  }
}

/*
 * E1 (approved by the owner, 2026-11-26; it can be taken out with no other change): on a phone the bar
 * steps aside while the box itself is on screen, so the same three actions are never shown
 * twice at once. CSS only (a scroll-driven animation); a browser without it keeps the bar.
 * Two boxes on one page make the timeline inactive, and the bar stays.
 */
@supports (animation-timeline: view()) and (timeline-scope: --vbk-op) {
  @media (max-width: 767px) {
    :root:has(.vbk-op) {
      timeline-scope: --vbk-op;
    }
    .vbk.vbk-fares.vbk-op {
      view-timeline: --vbk-op block;
    }
    .vbk-fares.vbk-bar--dir .vbk-bar__fix {
      animation: vbk-bar-aside linear both;
      animation-timeline: --vbk-op;
      animation-range: entry 70% exit 30%;
    }
  }
}
@keyframes vbk-bar-aside {
  0%,
  100% {
    visibility: visible;
    translate: 0 0;
  }
  0.5%,
  99.5% {
    visibility: hidden;
    translate: 0 110%;
  }
}
