/* Request-to-book sheet and Requests tab. Namespace: .bk-*
   Uses system.css tokens only (selected states follow --accent). Mobile: bottom sheet. Desktop (>= 900px): right panel. */

html.sheet-open { overflow: hidden; }

.bk {
  --bk-pad: 20px;
  --bk-err: #b42318;
  position: fixed;
  inset: 0;
  z-index: 1000;
  color: var(--ink);
  font-family: var(--font-body);
}
.bk [hidden] { display: none !important; }
.bk.is-closing { pointer-events: none; }
.bk :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- Scrim ---------- */
.bk-scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 14, 0.45);
  opacity: 0;
  transition: opacity 380ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.bk.is-open .bk-scrim { opacity: 1; }
.bk.is-closing .bk-scrim { transition-duration: 300ms; }

/* ---------- Sheet (mobile first) ---------- */
.bk-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--bk-kb, 0px);
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  height: 92vh;
  height: 92svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: 28px 28px 0 0;
  box-shadow: var(--shadow-sheet), 0 -1px 0 rgba(255, 255, 255, 0.6) inset;
  overflow: hidden;
  outline: none;
  transform: translate3d(0, calc(100% + 48px), 0);
  transition: transform 420ms var(--ease-sheet);
  will-change: transform;
}
.bk.is-open .bk-sheet { transform: translate3d(0, 0, 0); }
.bk.is-closing .bk-sheet { transition-duration: 320ms; }
.bk.has-kb .bk-sheet { height: calc(var(--bk-vvh, 92svh) - 8px); max-height: 92svh; }
.bk-sheet:focus { outline: none; }

/* ---------- Header ---------- */
.bk-head {
  flex: none;
  position: relative;
  z-index: 2;
  padding: 8px 8px 10px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  transition: box-shadow 0.2s var(--ease-out);
}
.bk.is-dragging .bk-head { cursor: grabbing; }
.bk-head.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.bk-grabber {
  width: 36px;
  height: 5px;
  margin: 0 auto 4px;
  border-radius: 3px;
  background: rgba(10, 12, 14, 0.16);
}
.bk-bar {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
}
.bk-bar-mid { min-width: 0; text-align: center; cursor: inherit; }
.bk-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  font-stretch: 100%;
  font-variation-settings: normal;
  letter-spacing: -0.012em;
  line-height: 1.2;
}
.bk-track {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 3px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted-2);
}
.bk-track li { transition: color 0.2s var(--ease-out); }
.bk-track li + li::before { content: '\00B7'; margin-right: 6px; color: var(--muted-2); }
.bk-track li.is-done { color: var(--muted); }
.bk-track li[aria-current='step'] { color: var(--ink); }

.bk-ib { position: relative; color: var(--ink); }
.bk-ib::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: rgba(10, 12, 14, 0.06);
  transition: background-color 0.2s;
}
.bk .bk-ib svg { position: relative; width: 18px; height: 18px; }
.bk-ib.is-hidden { visibility: hidden; }

/* ---------- Body and steps ---------- */
.bk-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 4px var(--bk-pad) 28px;
  scroll-padding-block: 24px;
}
.bk-steps { position: relative; flex: 1 0 auto; display: flex; flex-direction: column; }
.bk-step { flex: none; }
.bk-step--done { flex: 1 0 auto; display: flex; flex-direction: column; }
.bk-step.is-leaving { position: absolute; left: 0; right: 0; pointer-events: none; }
.bk-step.from-right { animation: bk-in-right 240ms var(--ease-out) 30ms both; }
.bk-step.from-left { animation: bk-in-left 240ms var(--ease-out) 30ms both; }
.bk-step.is-leaving.to-left { animation: bk-out-left 170ms var(--ease-out) forwards; }
.bk-step.is-leaving.to-right { animation: bk-out-right 170ms var(--ease-out) forwards; }
@keyframes bk-in-right { from { opacity: 0; transform: translate3d(28px, 0, 0); } }
@keyframes bk-in-left { from { opacity: 0; transform: translate3d(-28px, 0, 0); } }
@keyframes bk-out-left { to { opacity: 0; transform: translate3d(-28px, 0, 0); } }
@keyframes bk-out-right { to { opacity: 0; transform: translate3d(28px, 0, 0); } }

