/* Rehearsal room detail + booking timetable — dark premium UI */

:root {
  --rr-bg: #0a0a0a;
  --rr-surface: #161616;
  --rr-surface-2: #1c1c1c;
  --rr-border: rgba(255,255,255,0.1);
  --rr-yellow: #ffc107;
  --rr-yellow-hot: #ffd54f;
  --rr-text: #fff;
  --rr-muted: #a3a3a3;
  --rr-green: #22c55e;
  --rr-red: #ef4444;
  --rr-radius: 14px;
  --rr-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.page-catalog .rr-page,
body.page-catalog .rr-book {
  color: var(--rr-text);
}
body.page-catalog .rr-book .text-muted,
body.page-catalog .rr-book .text-secondary,
body.page-catalog .rr-page .text-muted,
body.page-catalog .rr-page .text-secondary {
  color: var(--rr-muted) !important;
}
body.page-catalog .rr-book h1,
body.page-catalog .rr-book h2,
body.page-catalog .rr-book strong,
body.page-catalog .rr-summary,
body.page-catalog .rr-summary strong {
  color: #fff;
}
body.page-catalog .rr-summary__row span:first-child,
body.page-catalog .rr-feature span {
  color: var(--rr-muted) !important;
}

/* ========== ROOM SHOW ========== */
.rr-hero {
  position: relative;
  min-height: clamp(280px, 48vh, 460px);
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.rr-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}
.rr-hero__bg img { width:100%; height:100%; object-fit:cover; display:block; }
.rr-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.78) 70%, rgba(0,0,0,.92) 100%);
}
.rr-hero__body {
  position: relative;
  z-index: 2;
  padding: 2rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
}
.rr-breadcrumb {
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  color: rgba(255,255,255,.55); font-size: .85rem; margin-bottom: .85rem;
}
.rr-breadcrumb a { color: rgba(255,255,255,.55); text-decoration: none; }
.rr-breadcrumb a:hover { color: var(--rr-yellow); }
.rr-hero__top {
  display: flex; flex-wrap: wrap; gap: .75rem 1.25rem;
  align-items: flex-end; justify-content: space-between;
}
.rr-title {
  margin: 0 0 .45rem;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
}
.rr-meta {
  display: flex; flex-wrap: wrap; gap: .55rem 1rem;
  color: rgba(255,255,255,.78); font-size: .92rem; margin-bottom: .75rem;
}
.rr-meta i { color: rgba(255,255,255,.45); margin-right: .3rem; }
.rr-pill {
  display: inline-flex; align-items: center; gap: .35rem;
  border-radius: 999px; padding: .28rem .7rem; font-size: .8rem; font-weight: 700;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
}
.rr-pill--price {
  border-color: rgba(255,193,7,.55);
  color: var(--rr-yellow);
  background: rgba(255,193,7,.1);
}
.rr-pill--open { background: rgba(34,197,94,.2); border-color: rgba(34,197,94,.45); color: #86efac; }
.rr-pill--closed { background: rgba(239,68,68,.18); border-color: rgba(239,68,68,.4); color: #fca5a5; }
.rr-rating {
  display: flex; align-items: center; gap: .55rem; flex-wrap: wrap;
}
.rr-rating .avg {
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: .35rem .55rem; font-weight: 700;
}
.rr-rating .avg i { color: var(--rr-yellow); }
#userRatingDisplay {
  background: rgba(0,0,0,.35) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: .35rem .6rem !important;
}
#userRatingDisplay i { color: var(--rr-yellow) !important; }

.rr-actions {
  display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem;
}
.rr-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.35rem;
  background: var(--rr-yellow); color: #111 !important;
  font-weight: 800; border: 0; border-radius: 12px;
  text-decoration: none !important;
  transition: transform .2s var(--rr-ease), background .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 28px rgba(255,193,7,.28);
}
.rr-btn-primary:hover {
  background: var(--rr-yellow-hot); color: #111 !important;
  transform: translateY(-2px);
}
.rr-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 48px; padding: .65rem 1rem;
  background: rgba(255,255,255,.08); color: #fff !important;
  border: 1px solid rgba(255,255,255,.16); border-radius: 12px;
  font-weight: 600; text-decoration: none !important; cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s var(--rr-ease);
}
.rr-btn-ghost:hover {
  border-color: rgba(255,193,7,.45); color: var(--rr-yellow) !important;
  transform: translateY(-1px);
}

