/* Booking flows: cart, checkout, live booking page, list, chat, receipt, addresses.
   Design v2 (docs/DESIGN.md): neutral surfaces, hairline borders, ONE accent for primary actions and active states, no gradients,
   status as small text/icon indicators. Tokens only (no colour literals). Prefix: bk- */

:where(.bk, .ax, .acct, .kc, .sp) {
  --s2: var(--surface-2, var(--line-2));
  --c-ok: var(--ok, var(--pine));
  --c-bad: var(--bad, var(--danger));
  --c-warn: var(--warn, var(--on-gold));
  --c-star: var(--star, var(--gold));
  --gutter: clamp(16px, 4vw, 64px);
  --r-card: 14px;
  --r-sheet: 20px;
}
.bk { color: var(--ink); }
.bk * { box-sizing: border-box; }
.bk .i { width: 20px; height: 20px; flex: none; }
.bk .i.sm { width: 16px; height: 16px; }
.bk .i.lg { width: 24px; height: 24px; }

/* ------------------------------------------------------------------ layout */
.bk-page { padding: 12px var(--gutter) 128px; }
.bk-narrow { max-width: 760px; margin-inline: auto; }
.bk-title { font-size: 26px; line-height: 1.12; letter-spacing: -.03em; margin: 4px 0 2px; }
.bk-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 14px; }
.bk-title-row .bk-title { margin: 0; }
.bk-back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--muted); font-size: 14px; font-weight: 600; margin-left: -4px; }
.bk-back:hover { color: var(--ink); }
.bk-stack { display: grid; gap: 14px; align-content: start; }
.bk-row { display: flex; align-items: center; gap: 10px; }
.bk-wrap { flex-wrap: wrap; }
.bk-between { justify-content: space-between; }
.bk-grow { flex: 1; min-width: 0; }
.bk-muted { color: var(--muted); }
.bk-small { font-size: 13px; }
.bk-bold { font-weight: 700; }
.bk-center { text-align: center; }
.bk-ok { color: var(--c-ok); }
.bk-bad { color: var(--c-bad); }
.bk-hr { border: 0; border-top: 1px solid var(--line); margin: 2px 0; width: 100%; }

.bk-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; }
.bk-card.flat { background: transparent; }
.bk-h { display: flex; align-items: center; gap: 10px; font-size: 17px; letter-spacing: -.02em; margin: 0; }
.bk-step { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--bg); display: inline-grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; }

.bk-cols { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .bk-cols { grid-template-columns: minmax(0, 1fr) clamp(360px, 32vw, 520px); gap: clamp(24px, 3vw, 56px); align-items: start; }
  .bk-aside { position: sticky; top: calc(var(--top-h, 60px) + 16px); }
  .bk-page { padding-bottom: 56px; }
}

/* inline notices: neutral, status shown by icon colour only */
.bk-banner { display: flex; gap: 12px; align-items: flex-start; border-radius: 12px; padding: 12px 14px; font-size: 14px; background: var(--s2); border: 1px solid var(--line); }
.bk-banner > .i { margin-top: 1px; }
.bk-banner b { display: block; }
.bk-banner a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; color: var(--ink); }
.bk-banner.info > .i { color: var(--ink-2); }
.bk-banner.warn > .i { color: var(--c-warn); }
.bk-banner.err > .i { color: var(--c-bad); }
.bk-banner.ok > .i { color: var(--c-ok); }
.bk-banner[hidden] { display: none; }

/* ------------------------------------------------------------------ controls */
.bk-field { display: grid; gap: 6px; }
.bk-field > label, .bk-label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.bk-fields { display: grid; gap: 14px; }
@media (min-width: 640px) { .bk-fields.two { grid-template-columns: 1fr 1fr; } }
.bk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x proximity; }
.bk-chips.scroll::-webkit-scrollbar { display: none; }
.bk-chips.scroll > * { flex: none; scroll-snap-align: start; }
.bk-sheet .bk-chips.scroll, .bk-card .bk-chips.scroll { margin-inline: -16px; padding-inline: 16px; }
.bk-chip { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: border-color .15s, background-color .15s, color .15s; position: relative; }
.bk-chip:hover { border-color: var(--muted); }
.bk-chip.on, .bk-chip[aria-pressed="true"], .bk-chip:has(input:checked) { border-color: var(--brand); color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.bk-chip input { position: absolute; opacity: 0; pointer-events: none; }
.bk-chip:has(input:focus-visible), .bk-chip:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.bk-chip.day { flex-direction: column; gap: 0; min-width: 64px; line-height: 1.2; padding: 8px 14px; border-radius: 14px; }
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.bk-times[hidden] { display: none; }
.bk-times .bk-chip { border-radius: 12px; }

.bk-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--s2); padding: 4px; border-radius: 12px; }
.bk-seg label { display: grid; place-items: center; min-height: 44px; border-radius: 9px; cursor: pointer; font-weight: 600; font-size: 14px; text-align: center; padding: 0 8px; color: var(--ink-2); transition: background-color .15s; }
.bk-seg input { position: absolute; opacity: 0; }
.bk-seg label:has(input:checked) { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; }
.bk-seg label:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.bk-seg label:has(input:focus-visible) { outline: 3px solid var(--focus); }

