/* Bookings by day (2026-11-20).
   Every rule is scoped to the Bookings page. The sheet loads before
   refinelook.css, so a rule that has to beat an older one there is one class
   more specific and marked !important like the rule it replaces. */

/* Four numbers --------------------------------------------------------------- */
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-pulse {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 12px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-pulse-cell {
  display: grid;
  gap: 2px;
  min-width: 0;
  margin: 0;
  padding: 12px 18px;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-pulse-cell + .rl-bk-pulse-cell { border-left: 1px solid var(--color-line); }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page button.rl-bk-pulse-cell { cursor: pointer; transition: background-color 150ms var(--ease-standard); }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page button.rl-bk-pulse-cell:hover { background: #fbfaf8; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page button.rl-bk-pulse-cell:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-pulse-label {
  overflow: hidden;
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-pulse-value {
  overflow: hidden;
  color: var(--color-ink);
  font-size: 1.3rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-pulse-value small {
  margin-left: 5px;
  color: var(--color-faint);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-pulse-cell[data-attention] .rl-bk-pulse-value { color: var(--color-clay); }

/* Filters: stylists left, status, date and layout right ---------------------- */
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .business-bookings-filter-toolbar.rl-bk-filters {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-filters > .business-bookings-stylist-filter { min-width: 0; flex: 0 1 auto; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-filter-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-width: 0;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-own {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-ink-soft);
  font-size: 0.8125rem;
  font-weight: 600;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-status-chips { display: flex; flex-wrap: wrap; gap: 6px; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  margin: 0;
  padding: 0 0.7rem;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-ink-soft);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 140ms var(--ease-standard), border-color 140ms var(--ease-standard), color 140ms var(--ease-standard);
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-chip:hover { border-color: var(--color-accent-line); color: var(--color-ink); }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-chip[aria-pressed="true"] {
  border-color: var(--color-accent-line);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 600;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-chip.is-zero:not([aria-pressed="true"]) { color: var(--color-faint); }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-chip > i { width: 8px; height: 8px; border-radius: 50%; background: var(--rl-bk-status, var(--color-faint)); }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-chip > b {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  min-height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #eceeeb;
  color: var(--color-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-chip[aria-pressed="true"] > b { background: #fff; color: var(--color-accent); }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page :is(.rl-bk-chip, .rl-bk-card, .rl-bk-ingap, .rl-bk-block) { --rl-bk-status: var(--color-faint); }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page :is(.rl-bk-chip, .rl-bk-card, .rl-bk-ingap, .rl-bk-block).status-booked { --rl-bk-status: #4a7fc1; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page :is(.rl-bk-chip, .rl-bk-card, .rl-bk-ingap, .rl-bk-block):is(.status-confirmed, .status-completed) { --rl-bk-status: #2f8f6b; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page :is(.rl-bk-chip, .rl-bk-card, .rl-bk-ingap, .rl-bk-block).status-in_progress { --rl-bk-status: #c48612; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page :is(.rl-bk-chip, .rl-bk-card, .rl-bk-ingap, .rl-bk-block).status-cancelled { --rl-bk-status: #c4454f; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page :is(.rl-bk-chip, .rl-bk-card, .rl-bk-ingap, .rl-bk-block).status-no_show { --rl-bk-status: #b8863b; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-layout {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: var(--color-paper, #f7f6f3);
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-layout > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  margin: 0;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--color-muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 180ms var(--ease-standard), color 180ms var(--ease-standard), box-shadow 180ms var(--ease-standard);
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-layout > button[aria-pressed="true"] {
  background: var(--color-surface);
  color: var(--color-ink);
  font-weight: 600;
  box-shadow: var(--shadow-card);
}

/* The list ------------------------------------------------------------------- */
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-agenda {
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-day {
  min-width: 0;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-day-head {
  position: sticky;
  top: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 12px 18px 16px;
  border-bottom: 1px solid var(--color-line);
  border-radius: 14px 14px 0 0;
  background: color-mix(in srgb, var(--color-surface) 92%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-day-title { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-day-title strong { color: var(--color-ink); font-size: 0.97rem; font-weight: 650; letter-spacing: -0.01em; white-space: nowrap; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-day.is-today .rl-bk-day-title strong { color: var(--color-accent); }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-day-title span { overflow: hidden; color: var(--color-muted); font-size: 0.8125rem; text-overflow: ellipsis; white-space: nowrap; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-day-sum { color: var(--color-muted); font-size: 0.78rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* The day strip: the hours, one lane per stylist */
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-strip {
  position: relative;
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 3px 0;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--color-line) 0 1px, transparent 1px calc(100% / var(--rl-bk-hours, 10)));
  opacity: 0.7;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-lane { position: relative; display: block; height: 8px; border-radius: 3px; background: #f1f3f1; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-strip.is-dense .rl-bk-lane { height: 4px; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-block {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 3px;
  background: var(--stylist-color);
  opacity: 0.85;
  transition: opacity 150ms ease, transform 150ms var(--ease-standard);
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-block.status-booked { opacity: 0.5; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-block:is(.status-cancelled, .status-no_show) { opacity: 0.25; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-block.is-gap { background: repeating-linear-gradient(135deg, var(--color-line-strong) 0 2px, transparent 2px 4px); opacity: 1; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-block.is-upper { bottom: 50%; border-radius: 3px 3px 0 0; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-block.is-lower { top: 50%; border-radius: 0 0 3px 3px; box-shadow: 0 -1px 0 var(--color-surface); }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-block.is-hot { opacity: 1; transform: scaleY(1.5); }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-now { position: absolute; top: -3px; bottom: -3px; width: 2px; border-radius: 1px; background: var(--color-clay); }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-strip-ends {
  position: absolute;
  inset: auto 0 -14px;
  display: flex;
  justify-content: space-between;
  color: var(--color-faint);
  font-size: 0.625rem;
  pointer-events: none;
}

/* Slots: what overlaps shares a line */
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-slots { display: grid; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-slot {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 12px 18px;
  border-top: 1px solid var(--color-line);
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-slots > .rl-bk-slot:first-child,
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-nowline + .rl-bk-slot { border-top: 0; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-slot-time { display: grid; justify-items: start; gap: 1px; padding-top: 8px; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-slot-time strong { color: var(--color-ink); font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-slot-time > span { color: var(--color-faint); font-size: 0.75rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-concurrent {
  margin-top: 6px;
  padding: 1px 8px;
  border: 1px solid var(--color-accent-line);
  border-radius: 999px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 650;
  white-space: nowrap;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-slot-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(236px, 1fr));
  align-items: start;
  gap: 10px;
  min-width: 0;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-cell { display: grid; gap: 8px; min-width: 0; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-nowline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 0;
  padding: 0 18px;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-nowline span {
  padding: 1px 7px;
  border: 1px solid var(--color-clay-line);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-clay);
  font-size: 0.6875rem;
  font-weight: 650;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-nowline::after { content: ""; flex: 1; height: 1.5px; background: var(--color-clay); opacity: 0.55; }

/* An appointment */
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-card {
  position: relative;
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-ink);
  transition: border-color 150ms var(--ease-standard), box-shadow 150ms var(--ease-standard);
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-card::before {
  content: "";
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: -1px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--stylist-color, var(--color-accent));
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-card:is(:hover, .is-hot) { border-color: var(--color-line-strong); box-shadow: var(--shadow-raised); }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-card:focus-within:has(> .rl-bk-open:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 2px; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-open {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: none;
  cursor: pointer;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-open:focus-visible { outline: none; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-card > :not(.rl-bk-open),
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-ingap > :not(.rl-bk-open) { position: relative; z-index: 1; pointer-events: none; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-card > :is(.rl-bk-ingap, .business-booking-card-actions) { pointer-events: auto; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-who { display: flex; align-items: center; gap: 7px; min-width: 0; color: var(--color-ink-soft); font-size: 0.78rem; font-weight: 550; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-who > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-agenda.is-own .rl-bk-who { display: none; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-agenda.is-own .rl-bk-card-head { justify-content: flex-end; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-avatar {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--stylist-color, var(--color-accent));
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-avatar img { width: 100%; height: 100%; object-fit: cover; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-card .business-status { flex: none; min-height: 21px !important; padding: 0 0.5rem !important; font-size: 0.6875rem !important; font-style: normal; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page :is(.rl-bk-card, .rl-bk-ingap) .business-status.status-in_progress {
  border-color: #ecd9b0 !important;
  background: #fbf4e6 !important;
  color: #8a5d08 !important;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-time { margin-top: 4px; color: var(--color-muted); font-size: 0.78rem; font-variant-numeric: tabular-nums; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-customer { overflow: hidden; color: var(--color-ink); font-size: 0.9rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-service { overflow: hidden; color: var(--color-muted); font-size: 0.78rem; text-overflow: ellipsis; white-space: nowrap; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-tags { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-tag {
  padding: 1px 7px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  color: var(--color-muted);
  font-size: 0.6875rem;
  font-weight: 550;
  white-space: nowrap;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-tag.is-late { border-color: var(--color-danger-line); background: var(--color-danger-soft); color: var(--color-danger); }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-tag.is-deposit { border-color: var(--color-accent-line); background: var(--color-accent-soft); color: var(--color-accent-deep); }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-price { flex: none; color: var(--color-ink); font-size: 0.84rem; font-weight: 600; font-variant-numeric: tabular-nums; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-price.is-void { color: var(--color-faint); font-weight: 500; text-decoration: line-through; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-card > .business-booking-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
  padding: 8px 0 0;
  border-top: 1px solid var(--color-line);
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-card > .business-booking-card-actions > button { flex: 1 1 0; min-height: 32px; }

/* Gap: work · gap · work, and what is booked inside it */
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-segments { display: flex; gap: 2px; height: 6px; margin-top: 8px; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-segments > i { min-width: 4px; border-radius: 3px; background: var(--stylist-color, var(--color-accent)); opacity: 0.85; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-segments > i.is-gap { background: repeating-linear-gradient(135deg, var(--color-line-strong) 0 2px, transparent 2px 5px); opacity: 1; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-segment-times { margin-top: 3px; color: var(--color-faint); font-size: 0.6875rem; font-variant-numeric: tabular-nums; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-segment-times b { color: var(--color-ink-soft); font-weight: 600; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-ingap {
  position: relative;
  display: grid;
  gap: 1px;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px dashed var(--color-line-strong);
  border-radius: 10px;
  background: #fafaf8;
  transition: border-color 150ms ease, background-color 150ms ease;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-ingap:is(:hover, .is-hot) { border-color: var(--color-faint); background: var(--color-surface); }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-ingap:has(> .rl-bk-open:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 2px; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-ingap-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: var(--color-faint); font-size: 0.66rem; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-ingap-head .business-status { min-height: 19px !important; padding: 0 0.45rem !important; font-size: 0.66rem !important; font-style: normal; letter-spacing: 0 !important; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-ingap strong { color: var(--color-ink); font-size: 0.84rem; font-weight: 600; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-ingap-service { color: var(--color-muted); font-size: 0.75rem; }

/* Double booking: one stylist, two appointments at once */
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-double {
  display: grid;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--color-clay-line);
  border-radius: 14px;
  background: var(--color-clay-soft);
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-double-head { padding: 2px 6px 0; color: var(--color-clay); font-size: 0.7rem; font-weight: 650; }

/* By stylist */
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-board {
  display: grid;
  grid-template-columns: repeat(var(--rl-bk-columns, 1), minmax(240px, 1fr));
  align-items: start;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-column { display: grid; min-width: 0; border: 1px solid var(--color-line); border-radius: 14px; background: var(--color-surface); box-shadow: var(--shadow-card); }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-column-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--color-line); }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-column-head .rl-bk-avatar { width: 30px; height: 30px; font-size: 0.75rem; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-column-head strong { display: block; color: var(--color-ink); font-size: 0.875rem; font-weight: 600; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-column-head small { color: var(--color-muted); font-size: 0.75rem; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-column-day { padding: 10px 14px 4px; color: var(--color-faint); font-size: 0.7rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-column-day.is-today { color: var(--color-accent); }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-column-stack { display: grid; gap: 8px; padding: 2px 10px 10px; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-idle { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 10px 2px 0; color: var(--color-muted); font-size: 0.78rem; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-idle > span { display: inline-flex; align-items: center; gap: 6px; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-idle .rl-bk-avatar { width: 20px; height: 20px; filter: grayscale(0.8); opacity: 0.6; }

/* Empty and loading */
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-empty {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 48px 20px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: var(--color-surface);
  color: var(--color-muted);
  text-align: center;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-empty strong { color: var(--color-ink); font-size: 0.95rem; font-weight: 600; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-card.is-loading { gap: 8px; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-card.is-loading::before { background: #eceeeb; }

/* The waitlist strip sits under the requests, in the same panel style */
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .business-bookings-view-stage { display: flex; flex-direction: column; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .business-bookings-view-stage > * { flex: none; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .business-bookings-view-stage > .business-waitlist-strip { order: 5; margin: 14px 0 0; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .business-bookings-view-stage > .rl-bk-agenda { order: 4; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .business-bookings-view-stage > .business-bookings-load-state { order: 6; }

/* The page grows with its days and scrolls with the dashboard, like every
   other tab. The old date grid scrolled inside a page held to the window's
   height, which left the day list with no way down (2026-11-20). */
body.pro-mode .dashboard-shell .dashboard-content .business-workspace-page.business-bookings-page { height: auto; min-height: 0; overflow: visible; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .business-bookings-view-stage { min-height: 0; flex: none; overflow: visible; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-agenda { scroll-margin-top: 16px; }

/* Page numbers under the list */
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .business-bookings-view-stage > .rl-bk-pager { order: 7; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 18px 0 8px;
  animation: rlBkPagerIn 200ms var(--ease-standard) both;
}
/* Waiting for the page count: the row keeps its place and shows nothing. */
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-pager.is-waiting { visibility: hidden; animation: none; }
@keyframes rlBkPagerIn { from { opacity: 0; } to { opacity: 1; } }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-pages { display: flex; align-items: center; gap: 4px; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-page {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--color-ink-soft);
  font: inherit;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background-color 160ms var(--ease-standard), border-color 160ms var(--ease-standard), color 160ms var(--ease-standard), transform 160ms var(--ease-standard);
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-page:hover:not([disabled], .is-current) { border-color: var(--color-line); background: var(--color-surface); color: var(--color-ink); }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-page:active:not([disabled], .is-current) { transform: scale(0.94); }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-page.is-current {
  border-color: var(--color-accent-line);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 600;
  cursor: default;
}
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-page[data-direction] { border-color: var(--color-line); background: var(--color-surface); font-size: 1.1rem; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-page[disabled] { color: var(--color-faint); opacity: 0.55; cursor: default; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-page-gap { display: inline-grid; place-items: center; min-width: 24px; height: 36px; color: var(--color-faint); font-size: 0.8125rem; }

/* Narrow screens */
@media (max-width: 1100px) {
  body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-day-head { grid-template-columns: minmax(0, 1fr) auto; }
  body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-day-head .rl-bk-strip { grid-row: 2; grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-pulse { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-pulse-cell:nth-child(3) { border-left: 0; }
  body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-pulse-cell:nth-child(n + 3) { border-top: 1px solid var(--color-line); }
  body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-slot { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px 14px; }
  body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-slot-time { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; padding-top: 0; }
  body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-concurrent { margin-top: 0; }
  body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-slot-cards { grid-template-columns: minmax(0, 1fr); }
  body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-day-head { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 12px 14px 18px; }
  body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-day-head .rl-bk-strip { grid-row: 3; margin-top: 4px; }
  body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-day-sum { white-space: normal; }
  body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-pulse-value small { display: none; }
  body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-status-chips { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-pager { gap: 4px; }
  body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-pages { gap: 2px; }
  body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-page { min-width: 34px; height: 34px; padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page :is(.rl-bk-card, .rl-bk-block, .rl-bk-chip, .rl-bk-layout > button, .rl-bk-ingap) { transition: none; }
  body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-pager { animation: none; }
}

/* In a stylist's column the stylist is the column, not a line on each card. */
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-agenda[data-bk-layout="stylist"] .rl-bk-who { display: none; }
body.pro-mode .dashboard-shell .dashboard-content .business-bookings-page .rl-bk-agenda[data-bk-layout="stylist"] .rl-bk-card-head { justify-content: space-between; }

/* Bookings arrives in place. The shared tab entrance lifts the page 10px and
   each part of it 8px; on Bookings that read as the list sliding up on every
   reload. Here it only fades, with the same timing (owner, 2026-11-20).
   A page opened with a window over it keeps simply appearing (styles.css). */
.dashboard-route-enter .dashboard-content > :is(.business-bookings-page, .rl-skeleton[data-skeleton="bookings"]):not(:has(> .business-team-drawer-layer)),
.dashboard-route-enter .dashboard-content > :is(.business-bookings-page, .rl-skeleton[data-skeleton="bookings"]) > :not(.business-team-drawer-layer) {
  animation-name: rlBookingsArrive;
}
@keyframes rlBookingsArrive {
  from { opacity: 0; }
  to { opacity: 1; }
}