.rr-quick {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: .75rem;
  margin: 0 0 1.25rem;
}
.rr-quick__item {
  background: var(--rr-surface);
  border: 1px solid var(--rr-border);
  border-radius: 12px;
  padding: .85rem .75rem;
  text-align: center;
}
.rr-quick__item i { color: var(--rr-yellow); margin-bottom: .35rem; display: block; font-size: 1.1rem; }
.rr-quick__item strong { display: block; font-size: .88rem; margin-bottom: .15rem; }
.rr-quick__item span { color: var(--rr-muted); font-size: .78rem; }

.rr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, .85fr);
  gap: 1.15rem;
  align-items: start;
  padding-bottom: 5.5rem;
}
.rr-card {
  background: var(--rr-surface);
  border: 1px solid var(--rr-border);
  border-radius: var(--rr-radius);
  padding: 1.05rem 1.1rem 1.15rem;
  margin-bottom: 1.1rem;
}
.rr-card__head {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  margin-bottom: .85rem;
}
.rr-card__head h2 {
  margin: 0; font-size: 1.02rem; font-weight: 700;
  display: flex; align-items: center; gap: .45rem;
}
.rr-card__head h2 i { color: var(--rr-yellow); }
.rr-card__head a { color: var(--rr-yellow) !important; text-decoration: none !important; font-size: .85rem; font-weight: 600; }

.rr-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: .55rem;
}
.rr-gallery__main,
.rr-gallery .gcell {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--rr-border);
  background: #111; aspect-ratio: 4/3; cursor: pointer;
  position: relative;
}
.rr-gallery__main { aspect-ratio: 4/3; }
.rr-gallery__side {
  display: grid; grid-template-columns: 1fr 1fr; gap: .55rem;
}
.rr-gallery img { width:100%; height:100%; object-fit:cover; display:block; transition: transform .25s var(--rr-ease); }
.rr-gallery a:hover img { transform: scale(1.04); }
.rr-gallery .gcell__badge {
  position: absolute; right: .4rem; bottom: .4rem;
  background: rgba(0,0,0,.65); color: #fff; border-radius: .4rem;
  padding: .1rem .4rem; font-size: .72rem;
}

.rr-eq {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .65rem;
}
.rr-eq__item {
  background: var(--rr-surface-2);
  border: 1px solid var(--rr-border);
  border-radius: 12px;
  padding: .7rem;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: .55rem;
  align-items: center;
  min-width: 0;
}
.rr-eq__img {
  width: 52px; height: 52px; border-radius: 10px; overflow: hidden;
  background: #111; display: flex; align-items: center; justify-content: center;
}
.rr-eq__img img { width:100%; height:100%; object-fit:cover; }
.rr-eq__img i { color: var(--rr-yellow); }
.rr-eq__name { font-weight: 700; font-size: .85rem; line-height: 1.25; }
.rr-eq__desc { color: var(--rr-muted); font-size: .75rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.rr-amenities {
  display: flex; flex-wrap: wrap; gap: .55rem;
}
.rr-amenity {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 1px solid var(--rr-border); border-radius: 999px;
  padding: .4rem .7rem; font-size: .8rem; color: rgba(255,255,255,.85);
}
.rr-amenity i { color: var(--rr-yellow); }

.rr-cta-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .85rem;
  background: linear-gradient(135deg, rgba(255,193,7,.16), rgba(255,193,7,.05));
  border: 1px solid rgba(255,193,7,.35);
  border-radius: var(--rr-radius);
  padding: 1rem 1.15rem;
}
.rr-cta-banner strong { display:block; margin-bottom: .15rem; }
.rr-cta-banner span { color: var(--rr-muted); font-size: .88rem; }