.bk-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; min-height: 56px; background: var(--surface); transition: border-color .15s; }
.bk-opt:has(input:checked) { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.bk-opt.dis { opacity: .55; cursor: not-allowed; }
.bk-opt input { accent-color: var(--brand); width: 20px; height: 20px; flex: none; }
.bk-opt > .i { color: var(--ink-2); }
.bk-opt b { display: block; font-size: 15px; }
.bk-tag { display: inline-flex; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); margin-left: 6px; vertical-align: 1px; }

/* small status indicator: text + icon, no filled pill */
.bk-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.bk-badge .i { width: 14px; height: 14px; }
.bk-badge.good { color: var(--c-ok); }
.bk-badge.warn { color: var(--c-warn); }
.bk-badge.bad { color: var(--c-bad); }
.bk-badge.info { color: var(--ink-2); }

.bk-line { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 15px; }
.bk-line.disc { color: var(--c-ok); }
.bk-line.total { font-weight: 800; font-size: 18px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; letter-spacing: -.01em; }
.bk-line.sub { color: var(--muted); font-size: 13px; }

/* ------------------------------------------------------------------ sticky bottom bar (mobile) */
.bk-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow-up);
  padding: 10px var(--gutter) calc(10px + var(--safe-b, 0px)); display: flex; gap: 14px; align-items: center; }
.bk-bar .tot { font-weight: 800; font-size: 19px; line-height: 1.1; letter-spacing: -.02em; }
.bk-bar small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.bk-bar .btn { min-width: 170px; }
@media (min-width: 900px) { .bk-bar.mobile-only { display: none; } }
body:has(.bk-bar) .cartbar, body:has(.bk-bar) .bottom-nav { display: none !important; }
body:has(.bk-bar) { padding-bottom: 0; }

/* ------------------------------------------------------------------ maps */
.bk-map { height: 300px; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: var(--s2); }
.bk-map.tall { height: 340px; }
.bk-pinwrap { position: relative; }
.bk-pinwrap .bk-pin { position: absolute; left: 50%; top: 50%; width: 34px; height: 42px; transform: translate(-50%, -100%); z-index: 400; pointer-events: none; color: var(--brand); }
.bk-pin path { fill: currentColor; } .bk-pin circle { fill: var(--surface); }
.bk-acc { position: absolute; left: 10px; bottom: 10px; z-index: 450; max-width: calc(100% - 20px); display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; box-shadow: var(--shadow); }
.bk-acc[hidden] { display: none; }
.bk-acc.weak { color: var(--c-warn); }
.bk-results { list-style: none; margin: 4px 0 0; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); position: absolute; left: 0; right: 0; z-index: 30; max-height: 260px; overflow: auto; }
.bk-results li { padding: 12px; border-radius: 8px; cursor: pointer; font-size: 14px; min-height: 44px; }
.bk-results li:hover, .bk-results li:focus { background: var(--s2); outline: 0; }

/* ------------------------------------------------------------------ checkout */
.ck-grid { display: grid; gap: 14px; align-content: start; }
.ck-grid > .ck-loc { order: 1; } .ck-grid > .ck-side { display: contents; }
.ck-side > .ck-map { order: 2; } .ck-grid > .ck-addr { order: 3; } .ck-grid > .ck-when { order: 4; } .ck-grid > .ck-who { order: 5; } .ck-grid > .ck-pay { order: 6; } .ck-side > .ck-sum { order: 7; }
.ck-map { display: grid; gap: 8px; }
.ck-step { padding: 4px 0 8px; }
.ck-grid > .ck-when, .ck-grid > .ck-who, .ck-grid > .ck-pay { border-top: 1px solid var(--line); padding-top: 22px; }
.ck-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 900px) {
  .ck-grid { grid-template-columns: minmax(0, 1fr) clamp(380px, 34vw, 560px); column-gap: clamp(24px, 3vw, 56px); align-items: start; }
  .ck-grid > .ck-loc, .ck-grid > .ck-addr, .ck-grid > .ck-when, .ck-grid > .ck-who, .ck-grid > .ck-pay { grid-column: 1; }
  .ck-grid > .ck-side { display: grid; gap: 14px; grid-column: 2; grid-row: 1 / span 6; position: sticky; top: calc(var(--top-h, 60px) + 16px); align-self: start; }
  .ck-side .bk-map { height: clamp(260px, 36vh, 420px); }
  .ck-side > .ck-map, .ck-side > .ck-sum { order: 0; }
}
.ck-place { display: none; }
@media (min-width: 900px) { .ck-place { display: block; } }