.bk-sec { margin-top: 28px; }
.bk-label {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  font-stretch: 100%;
  font-variation-settings: normal;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.bk-label--tight { margin-bottom: 0; }
.bk-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.bk-label-row .bk-label { margin: 0; }
.bk-label-aside { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bk-sel { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk-hint { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.bk-h {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.bk-sub { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.bk-intro { padding-top: 8px; margin-bottom: 18px; }

/* Shared press feel */
.bk-day, .bk-chip, .bk-extra, .bk-stepbtn, .bk-edit, .bk-mini, .bk-remove, .bk-link, .bk-again, .bk-policy, .bk-seg button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.18s var(--ease-out), background-color 0.2s var(--ease-out), color 0.2s, box-shadow 0.2s var(--ease-out);
}
.bk-day:active, .bk-chip:active, .bk-extra:active, .bk-stepbtn:active, .bk-edit:active, .bk-mini:active,
.bk-remove:active, .bk-link:active, .bk-again:active, .bk-policy:active, .bk-seg button:active { transform: scale(0.97); }

/* ---------- Yacht row ---------- */
.bk-yacht { display: flex; align-items: center; gap: 14px; padding-top: 8px; }
.bk-yacht-txt { min-width: 0; flex: 1; }
.bk-yname {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.bk-ysub { margin: 3px 0 0; font-size: 14px; color: var(--muted); line-height: 1.35; }
.bk-thumb {
  position: relative;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(10, 12, 14, 0.08);
  box-shadow: inset 0 0 0 1px var(--line);
}
.bk-thumb picture, .bk-thumb img { width: 100%; height: 100%; }
.bk-thumb img { object-fit: cover; opacity: 0; transition: opacity 0.3s var(--ease-out); }
.bk-thumb.is-loaded img { opacity: 1; }

/* ---------- Date strip ---------- */
.bk-days {
  display: flex;
  gap: 8px;
  margin-inline: calc(var(--bk-pad) * -1);
  margin-bottom: -14px;
  padding: 6px var(--bk-pad) 22px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--bk-pad);
  scrollbar-width: none;
}
.bk-days::-webkit-scrollbar { display: none; }
.bk-day {
  flex: none;
  scroll-snap-align: start;
  width: 56px;
  min-height: 78px;
  padding: 7px 0 8px;
  display: grid;
  grid-template-rows: 14px auto auto 6px;
  justify-items: center;
  align-content: center;
  row-gap: 1px;
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
}
.bk-day-m { font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); line-height: 14px; }
.bk-day-w { font-size: 12px; color: var(--muted); line-height: 1.2; }
.bk-day-n { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.bk-day-dot { width: 4px; height: 4px; margin-top: 2px; border-radius: 50%; }
.bk-day-dot.is-today { background: currentColor; }
.bk-day[aria-pressed='true'] {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(10, 12, 14, 0.7);
}
.bk-day[aria-pressed='true'] .bk-day-m,
.bk-day[aria-pressed='true'] .bk-day-w { color: rgba(255, 255, 255, 0.7); }

.bk-strip-nav { display: none; gap: 4px; }
.bk-mini {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.bk-mini svg { width: 16px; height: 16px; }

/* ---------- Chips ---------- */
.bk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bk .bk-chip {
  height: auto;
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
}
.bk-chip-sub { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.bk-chip[aria-pressed='true'] {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(10, 12, 14, 0.7);
}
.bk-chip[aria-pressed='true'] .bk-chip-sub { color: rgba(255, 255, 255, 0.7); }

/* ---------- Duration ---------- */
.bk .bk-seg { display: grid; width: 100%; padding: 4px; border-radius: 18px; }
.bk .bk-seg button {
  min-height: 60px;
  padding: 8px 6px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}
.bk-seg-h { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.bk-seg-p { font-size: 13px; line-height: 1.25; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk-seg button[aria-pressed='true'] .bk-seg-p, .bk-seg button[aria-pressed='true'] .bk-seg-h { color: var(--accent); }

/* ---------- Guests ---------- */
.bk-guests { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bk-cap { margin-top: 4px; }
.bk-cap.is-max { color: var(--ink); font-weight: 500; }
.bk-stepper {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
}
.bk-stepbtn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(10, 12, 14, 0.05);
  color: var(--ink);
}
.bk-stepbtn svg { width: 18px; height: 18px; }
.bk-stepbtn[aria-disabled='true'] { opacity: 0.3; }
.bk-count {
  min-width: 36px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.bk-count.is-shake { animation: bk-shake 320ms var(--ease-out); }
@keyframes bk-shake {
  20% { transform: translateX(-4px); }
  45% { transform: translateX(4px); }
  70% { transform: translateX(-2px); }
}

/* ---------- Extras ---------- */
.bk-extras { display: grid; gap: 10px; }
.bk-extra {
  width: 100%;
  min-height: 76px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  color: var(--ink);
}
.bk-extra-ic {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--paper-2);
  transition: background-color 0.25s var(--ease-out), color 0.25s;
}
.bk-extra-ic svg { width: 22px; height: 22px; }
.bk-extra-txt { flex: 1; min-width: 0; }
.bk-extra-t { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.bk-extra-d { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.bk-switch {
  position: relative;
  flex: none;
  width: 51px;
  height: 31px;
  border-radius: var(--r-pill);
  background: rgba(10, 12, 14, 0.12);
  transition: background-color 0.25s var(--ease-out);
}
.bk-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 8px rgba(10, 12, 14, 0.18), 0 0 0 0.5px rgba(10, 12, 14, 0.06);
  transition: transform 0.32s var(--ease-spring);
}
.bk-extra[aria-checked='true'] { box-shadow: inset 0 0 0 1.5px var(--accent), var(--shadow-card); }
.bk-extra[aria-checked='true'] .bk-switch { background: var(--accent); }
.bk-extra[aria-checked='true'] .bk-switch::after { transform: translateX(20px); }
.bk-extra[aria-checked='true'] .bk-extra-ic { background: var(--accent); color: #fff; }

/* ---------- Fields ---------- */
.bk-fields { display: grid; gap: 16px; }
.bk-field { display: block; }
.bk-field-l {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
}
.bk-opt { font-size: 13px; font-weight: 400; color: var(--muted); }
.bk-input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: box-shadow 0.2s var(--ease-out);
}
.bk-input::placeholder { color: var(--muted-2); }
.bk-input:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.bk-input:focus-visible { outline: none; }
.bk-input[aria-invalid='true'] { box-shadow: inset 0 0 0 1.5px var(--bk-err); }
.bk-textarea { min-height: 104px; resize: vertical; }
.bk-err { margin: 6px 0 0; font-size: 13px; color: var(--bk-err); }

/* ---------- Review ---------- */
.bk-sum { margin-top: 8px; padding: 16px 18px 6px; }
.bk-sum-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.bk-edit {
  flex: none;
  align-self: flex-start;
  min-height: 44px;
  padding: 0 4px 0 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
.bk-rows { margin: 0; }
.bk-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.bk-row:last-child { border-bottom: 0; }
.bk-row dt { flex: none; color: var(--muted); }
.bk-row dd { margin: 0; text-align: right; font-weight: 500; text-wrap: pretty; }

.bk-price { margin-top: 12px; padding: 18px; }
.bk-price-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.bk-price-l { margin: 0; font-size: 15px; font-weight: 600; }
.bk-price-s { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.bk-price-v { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.bk-price-n {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.bk-price-mxn { margin-top: 3px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bk-notes { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.bk-policy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
.bk-ext { width: 15px; height: 15px; }
.bk-due { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.bk-due-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 15px; font-weight: 600; }
.bk-due-n { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bk-due p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }

.bk-send { display: grid; gap: 10px; margin-top: 24px; }
.bk-send-btn { min-height: 52px; }

/* ---------- Footer ---------- */
.bk-foot {
  flex: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px var(--bk-pad) calc(12px + var(--safe-b, 0px));
  background: var(--paper);
  box-shadow: 0 -1px 0 var(--line);
}
.bk.has-kb .bk-foot { padding-bottom: 12px; }
.bk-total { flex: 1; min-width: 0; }
.bk-total-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.bk-total-num.is-text { font-size: 20px; }
.bk-total-num.is-bump { animation: bk-bump 220ms var(--ease-out); }
@keyframes bk-bump { from { opacity: 0.35; transform: translate3d(0, 5px, 0); } }
.bk-total-meta { margin-top: 3px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bk-next { flex: none; min-width: 148px; min-height: 52px; }

/* ---------- Success ---------- */
.bk-done {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 4px 8px;
}
.bk-check { width: 88px; height: 88px; margin-bottom: 22px; overflow: visible; }
.bk-check-c { fill: var(--accent); stroke: none; transform-box: fill-box; transform-origin: center; animation: bk-pop 520ms var(--ease-spring) both; }
.bk-check-p {
  fill: none;
  stroke: #fff;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 34;
  stroke-dashoffset: 0;
  animation: bk-draw 440ms var(--ease-out) 220ms both;
}
@keyframes bk-pop { from { transform: scale(0.4); opacity: 0; } }
@keyframes bk-draw { from { stroke-dashoffset: 34; } to { stroke-dashoffset: 0; } }
.bk-done-h {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.bk-done-h:focus { outline: none; }
.bk-done-p { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.bk-again {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 6px;
  padding: 0 6px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
.bk-again svg { width: 18px; height: 18px; }
.bk-done-actions { display: grid; gap: 10px; width: 100%; max-width: 360px; margin-top: 28px; }
.bk-done-actions .btn { min-height: 52px; }

/* ---------- Requests tab ---------- */
.bk-reqwrap { color: var(--ink); }
.bk-reqs { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bk-req { padding: 16px 16px 6px; transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out); }
.bk-req.is-removing { opacity: 0; transform: scale(0.98); }
.bk-req-top { display: flex; align-items: flex-start; gap: 14px; }
.bk-req-txt { flex: 1; min-width: 0; }
.bk-req-name {
  margin: 0 0 3px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.bk-req-meta { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.bk-nw { white-space: nowrap; }
.bk-req-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.bk-req-price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.bk-req-mxn { font-family: var(--font-body); font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.bk-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 11px;
  border-radius: var(--r-pill);
  background: rgba(10, 12, 14, 0.05);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}
.bk-req-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.bk-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.bk-link svg { width: 18px; height: 18px; }
.bk-remove { min-height: 44px; padding: 0 2px 0 12px; font-size: 14px; color: var(--muted); }
.bk-reqs-foot { margin: 16px 0 0; text-align: center; font-size: 13px; color: var(--muted-2); }

.bk-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  min-height: 50svh;
  padding: 48px 24px;
  text-align: center;
}
.bk-empty-ic {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
}
.bk-empty-ic svg { width: 28px; height: 28px; }
.bk-empty-h {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.bk-empty-p { max-width: 30ch; margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.bk-empty .btn { margin-top: 24px; }

/* ---------- Hover (pointer devices only) ---------- */
@media (hover: hover) and (pointer: fine) {
  .bk-strip-nav { display: inline-flex; }
  .bk-ib:hover::before { background: rgba(10, 12, 14, 0.1); }
  .bk-day:not([aria-pressed='true']):hover,
  .bk-mini:hover,
  .bk-chip:not([aria-pressed='true']):hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
  .bk-extra:not([aria-checked='true']):hover { box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-card); }
  .bk-stepbtn:not([aria-disabled='true']):hover { background: rgba(10, 12, 14, 0.09); }
  .bk-remove:hover { color: var(--ink); }
  .bk-link:hover span, .bk-edit:hover, .bk-policy:hover, .bk-again:hover { text-decoration-color: currentColor; }
}

/* ---------- Desktop: right side panel ---------- */
@media (min-width: 900px) {
  .bk { --bk-pad: 28px; }
  .bk-sheet {
    top: 12px;
    right: 12px;
    bottom: 12px;
    left: auto;
    width: 440px;
    max-width: calc(100vw - 24px);
    height: auto;
    margin: 0;
    border-radius: var(--bk-panel-radius, 28px);
    box-shadow: 0 30px 80px -24px rgba(10, 12, 14, 0.45), 0 0 0 1px rgba(10, 12, 14, 0.04);
    transform: translate3d(calc(100% + 32px), 0, 0);
  }
  .bk.has-kb .bk-sheet { height: auto; max-height: none; }
  .bk-head { padding: 14px 12px 10px; touch-action: auto; cursor: default; }
  .bk-grabber { display: none; }
  .bk-body { padding-top: 6px; }
  .bk-foot { padding: 16px var(--bk-pad) 20px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .bk-step.from-right, .bk-step.from-left, .bk-step.is-leaving,
  .bk-total-num.is-bump, .bk-count.is-shake { animation: none; }
  .bk-check-c { animation: none; }
  .bk-check-p { animation: none; stroke-dashoffset: 0; }
}

/* Clean type pass: Geist, lighter display weights */
.bk-title, .bk-yname, .bk-h, .bk-label, .bk-count, .bk-price-n, .bk-done-h, .bk-day-n, .bk-total-num { font-weight: 500; letter-spacing: -0.025em; font-stretch: 100%; font-variation-settings: normal; }

/* Oct 11: prices and labels at 500, never the heaviest ink on the screen */
.bk-seg-h, .bk-extra-t, .bk-price-l, .bk-due-row, .bk-total-num { font-weight: 500; }

/* Oct 11: the date strip shows seven whole days and pages a week per swipe (iOS Calendar), never a chip cut at the edge */
.bk-days { scroll-snap-type: x mandatory; }
.bk-day { width: calc((100% - 48px) / 7); min-height: 64px; grid-template-rows: auto auto 6px; scroll-snap-align: none; }
.bk-day:nth-child(7n + 1) { scroll-snap-align: start; scroll-snap-stop: always; }
/* Review: each fact once; Send on WhatsApp is the one full-width action */
.bk.is-review .bk-total { display: none; }
.bk.is-review .bk-next { flex: 1; }
/* the strip is exactly seven days wide: no neighbouring chip peeks in at the edge */
.bk-days { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