.rr-contact-row {
  display: flex; gap: .6rem; align-items: flex-start;
  margin-bottom: .7rem; color: rgba(255,255,255,.88); font-size: .9rem;
}
.rr-contact-row i { color: var(--rr-yellow); width: 16px; margin-top: .2rem; }
.rr-contact-row a { color: #fff !important; text-decoration: none !important; }
.rr-contact-row a:hover { color: var(--rr-yellow) !important; }
.rr-socials { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.rr-social {
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: #fff !important; text-decoration: none !important;
}
.rr-social:hover { background: var(--rr-yellow); color: #111 !important; }

.rr-wh { list-style: none; margin: 0; padding: 0; }
.rr-wh li {
  display: flex; justify-content: space-between; gap: .75rem;
  padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .88rem;
}
.rr-wh li:last-child { border-bottom: 0; }
.rr-wh .day { color: rgba(255,255,255,.7); display: flex; align-items: center; gap: .4rem; }
.rr-wh .day::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rr-green);
  box-shadow: 0 0 0 3px rgba(34,197,94,.15);
}
.rr-wh .day.is-closed::before { background: var(--rr-red); box-shadow: 0 0 0 3px rgba(239,68,68,.15); }
.rr-wh .today { color: var(--rr-yellow); font-weight: 700; }

.rr-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
  display: none;
  background: rgba(10,10,10,.92);
  border-top: 1px solid var(--rr-border);
  backdrop-filter: blur(12px);
  padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom));
}
.rr-sticky__inner {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  max-width: 720px; margin: 0 auto;
}
.rr-sticky__price { font-weight: 800; color: var(--rr-yellow); }
.rr-sticky__price small { display:block; color: var(--rr-muted); font-weight: 500; font-size: .75rem; }

@media (max-width: 991.98px) {
  .rr-layout { grid-template-columns: 1fr; }
  .rr-quick { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rr-gallery { grid-template-columns: 1fr; }
  .rr-gallery__side { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .rr-eq { grid-template-columns: 1fr 1fr; }
  .rr-sticky { display: block; }
  .rr-actions .rr-btn-primary { flex: 1 1 100%; }
}
@media (max-width: 575.98px) {
  .rr-eq { grid-template-columns: 1fr; }
  .rr-gallery__side { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rr-quick { grid-template-columns: 1fr 1fr; }
}

/* ========== BOOKING PAGE ========== */
.rr-book { padding: 1.25rem 0 6rem; }
.rr-book-head {
  display: grid;
  grid-template-columns: 96px minmax(0,1fr) auto;
  gap: 1rem;
  align-items: center;
  background: var(--rr-surface);
  border: 1px solid var(--rr-border);
  border-radius: var(--rr-radius);
  padding: 1rem;
  margin-bottom: 1rem;
}
.rr-book-head img {
  width: 96px; height: 72px; object-fit: cover; border-radius: 10px; background: #111;
}
.rr-book-head h1 { margin: 0 0 .25rem; font-size: 1.25rem; font-weight: 800; }
.rr-book-head .meta { color: var(--rr-muted); font-size: .88rem; }
.rr-book-head .meta i { margin-right: .3rem; }
.rr-steps {
  display: flex; gap: .75rem; flex-wrap: wrap;
  margin-bottom: 1rem;
}
.rr-step {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--rr-muted); font-size: .88rem; font-weight: 600;
}
.rr-step__num {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--rr-border); background: var(--rr-surface);
  font-size: .8rem;
}
.rr-step.is-active { color: #fff; }
.rr-step.is-active .rr-step__num {
  background: var(--rr-yellow); border-color: var(--rr-yellow); color: #111; font-weight: 800;
}
.rr-step.is-done .rr-step__num {
  background: rgba(255,193,7,.2); border-color: var(--rr-yellow); color: var(--rr-yellow);
}

.rr-book-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 1rem;
  align-items: start;
}
.rr-book-main {
  background: var(--rr-surface);
  border: 1px solid var(--rr-border);
  border-radius: var(--rr-radius);
  padding: 1rem;
}
.rr-book-side {
  position: sticky; top: 5.5rem;
}
.rr-summary {
  background: var(--rr-surface);
  border: 1px solid var(--rr-border);
  border-radius: var(--rr-radius);
  padding: 1rem;
}
.rr-summary h2 { font-size: 1rem; font-weight: 800; margin: 0 0 .85rem; }
.rr-summary__row {
  display: flex; justify-content: space-between; gap: .5rem;
  padding: .4rem 0; border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .9rem;
}
.rr-summary__row span:first-child { color: var(--rr-muted); }
.rr-summary__total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: .85rem 0 1rem; font-weight: 800;
}
.rr-summary__total strong { color: var(--rr-yellow); font-size: 1.35rem; }
.rr-features {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: .75rem; margin-top: 1.25rem;
}
.rr-feature {
  background: var(--rr-surface); border: 1px solid var(--rr-border);
  border-radius: 12px; padding: .85rem; text-align: center;
}
.rr-feature i { color: var(--rr-yellow); margin-bottom: .35rem; display:block; }
.rr-feature span { font-size: .8rem; color: var(--rr-muted); }