/* ------------------------------------------------------------------ cart */
.ct-lines { display: grid; }
.ct-line { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.ct-line:first-child { border-top: 0; padding-top: 4px; }
.ct-line .nm { font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.ct-line .nm a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ct-line .pr { font-weight: 800; min-width: 74px; text-align: right; }
.ct-line [data-svc] { flex: none; }
.ct-thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--s2); flex: none; }
.ct-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ct-coupon { display: flex; gap: 8px; }
.ct-coupon input { text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }

/* ------------------------------------------------------------------ booking page: map stage + bottom sheet */
.trk { position: relative; }
.trk-map { position: relative; height: 38dvh; min-height: 240px; background: var(--s2); z-index: 0; isolation: isolate; }
.trk-map .bk-map { position: absolute; inset: 0; height: 100%; border: 0; border-radius: 0; }
.trk-top { position: absolute; z-index: 5; left: 12px; right: 12px; top: 12px; display: flex; justify-content: space-between; pointer-events: none; }
.trk-top > * { pointer-events: auto; }
.trk-fab { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }
.trk-chip { align-self: center; min-width: 0; max-width: calc(100% - 108px); display: inline-flex; align-items: center; gap: 6px; line-height: 1.25; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; box-shadow: var(--shadow); }
.trk-sheet { position: relative; background: var(--surface); }
.trk-sheet > .trk-body { padding: 0 var(--gutter) 40px; display: grid; gap: 20px; }
.trk-grab { display: none; }

/* mobile + open booking: map fills the screen, sheet is draggable */
@media (max-width: 899px) {
  .trk.live { height: var(--stage-h, calc(100dvh - var(--top-h, 60px) - var(--nav-h, 64px) - var(--safe-b, 0px))); overflow: hidden; }
  .trk.live .trk-map { position: absolute; inset: 0; height: auto; min-height: 0; }
  .trk.live .trk-sheet { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--stage-h, 100%) - 52px); border-radius: var(--r-sheet) var(--r-sheet) 0 0; border: 1px solid var(--line); border-bottom: 0;
    box-shadow: var(--shadow-up); transform: translateY(var(--sheet-y, 62%)); transition: transform .24s var(--ease, ease); display: flex; flex-direction: column; will-change: transform; z-index: 6; }
  .trk.live .trk-sheet.dragging { transition: none; }
  .trk.live .trk-grab { display: block; flex: none; padding: 10px 0 8px; cursor: grab; touch-action: none; }
  .trk.live .trk-grab::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto; }
  .trk.live .trk-body { overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(40px + var(--safe-b, 0px)); flex: 1; min-height: 0; }
  .trk.live .trk-sheet:not(.full) .trk-body { overflow: hidden; }
  .trk.live .trk-top { top: 12px; }
}
@media (min-width: 900px) {
  .trk { display: grid; grid-template-columns: minmax(0, 1fr) clamp(420px, 36vw, 580px); align-items: start; }
  .trk.live .trk-map, .trk .trk-map { position: sticky; top: var(--top-h, 60px); height: calc(100dvh - var(--top-h, 60px)); }
  .trk:not(.live) { grid-template-columns: minmax(0, 1fr); }
  .trk:not(.live) .trk-map { display: none; }
  .trk-sheet { border-left: 1px solid var(--line); min-height: calc(100dvh - var(--top-h, 60px)); }
  .trk:not(.live) .trk-sheet { border-left: 0; max-width: 820px; width: 100%; margin-inline: auto; }
  .trk-sheet > .trk-body { padding-top: 20px; }
}
.trk-sec { display: grid; gap: 12px; }
.trk-sec + .trk-sec { border-top: 1px solid var(--line); padding-top: 20px; }
.trk-sec > h3 { font-size: 16px; letter-spacing: -.015em; }

.st-head { display: grid; gap: 4px; padding-top: 2px; }
.st-title { font-size: 22px; letter-spacing: -.03em; line-height: 1.15; margin: 0; }
.st-help { color: var(--ink-2); font-size: 14px; }
.st-eta { display: flex; align-items: baseline; gap: 6px; font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-top: 6px; }
.st-eta small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.st-eta[hidden] { display: none; }
.bk-eta { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.bk-eta small { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 5px; letter-spacing: 0; }
.bk-eta[hidden] { display: none; }

/* status steps: thin segments, accent only for reached steps */
.bk-prog { display: grid; grid-auto-flow: column; gap: 4px; margin-top: 10px; }
.bk-prog i { height: 3px; border-radius: 3px; background: var(--line); }
.bk-prog i.on { background: var(--ink); }

/* calm searching state: one outlined ring, one moving hairline, nothing coloured */
.bk-search { display: flex; align-items: center; gap: 14px; padding: 14px 0 2px; }
.bk-search .ring { position: relative; width: 14px; height: 14px; flex: none; margin: 0 8px; }
.bk-search .ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ink); }
.bk-search .ring::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--ink-2); opacity: 0; animation: bk-ring 2.4s var(--ease, ease-out) infinite; }
@keyframes bk-ring { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(3); opacity: 0; } }
.bk-scan { position: relative; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; margin-top: 12px; }
.bk-scan::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 34%; background: var(--ink-2); animation: bk-scan 1.8s ease-in-out infinite; }
@keyframes bk-scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }

/* live matching: map-free radar. The inner disc grows with the search reach (--reach 0..1), dots = experts being asked (counts only) */
.mx { --reach: .5; --mx: clamp(132px, 38vw, 176px); display: grid; grid-template-columns: var(--mx) minmax(0, 1fr); gap: 6px 16px; align-items: center; padding: 14px 0 4px; }
.mx + .bk-scan { display: none; }
.mx-radar { position: relative; width: var(--mx); aspect-ratio: 1; border-radius: 50%; background: var(--surface-2); overflow: hidden; isolation: isolate; }
.mx-ring { position: absolute; z-index: 1; inset: 0; margin: auto; border-radius: 50%; border: 1px dashed var(--line-strong); opacity: .6; }
.mx-ring.r1 { width: 33%; height: 33%; } .mx-ring.r2 { width: 66%; height: 66%; } .mx-ring.r3 { width: 98%; height: 98%; }
.mx-reach { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; border-radius: 50%; border: 1.5px solid var(--brand); background: var(--surface);
  transform: scale(var(--reach)); transition: transform .9s var(--ease-out), border-color var(--dur-3), background-color var(--dur-3); }
.mx-wave { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--brand); opacity: 0; animation: mx-wave 2.7s var(--ease-out) infinite; }
.mx-wave.w2 { animation-delay: .9s; } .mx-wave.w3 { animation-delay: 1.8s; }
@keyframes mx-wave { 0% { transform: scale(.12); opacity: .55; } 100% { transform: scale(1); opacity: 0; } }
.mx-sweep { position: absolute; left: calc(50% - .75px); top: 1%; width: 1.5px; height: 49%; background: var(--brand); opacity: .35; border-radius: 2px; transform-origin: 50% 100%; animation: mx-spin 3.6s linear infinite; }
@keyframes mx-spin { to { transform: rotate(1turn); } }
.mx-you { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--surface); z-index: 2; }
.mx-dots { position: absolute; inset: 0; z-index: 1; }
.mx-dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 2px var(--surface);
  animation: mx-pop var(--dur-3) var(--ease-out) both; transition: opacity var(--dur-3), transform var(--dur-3), left .9s var(--ease-out), top .9s var(--ease-out); }
.mx-dot.out { opacity: 0; transform: scale(.3); }
@keyframes mx-pop { from { transform: scale(0); opacity: 0; } }
.mx-won { position: absolute; left: 50%; top: 50%; width: 46%; height: 46%; transform: translate(-50%, -50%) scale(.3); opacity: 0; z-index: 3; display: grid; place-items: center;
  border-radius: 50%; background: var(--ok); color: var(--on-status); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), opacity var(--dur-2); }
.mx-won .i { width: 52%; height: 52%; stroke-width: 3; }
.mx-side { min-width: 0; display: grid; gap: 6px; }
.mx-msg { overflow-wrap: anywhere; }
.mx-reach-l { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-2); color: var(--ink-2); font-weight: 600; }
.mx-reach-l .i { color: var(--brand); flex: none; }
.mx-reach-l.bump span { animation: mx-bump .6s var(--ease-out); }
@keyframes mx-bump { 40% { color: var(--brand); } }
.mx-steps { grid-column: 1 / -1; list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; font-size: var(--fs-2); }
.mx-steps li { display: flex; align-items: center; gap: 10px; color: var(--muted); transition: color var(--dur-3); }
.mx-steps li[hidden] { display: none; }
.mx-tick { flex: none; position: relative; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--surface); transition: background-color var(--dur-3), border-color var(--dur-3); }
.mx-steps li.now { color: var(--ink); font-weight: 600; }
.mx-steps li.now .mx-tick { border-color: var(--brand); }
.mx-steps li.now .mx-tick::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--brand); animation: bk-pulse 1.4s ease-in-out infinite; }
.mx-steps li.done { color: var(--ink-2); }
.mx-steps li.done .mx-tick { background: var(--ink); border-color: var(--ink); }
.mx-steps li.done .mx-tick::after { content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid var(--surface); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mx-steps li[data-step="accepted"].now { color: var(--ok); }
.mx-steps li[data-step="accepted"].now .mx-tick { background: var(--ok); border-color: var(--ok); }
.mx-steps li[data-step="accepted"].now .mx-tick::after { animation: none; inset: auto; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border-radius: 0; background: none; border: solid var(--on-status); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mx[data-stage="widening"] .mx-reach { border-style: dashed; }
.mx[data-stage="accepted"] .mx-reach { transform: scale(1); border-color: var(--ok); background: var(--ok-t); }
.mx[data-stage="accepted"] .mx-wave, .mx[data-stage="accepted"] .mx-sweep { animation: none; opacity: 0; }
.mx[data-stage="accepted"] .mx-dot { transform: scale(0); opacity: 0; transition-duration: .4s; }
.mx[data-stage="accepted"] .mx-won { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.mx-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 359px) { .mx { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } .mx-side { justify-items: center; } .mx-steps { justify-self: stretch; text-align: start; } }

/* start PIN */
.bk-pincard { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px 14px; }
.bk-pin-digits { display: flex; gap: 6px; }
.bk-pin-digits b { width: 38px; height: 46px; display: grid; place-items: center; border-radius: 10px; background: var(--s2); font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* people */
.bk-person { display: flex; align-items: center; gap: 12px; }
.bk-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 800; flex: none; overflow: hidden; }
.bk-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bk-rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.bk-rating .i { color: var(--c-star); fill: var(--c-star); width: 14px; height: 14px; }
.bk-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bk-actions .btn { min-height: 46px; }

/* settings-style rows (secondary actions) */
.bk-rows { display: grid; }
.bk-rows > a, .bk-rows > button, .bk-rows > form > button { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 600; font-size: 15px; text-align: left; border-top: 1px solid var(--line); cursor: pointer; }
.bk-rows > :first-child, .bk-rows > form:first-child > button { border-top: 0; }
.bk-rows .i { color: var(--ink-2); }
.bk-rows .end { margin-left: auto; color: var(--muted); font-size: 13px; font-weight: 500; }
.bk-rows .danger { color: var(--c-bad); }
.bk-rows .danger .i { color: var(--c-bad); }
.bk-rows > form { margin: 0; border-top: 1px solid var(--line); }
.bk-rows > a:hover, .bk-rows > button:hover { color: var(--brand); }
.bk-info { display: grid; gap: 12px; }
.bk-info > div { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.bk-info .i { color: var(--ink-2); margin-top: 1px; }

/* timeline */
.bk-tl { list-style: none; margin: 0; padding: 0; }
.bk-tl li { position: relative; display: flex; gap: 12px; padding-bottom: 16px; }
.bk-tl li::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 2px; width: 1px; background: var(--line); }
.bk-tl li:last-child::before { display: none; }
.bk-tl .dot { position: static; top: auto; right: auto; min-width: 0; padding: 0; border-radius: 0; background: none; font: inherit; width: 24px; height: 24px; display: grid; place-items: center; flex: none; color: var(--ink-2); }
.bk-tl .dot .i { width: 18px; height: 18px; }
.bk-tl .dot.good, .bk-tl .tl-good .dot { color: var(--ok); } .bk-tl .dot.bad, .bk-tl .tl-bad .dot { color: var(--bad); } .bk-tl .dot.warn, .bk-tl .tl-warn .dot { color: var(--warn); }
.bk-tl b { font-size: 14px; font-weight: 600; }
.bk-tl time { display: block; font-size: 12.5px; color: var(--muted); }

/* skeleton */
.bk-skel { background: var(--s2); border-radius: 8px; min-height: 14px; animation: bk-pulse 1.4s ease-in-out infinite; }
.bk-skel.card { min-height: 84px; border-radius: var(--r-card); }
@keyframes bk-pulse { 50% { opacity: .55; } }

/* ------------------------------------------------------------------ sheets (dialogs) */
dialog.bk-sheet { border: 0; padding: 0; margin: auto 0 0; width: 100%; max-width: 560px; margin-inline: auto; border-radius: var(--r-sheet) var(--r-sheet) 0 0; background: var(--surface); color: var(--ink);
  max-height: 90dvh; overflow: auto; box-shadow: var(--shadow-up); overscroll-behavior: contain; }
dialog.bk-sheet::backdrop { background: var(--scrim); }
dialog.bk-sheet[open] { animation: bk-up .22s var(--ease, ease-out); }
@keyframes bk-up { from { transform: translateY(24px); opacity: 0; } }
.bk-sheet .grab { width: 40px; height: 4px; border-radius: 999px; background: var(--line); margin: 10px auto 0; }
.bk-sheet .body { padding: 14px 20px calc(20px + var(--safe-b, 0px)); display: grid; gap: 14px; }
.bk-sheet h3 { font-size: 19px; letter-spacing: -.02em; }
@media (min-width: 700px) { dialog.bk-sheet { margin-block: auto; border-radius: var(--r-sheet); } }

/* rating */
.bk-stars { display: flex; flex-direction: row-reverse; justify-content: center; gap: 2px; }
.bk-stars input { position: absolute; opacity: 0; }
.bk-stars label { cursor: pointer; color: var(--line); padding: 4px; }
.bk-stars label .i { width: 40px; height: 40px; fill: currentColor; stroke: currentColor; }
.bk-stars input:checked ~ label, .bk-stars label:hover, .bk-stars label:hover ~ label { color: var(--c-star); }
.bk-stars input:focus-visible + label { outline: 3px solid var(--focus); border-radius: 8px; }

/* chat */
.bk-chat { display: grid; gap: 10px; }
.bk-msgs { display: grid; gap: 6px; max-height: 50dvh; overflow: auto; padding: 4px; overscroll-behavior: contain; align-content: start; min-height: 140px; }
.bk-msg { max-width: 82%; padding: 9px 13px; border-radius: 16px 16px 16px 4px; background: var(--s2); font-size: 15px; overflow-wrap: anywhere; white-space: pre-wrap; justify-self: start; }
.bk-msg.me { background: var(--ink); color: var(--bg); justify-self: end; border-radius: 16px 16px 4px 16px; }
.bk-msg time { display: block; font-size: 11px; opacity: .65; margin-top: 2px; }
.bk-msg .rep { background: none; border: 0; color: inherit; opacity: .8; font-size: 11px; cursor: pointer; text-decoration: underline; padding: 0; }
.bk-chatform { display: flex; gap: 8px; }
.bk-chatform input { flex: 1; }
.bk-chatform .btn { min-width: 48px; padding: 0 14px; }

/* ------------------------------------------------------------------ bookings list */
.bk-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.bk-tabs::-webkit-scrollbar { display: none; }
.bk-tabs a { flex: none; position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 16px; font-weight: 700; font-size: 15px; color: var(--muted); }
.bk-tabs a[aria-current="page"] { color: var(--ink); }
.bk-tabs a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--brand); border-radius: 2px; }
.bk-tabs .n { color: var(--muted); font-size: 12.5px; font-weight: 700; }
.bk-day { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0; margin: 22px 0 0; }
.bk-daylist { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .bk-daylist { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 56px); } }
.bk-note { text-align: center; color: var(--muted); font-size: 13px; margin: 28px 0 0; }
.bk-rowcard { min-width: 0; display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); color: inherit; }
.bk-rowcard:hover .nm { text-decoration: underline; text-underline-offset: 3px; }
.bk-rowcard .ph { width: 64px; height: 64px; border-radius: 12px; background: var(--s2); overflow: hidden; flex: none; display: grid; place-items: center; color: var(--muted); }
.bk-rowcard .ph img, .bk-rowcard .ph picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-rowcard .nm { font-weight: 700; font-size: 16px; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-rowcard .meta { font-size: 13px; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-rowcard .end { text-align: right; display: grid; gap: 4px; justify-items: end; flex: none; }
.bk-rowcard .end b { font-size: 15px; }
.bk-search-form { display: flex; gap: 10px; margin: 0 0 12px; }
.bk-search-form input { flex: 1; }
.bk-search-form select { width: auto; }
.bk-empty { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 48px 12px; color: var(--ink-2); }
.bk-empty .illus { width: 140px; max-width: 50%; height: auto; opacity: .9; }
.bk-empty b { color: var(--ink); font-size: 17px; }

/* addresses */
.bk-addr-row { display: flex; gap: 14px; align-items: flex-start; }
.bk-addr-row > .i { color: var(--ink-2); margin-top: 2px; }
.bk-addrs { display: grid; }
@media (min-width: 900px) { .bk-addrs { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; } }
.bk-addrs > .bk-card { margin: 0; }

/* receipt */
.bk-receipt { max-width: 680px; margin: 0 auto; }
.bk-receipt .brandline { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.bk-receipt table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bk-receipt th { text-align: left; border-bottom: 1px solid var(--line); padding: 6px 0; color: var(--muted); font-weight: 600; font-size: 12.5px; }
.bk-receipt td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.bk-receipt th:last-child, .bk-receipt td:last-child { text-align: right; }
@media print { .topbar, .bottom-nav, .cartbar, .footer, .bk-noprint, .install, .toasts, .bk-bar { display: none !important; } body { background: none !important; } .bk-card { border: 1px solid var(--line); } }

/* public tracking */
.bk-public-head { display: flex; align-items: center; gap: 10px; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.pub-map { height: 56dvh; min-height: 280px; border: 0; border-radius: 0; }
@media (min-width: 900px) { .pub { display: grid; grid-template-columns: clamp(360px, 32vw, 520px) minmax(0, 1fr); min-height: calc(100dvh - 56px); } .pub-map { height: 100%; min-height: 0; } }

@media (prefers-reduced-motion: reduce) {
  .bk-skel, .bk-search .ring::after, .bk-scan::after { animation: none; }
  .mx-wave, .mx-sweep, .mx-dot, .mx-steps li.now .mx-tick::after, .mx-reach-l.bump span { animation: none; }
  .mx-wave.w3 { opacity: .25; transform: scale(.66); }
  .mx-reach, .mx-won, .mx-dot, .mx-steps li, .mx-tick { transition: none; }
  .trk.live .trk-sheet, dialog.bk-sheet[open] { transition: none; animation: none; }
}

/* sheet drag affordances (mobile) */
@media (max-width: 899px) {
  .trk.live .trk-grab { padding: 12px 0 10px; }
  .trk.live .trk-sheet:not(.full) .st-head { touch-action: none; }
}

/* ------------------------------------------------------------------ signed-in home (ride-hailing style: map first, sheet on top) */
.ah-search { display: flex; align-items: center; gap: 10px; background: var(--s2); border-radius: 12px; padding: 0 14px; min-height: 52px; margin-top: 10px; }
.ah-search .i { color: var(--muted); }
.ah-search input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; background: transparent !important; min-height: 50px !important; padding: 0 !important; font-size: 16px; outline: 0; }
.ah-search:focus-within { box-shadow: inset 0 0 0 2px var(--brand); }
.ah-h { font-size: 17px; letter-spacing: -.02em; margin: 0; }
.ah-more { font-size: 14px; font-weight: 700; color: var(--brand); }
.ah-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overscroll-behavior-x: contain; }
.ah-rail::-webkit-scrollbar { display: none; }
.ah-rail > * { flex: none; scroll-snap-align: start; }
.ah-cat { display: grid; gap: 8px; width: 88px; text-align: center; font-size: 13px; font-weight: 600; justify-items: center; }
.ah-cat .ph { width: 88px; height: 88px; border-radius: 16px; overflow: hidden; background: var(--s2); display: block; }
.ah-cat .ph img, .ah-cat .ph picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.ah-again { display: grid; gap: 4px; width: 210px; align-content: start; }
.ah-again .ph { aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--s2); display: block; margin-bottom: 6px; }
.ah-again .ph img, .ah-again .ph picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.ah-again b { font-size: 15px; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ah-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--brand); margin-top: 2px; }
.ah-active { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-card); }
.ah-live { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); position: relative; flex: none; margin: 0 4px; }
.ah-live::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--ink-2); animation: bk-ring 2.4s ease-out infinite; }
/* Popular services: vertical cards that flow into as many columns as the *container* fits (never squeezed by the viewport width). */
.ah-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 144px), 1fr)); gap: 14px; }
.ah-svc { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); overflow: hidden; }
.ah-svc .ph { display: block; width: 100%; aspect-ratio: 4 / 3; background: var(--s2); overflow: hidden; }
.ah-svc .ph img, .ah-svc .ph picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.ah-svc .bk-grow { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 4px; color: inherit; text-decoration: none; }
.ah-svc .bk-grow b { font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: break-word; min-height: 2.6em; }
.ah-svc .bk-grow .bk-small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ah-svc .bk-grow .bk-bold { margin-top: 2px; font-size: 15px; }
.ah-svc > [data-svc] { padding: 6px 12px 12px; min-width: 0; }
.ah-svc > [data-svc] .add, .ah-svc > [data-svc] .stepper { position: static; width: 100%; justify-content: center; white-space: nowrap; }
.ah-all { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 12px; border: 1px solid var(--line-strong); border-radius: var(--r-p); font-weight: 600; color: var(--brand); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .ah-live::after { animation: none; } }