/* Month bar + schedule polish */
body.page-catalog #scheduleMonthsBar .btn,
body.page-catalog #scheduleMonthsBar .month-btn {
  border-radius: 999px !important;
  border: 1px solid var(--rr-border) !important;
  background: rgba(255,255,255,.06) !important;
  color: #fff !important;
  font-weight: 600;
}
body.page-catalog #scheduleMonthsBar .btn-primary,
body.page-catalog #scheduleMonthsBar .btn.active,
body.page-catalog #scheduleMonthsBar .month-btn.active {
  background: var(--rr-yellow) !important;
  border-color: var(--rr-yellow) !important;
  color: #111 !important;
}
body.page-catalog #scheduleContainer,
body.page-catalog #scheduleContainer .bg-light,
body.page-catalog #scheduleContainer .bg-white {
  background: transparent !important;
  border-color: transparent !important;
  color: #fff !important;
}
body.page-catalog #scheduleContainer .schedule-pick.btn-success {
  background: rgba(34,197,94,.18) !important;
  border: 1px solid rgba(34,197,94,.55) !important;
  color: #bbf7d0 !important;
  border-radius: 12px !important;
  height: auto !important;
  min-height: 56px !important;
  width: 120px !important;
  min-width: 120px !important;
  max-width: 140px !important;
  font-weight: 700 !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease !important;
}
body.page-catalog #scheduleContainer .schedule-pick.btn-success:hover {
  transform: translateY(-2px);
  background: rgba(34,197,94,.28) !important;
  box-shadow: 0 8px 20px rgba(34,197,94,.2);
}
body.page-catalog #scheduleContainer .schedule-pick.is-selected,
body.page-catalog #scheduleContainer .schedule-pick.btn-success.is-selected {
  background: var(--rr-yellow) !important;
  border-color: var(--rr-yellow) !important;
  color: #111 !important;
  box-shadow: 0 8px 22px rgba(255,193,7,.35);
}
body.page-catalog #scheduleContainer .schedule-booked {
  background: rgba(239,68,68,.18) !important;
  border: 1px solid rgba(239,68,68,.45) !important;
  color: #fecaca !important;
  border-radius: 12px !important;
  height: auto !important;
  min-height: 56px !important;
  width: 120px !important;
  min-width: 120px !important;
}
body.page-catalog #scheduleContainer .schedule-pending {
  background: rgba(255,193,7,.12) !important;
  border: 1px solid rgba(255,193,7,.4) !important;
  color: #ffe08a !important;
  border-radius: 12px !important;
}
body.page-catalog #bookTabs .nav-link {
  color: var(--rr-muted) !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  font-weight: 600;
}
body.page-catalog #bookTabs .nav-link.active {
  color: var(--rr-yellow) !important;
  background: transparent !important;
  border-bottom-color: var(--rr-yellow) !important;
}
body.page-catalog .rr-book .card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.page-catalog .rr-book .card-body { padding: 0 !important; }