/* earliest available (static/js/earliest.js) */
.ck-earliest { display: flex; gap: 12px; align-items: flex-start; border-radius: 12px; padding: 12px 14px; font-size: 14px; background: var(--ok-t, var(--s2)); border: 1px solid var(--ok-b, var(--line)); }
@media (min-width: 900px) { .ah-rail { margin-inline: 0; padding-inline: 0; } }
.ck-earliest[hidden] { display: none; }
.ck-earliest > .i { margin-top: 1px; flex: none; }
.ck-earliest b { display: block; }
.ck-earliest span { display: block; color: var(--ink-2, inherit); margin-top: 2px; }
.ck-earliest .bk-sugg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.bk-chip.sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.bk-linkbtn { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.bk-linkbtn:focus-visible { outline: 2px solid var(--focus, currentColor); outline-offset: 2px; border-radius: 4px; }
.bk-chip.is-full { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.bk-few { display: block; margin-left: 6px; font-size: 11px; font-weight: 700; color: var(--warn); }
/* ---- checkout flow: stepper, prerequisite cards, checklist ---- */
.ck-steps { position: sticky; top: var(--chrome-h, 0px); z-index: 20; margin: 0 calc(var(--pad, 16px) * -1) 12px; padding: 8px var(--pad, 16px); background: var(--bg); border-bottom: 1px solid var(--line); }
.ck-steps ol { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.ck-steps li { flex: 1 1 0; min-width: 0; }
.ck-steps a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.ck-steps i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; border: 1.5px solid var(--line-strong, var(--line)); color: var(--muted); }
.ck-steps li[data-state="done"] a { color: var(--ink-2); }
.ck-steps li[data-state="done"] i { background: var(--ok); border-color: var(--ok); color: var(--on-status); }
.ck-steps li[data-state="now"] a { color: var(--ink); background: var(--surface-2, var(--s2)); }
.ck-steps li[data-state="now"] i { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.ck-steps li i svg { width: 14px; height: 14px; }
@media (max-width: 599px) { .ck-steps li:not([data-state="now"]) a span { display: none; } .ck-steps li[data-state="now"] { flex: 3 1 0; } }

.ck-need { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.ck-need.warn { background: var(--warn-t); border-color: var(--warn-b); } .ck-need.err { background: var(--bad-t); border-color: var(--bad-b); }
.ck-need-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); }
.ck-need.warn .ck-need-ic { color: var(--warn); } .ck-need.err .ck-need-ic { color: var(--bad); }
.ck-need-b { display: grid; gap: 6px; justify-items: start; min-width: 0; } .ck-need-b p { margin: 0; font-size: 14px; color: var(--ink-2); }

.ck-todo { border: 1px solid var(--warn-b); background: var(--warn-t); border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.ck-todo[hidden] { display: none; } .ck-todo ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 2px; }
.ck-todo li::before { content: "\2192\00a0"; color: var(--warn); }
.ck-link { background: none; border: 0; padding: 0; min-height: 32px; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.ck-few { margin-left: 6px; font-size: 11px; font-weight: 800; color: var(--warn); }
.bk-chip.sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.ck-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; margin: 4px 0 0; padding: 0; font-size: 12px; color: var(--muted); }
.ck-trust li { display: inline-flex; align-items: center; gap: 5px; } .ck-trust svg { color: var(--ok); }
input[readonly][data-locked] { background: var(--surface-2, var(--s2)); color: var(--ink-2); }
[aria-invalid="true"] { outline: 2px solid var(--bad); outline-offset: 2px; }

/* ---- cart page ---- */
.ct-save { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--ok-t); border: 1px solid var(--ok-b); color: var(--ink); font-weight: 700; font-size: 14px; }
.ct-save b { color: var(--ok); }
.ct-msg { display: flex; gap: 8px; align-items: center; border-radius: 10px; padding: 8px 12px; font-size: 14px; font-weight: 600; }
.ct-msg:empty { display: none; } .ct-msg.ok { background: var(--ok-t); border: 1px solid var(--ok-b); color: var(--ink); } .ct-msg.bad { background: var(--bad-t); border: 1px solid var(--bad-b); color: var(--ink); }
.ct-msg.ok::before { content: "\2713"; color: var(--ok); font-weight: 800; } .ct-msg.bad::before { content: "!"; color: var(--bad); font-weight: 800; }
.ct-rm { background: none; border: 0; color: var(--muted); min-height: 44px; min-width: 44px; cursor: pointer; border-radius: 10px; display: grid; place-items: center; } .ct-rm:hover { color: var(--bad); background: var(--bad-t); }
.ct-up { display: grid; gap: 8px; } .ct-up .row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px dashed var(--line-strong, var(--line)); border-radius: 12px; }
.ct-up .row b { font-size: 15px; } .ct-up .row .bk-grow { min-width: 0; }
.ct-meta { display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); } .ct-meta div { display: flex; gap: 8px; align-items: center; } .ct-meta svg { color: var(--ok); flex: none; }

/* ---- booking placed ---- */
.pl-card { border: 1px solid var(--ok-b); background: var(--ok-t); border-radius: 16px; padding: 16px; display: grid; gap: 12px; }
.pl-card h2 { margin: 0; font-size: 20px; letter-spacing: -.01em; display: flex; gap: 10px; align-items: center; } .pl-card h2 svg { color: var(--ok); }
.pl-card p { margin: 0; color: var(--ink-2); font-size: 14px; }
.pl-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; counter-reset: s; } .pl-steps li { display: flex; gap: 10px; align-items: flex-start; counter-increment: s; }
.pl-steps li::before { content: counter(s); flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: var(--on-status); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.pl-actions { display: flex; flex-wrap: wrap; gap: 8px; } .pl-actions .btn { flex: 1 1 140px; }
/* QA: the search box keeps room for its placeholder next to the status select on phones */
.bk-search-form input { min-width: 0; flex: 1 1 55%; }
.bk-search-form select { flex: 0 1 40%; min-width: 0; }
/* QA: booking rows keep the date and time readable on phones (wrap instead of ellipsis), with visible hover and focus */
@media (max-width: 520px) {
  .bk-rowcard .meta { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.35; }
  .bk-rowcard .nm { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
.bk-rowcard:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 12px; }