.rr-book-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
  display: none;
  background: rgba(10,10,10,.94);
  border-top: 1px solid var(--rr-border);
  backdrop-filter: blur(12px);
  padding: .75rem .9rem calc(.75rem + env(safe-area-inset-bottom));
}
.rr-book-sticky__inner {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  max-width: 720px; margin: 0 auto;
}
.rr-book-sticky__meta { font-size: .82rem; color: var(--rr-muted); }
.rr-book-sticky__meta strong { display:block; color: #fff; font-size: .95rem; }

@media (max-width: 991.98px) {
  .rr-book-grid { grid-template-columns: 1fr; }
  .rr-book-side { position: static; display: none; } /* summary moves to sticky on mobile */
  .rr-book-sticky { display: block; }
  .rr-book-head { grid-template-columns: 72px 1fr; }
  .rr-book-head .rr-btn-ghost { grid-column: 1 / -1; }
  .rr-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .rr-features { grid-template-columns: 1fr; }
  body.page-catalog #scheduleContainer .schedule-pick.btn-success,
  body.page-catalog #scheduleContainer .schedule-booked,
  body.page-catalog #scheduleContainer .schedule-pending {
    width: 46% !important;
    min-width: 46% !important;
    max-width: 48% !important;
  }
  body.page-catalog #scheduleContainer .slots-row {
    flex-wrap: wrap !important;
    overflow: visible !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rr-btn-primary, .rr-btn-ghost, .rr-gallery img,
  body.page-catalog #scheduleContainer .schedule-pick,
  .rrb-slot, .rrb-day { transition: none !important; }
}

/* ========== BOOKING BOARD (calendar + day slots) ========== */
.rrb-board {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.rrb-cal-card,
.rrb-slots-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--rr-border);
  border-radius: 14px;
  padding: 1rem;
}
.rrb-cal-title,
.rrb-day-title {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: .85rem;
  color: #fff;
}
.rrb-cal-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .25rem;
  margin-bottom: .35rem;
  text-align: center;
  color: var(--rr-muted);
  font-size: .72rem;
  font-weight: 600;
}
.rrb-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .3rem;
}
.rrb-day {
  appearance: none;
  border: 1px solid transparent;
  background: rgba(255,255,255,.04);
  color: #fff;
  border-radius: 10px;
  min-height: 44px;
  padding: .35rem .15rem .3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.rrb-day .num { font-size: .9rem; font-weight: 700; line-height: 1; }
.rrb-day .status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: transparent;
}
.rrb-day.is-free .status-dot { background: #22c55e; }
.rrb-day.is-partial .status-dot { background: #f59e0b; }
.rrb-day.is-booked .status-dot { background: #ef4444; }
.rrb-day.is-today { border-color: rgba(255,193,7,.45); }
.rrb-day.is-selected,
.rrb-day.is-selected:hover {
  background: var(--rr-yellow) !important;
  border-color: var(--rr-yellow) !important;
  color: #111 !important;
  transform: translateY(-1px);
}
.rrb-day.is-selected .status-dot { background: #111; }
.rrb-day:hover:not([disabled]):not(.is-selected) {
  background: rgba(255,255,255,.08);
}
.rrb-day.is-muted,
.rrb-day.is-past,
.rrb-day[disabled] {
  opacity: .35;
  cursor: default;
  pointer-events: none;
}
.rrb-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  margin-top: .85rem;
  font-size: .78rem;
  color: var(--rr-muted);
}
.rrb-legend .dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  margin-right: .35rem;
  vertical-align: middle;
}
.rrb-legend .dot.free { background: #22c55e; }
.rrb-legend .dot.selected { background: var(--rr-yellow); }
.rrb-legend .dot.booked { background: #ef4444; }

.rrb-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}
.rrb-slot {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 14px;
  min-height: 72px;
  padding: .85rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .2rem;
  text-align: left;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-sizing: border-box;
  width: 100%;
}
/* Beat injected schedule_month .schedule-pick size rules (110×48) */
#rrbSlots .rrb-slot,
#rrbSlots .rrb-slot.schedule-pick,
#rrbSlots button.rrb-slot {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 72px !important;
  padding: .85rem 1rem !important;
  margin: 0 !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  white-space: normal !important;
  font-size: inherit !important;
  line-height: 1.2 !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
}
.rrb-slot__time { font-size: 1.05rem; font-weight: 800; line-height: 1.1; }
.rrb-slot__state { font-size: .78rem; opacity: .9; }
.rrb-slot.is-free {
  background: rgba(34,197,94,.16);
  border-color: rgba(34,197,94,.5);
  color: #bbf7d0;
  cursor: pointer;
}
.rrb-slot.is-free:hover {
  transform: translateY(-2px);
  background: rgba(34,197,94,.26);
  box-shadow: 0 10px 24px rgba(34,197,94,.18);
}
.rrb-slot.is-free.is-selected,
.rrb-slot.schedule-pick.is-selected {
  background: var(--rr-yellow) !important;
  border-color: var(--rr-yellow) !important;
  color: #111 !important;
  box-shadow: 0 10px 26px rgba(255,193,7,.35);
}
.rrb-slot.is-booked {
  background: rgba(127,29,29,.35);
  border-color: rgba(239,68,68,.4);
  color: #fecaca;
  cursor: default;
}
.rrb-slot.is-pending {
  background: rgba(255,193,7,.1);
  border-color: rgba(255,193,7,.35);
  color: #ffe08a;
  cursor: default;
}

.rrb-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .45rem;
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.rrb-week__day {
  appearance: none;
  border: 1px solid var(--rr-border);
  background: rgba(255,255,255,.03);
  border-radius: 12px;
  color: #fff;
  padding: .55rem .25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  cursor: pointer;
}
.rrb-week__day .w { font-size: .68rem; color: var(--rr-muted); }
.rrb-week__day .n { font-weight: 800; font-size: .95rem; }
.rrb-week__day .bars { display: flex; gap: 2px; }
.rrb-week__day .bars i {
  width: 8px; height: 8px; border-radius: 2px;
  background: rgba(255,255,255,.12);
  display: inline-block;
}
.rrb-week__day .bars i.free { background: #22c55e; }
.rrb-week__day .bars i.partial { background: #f59e0b; }
.rrb-week__day .bars i.booked { background: #ef4444; }
.rrb-week__day.is-active {
  border-color: var(--rr-yellow);
  background: rgba(255,193,7,.12);
}

@media (max-width: 991.98px) {
  .rrb-board { grid-template-columns: 1fr; }
  .rrb-slots-grid { grid-template-columns: 1fr; }
  .rrb-week { display: none; }
  .rrb-cal-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .rrb-calendar { min-width: 280px; }
}

@media (max-width: 575.98px) {
  .rrb-day { min-height: 40px; border-radius: 8px; }
  .rrb-slot,
  #rrbSlots .rrb-slot,
  #rrbSlots .rrb-slot.schedule-pick,
  #rrbSlots button.rrb-slot { min-height: 64px !important; }
}
