.booking-page { background: var(--cloud); color: var(--ink); min-height: 100vh; display:flex; flex-direction:column; }
.booking-hero {
  position: relative;
  padding: 48px 0 32px;
  background: linear-gradient(
    160deg,
    var(--booking-hero-start, rgba(30,58,138,0.08)),
    var(--booking-hero-end, rgba(12,74,110,0.12))
  );
}
.booking-content { padding: 0 0 72px; display:grid; gap:32px; }
.booking-org { display:flex; align-items:center; gap:24px; padding:20px 0 12px 0; flex-wrap:wrap; }
.booking-org__logo { width:88px; height:88px; border-radius:24px; border:1px solid var(--border); background:#fff; box-shadow:0 8px 20px rgba(15,23,42,0.08); display:flex; align-items:center; justify-content:center; overflow:hidden; flex:0 0 auto; }
.booking-org__logo img { width:100%; height:100%; object-fit:cover; display:block; }
.booking-org__initials { font:700 28px/1 "Source Serif 4"; color:var(--booking-brand, var(--primary-700)); letter-spacing:0.04em; }
.booking-org__meta { display:grid; gap:8px; }
.booking-lang {
  position:absolute;
  top:16px;
  right:16px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}
.booking-lang__options { display:inline-flex; gap:6px; }
.booking-lang .lang-option { border-radius: 10px; }
.booking-org__meta .muted-note { margin:0; }
@media (max-width: 720px){
  .booking-org { flex-direction:column; align-items:flex-start; padding-top:12px; }
  .booking-org__logo { width:72px; height:72px; border-radius:20px; }
  .booking-lang { top:12px; right:12px; }
}
.booking-intro { display:grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap:24px; align-items:start; }
@media (max-width: 900px){ .booking-intro { grid-template-columns: 1fr; }}
.booking-form { background: var(--card); border:1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding:24px; display:grid; gap:18px; }
.booking-form h2 { margin:0; font:700 20px/1.2 "Source Serif 4"; color:var(--booking-brand, var(--primary-700)); }
.booking-form label { display:block; font-weight:600; color:var(--booking-brand, var(--primary-700)); margin-bottom:6px; }
.booking-form select { width:100%; border:1px solid var(--border); border-radius:10px; padding:10px 12px; font:inherit; background:#fff; color:var(--ink); }
.booking-form .muted-note { margin:0; font-size:14px; }
.booking-form button { align-self:start; }
.booking-stepper {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.booking-step {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: #fff;
}
.booking-step.is-complete {
  color: #166534;
  border-color: #86efac;
  background: #f0fdf4;
}
.booking-step.is-current {
  color: var(--booking-brand, #1e3a8a);
  border-color: var(--booking-availability-border, #93c5fd);
  background: var(--booking-availability-soft, #eff6ff);
}
.mode-banner { border-radius: 12px; padding: 12px 16px; background: rgba(10, 122, 196, 0.12); border-left: 4px solid #0a7ac4; color: #0f172a; font-weight: 600; }
.mode-banner.is-hidden { display: none; }
.mode-banner--warning { background: rgba(220, 38, 38, 0.12); border-left-color: #dc2626; color: #7f1d1d; }
.mode-banner--success { background: rgba(22, 163, 74, 0.12); border-left-color: #16a34a; color: #14532d; }
.mode-banner .banner-sub { display:block; margin-top:6px; font-weight:500; font-size:14px; }
.cancel-card { background: var(--card); border:1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding:24px; display:grid; gap:18px; }
.cancel-actions { display:flex; gap:12px; flex-wrap:wrap; }
.btn.danger { background: #fff; color: var(--danger-800); border-color: var(--danger-400); box-shadow: none; }
.btn.danger:hover { background: var(--danger-50); border-color: var(--danger-400); color: var(--danger-700); }
.btn.danger:focus-visible { outline: 2px solid var(--danger-400); outline-offset: 2px; }
.btn.danger:active { background: var(--danger-100); border-color: var(--danger-400); }
.btn.danger.danger-confirm { background: var(--danger-700); color: #fff; border-color: var(--danger-700); box-shadow: 0 4px 12px rgba(185, 28, 28, 0.18); }
.btn.danger.danger-confirm:hover { background: var(--danger-800); border-color: var(--danger-800); color: #fff; }
.btn.danger.danger-confirm:active { background: #7f1d1d; border-color: #7f1d1d; }
.is-hidden { display:none !important; }
.slots-list li.is-current { border-color:#16a34a; background:rgba(22,163,74,0.12); }
.slots-list li.is-current .slot-status { color:#166534; }
.cancel-modal__card { gap:16px; }
.cancel-modal__card #cancel-details {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--danger-200);
  border-radius: 10px;
  background: #fff;
  color: var(--danger-800);
}
.cancel-modal__card .danger-confirm-copy {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--danger-200);
  border-radius: 10px;
  background: #fff;
  color: var(--danger-800);
}
.cancel-modal__actions { display:flex; gap:12px; justify-content:flex-end; flex-wrap:wrap; }
.booking-page--cancel .booking-layout { display:none; }
.booking-page--cancel .booking-feedback { display:none; }
.booking-page--cancel .booking-intro { grid-template-columns: 1fr; }
.service-summary { border:1px solid var(--border); border-radius:12px; padding:16px; background:#fff; display:flex; gap:16px; align-items:flex-start; }
.service-summary.is-empty { justify-content:center; color:var(--muted); font-style:italic; }
.service-summary__avatar { width:64px; height:64px; border-radius:16px; border:1px solid var(--border); background:#F1F5F9; display:flex; align-items:center; justify-content:center; font-weight:700; color:var(--booking-brand, var(--primary-700)); flex:0 0 auto; overflow:hidden; }
.service-summary__avatar img { width:100%; height:100%; object-fit:cover; display:block; }
.service-summary__avatar--initials { font-size:20px; letter-spacing:0.04em; }
.service-summary__text { display:grid; gap:6px; }
.service-summary__title { margin:0; font:600 16px/1.3 "Source Serif 4"; color:var(--booking-brand, var(--primary-700)); }
.service-summary__desc { margin:0; font-size:14px; color:var(--muted); line-height:1.45; }
.booking-help { background: var(--card); border:1px solid var(--border); border-radius: var(--radius); padding:24px; box-shadow: var(--shadow); position:relative;}
.booking-help h2 { margin:0 0 12px; font:700 18px/1.3 "Source Serif 4"; color:var(--booking-brand, var(--primary-700)); }
.booking-help ol { margin:0 0 12px; padding-left:20px; }
.booking-help .close-outline{display:none;}
.booking-trust-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:-8px; }
.booking-trust-chip {
  display:inline-flex;
  align-items:center;
  border:1px solid var(--border);
  background:#fff;
  border-radius:999px;
  padding:8px 12px;
  color:var(--booking-brand, var(--primary-700));
  font-size:13px;
  font-weight:600;
}
.booking-branding {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-width:0;
}
.booking-branding--top {
  padding:0 4px;
  border:none;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.booking-branding--bottom {
  padding:18px 20px;
  border:1px solid var(--border);
  border-radius:16px;
  background:linear-gradient(135deg, var(--booking-promo-start, #f8fafc) 0%, var(--booking-promo-end, #eef2ff) 100%);
  box-shadow:var(--shadow);
}
.booking-branding__copy { min-width:0; display:grid; gap:6px; }
.booking-branding__line,
.booking-branding__title,
.booking-branding__body,
.booking-branding__subline { margin:0; }
.booking-branding__line {
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}
.booking-branding__eyebrow { margin-right:4px; }
.booking-branding__name {
  color:var(--booking-brand, var(--primary-700));
  font-weight:700;
  text-decoration:underline;
}
.booking-branding__subline {
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}
.booking-branding__title {
  color:var(--booking-brand, var(--primary-700));
  font:700 18px/1.3 "Source Serif 4";
}
.booking-branding__body {
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}
.booking-branding__cta { flex:0 0 auto; }
.booking-branding__link {
  color:var(--booking-brand, var(--primary-700));
  font-size:14px;
  font-weight:700;
  text-decoration:underline;
  white-space:nowrap;
}
.booking-layout { display:grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap:24px; align-items:start; }
.booking-layout > .booking-card { height:auto; align-content:start; }
.booking-layout > .booking-card[aria-labelledby="slots-title"] {
  grid-template-rows:auto minmax(0, 1fr);
  align-self:start;
  height:auto;
  min-height:0;
}
.booking-layout > .booking-card[aria-labelledby="slots-title"] .slots-list {
  min-height:0;
  height:auto;
  max-height:none;
  align-content:start;
  overflow-y:auto;
}
.booking-layout > .booking-card[aria-labelledby="slots-title"].slots-card--synced {
  height:var(--slots-card-height);
  box-sizing:border-box;
  overflow:hidden;
}
@media (max-width: 1024px){
  .booking-layout { grid-template-columns: 1fr; }
  .booking-layout > .booking-card { height:auto; }
  .booking-layout > .booking-card[aria-labelledby="slots-title"] .slots-list { height:auto; max-height:400px; }
}
@media (max-width: 720px){
  .booking-branding--bottom {
    flex-direction:column;
    align-items:flex-start;
  }
  .booking-branding__cta {
    width:100%;
    justify-content:center;
  }
  .booking-branding--top {
    gap:8px;
    align-items:flex-start;
  }
  .booking-branding__link {
    font-size:13px;
  }
}
.booking-help{position:relative;}
.booking-help .close-outline{display:none; position:absolute; top:12px; right:12px; width:14px; height:14px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); opacity:0.5;}
.booking-help .close-outline::before{content:""; position:absolute; top:0; left:0; width:14px; height:14px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(90deg);}
.booking-card { background: var(--card); border:1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding:24px; display:grid; gap:18px; }
.card-head h2 { margin:0; font:700 18px/1.2 "Source Serif 4"; color:var(--booking-brand, var(--primary-700)); }
.calendar-shell { min-height: 480px; }
.slots-list { list-style:none; margin:0; padding:0; display:grid; gap:10px; max-height:400px; overflow-y:auto; }
.slots-list li { border:1px solid var(--border); border-radius:12px; padding:10px 12px; background:#fff; display:flex; justify-content:space-between; align-items:center; font-weight:600; color:var(--booking-brand, var(--primary-700)); cursor:pointer; transition:background 0.2s, color 0.2s, border-color 0.2s; }
.slots-list li:hover { background:var(--booking-surface-tint-soft, #EEF2FF); }
.slots-list li.is-available { border-color: var(--booking-availability, var(--primary-600)); }
.slots-list li.is-unavailable { color:var(--muted); cursor:not-allowed; background:#F3F4F6; }
.slots-list li.is-unavailable:hover { background:#F3F4F6; }
.slots-list li.slots-placeholder,
.slots-list li.slots-actions { border:none; background:transparent; padding:0; cursor:default; box-shadow:none; }
.slots-list li.slots-placeholder:hover,
.slots-list li.slots-actions:hover { background:transparent; }
.slots-list li.slots-placeholder { display:block; color:var(--muted); font-weight:500; line-height:1.4; }
.slots-list li.slots-placeholder:first-child { padding-top:2px; }
.slots-placeholder--intro { font-size:14px; }
.slots-placeholder--headline { color:var(--booking-brand, var(--primary-700)); font-size:15px; font-weight:700; }
.slots-placeholder--meta { font-size:14px; }
.slots-placeholder--next { color: var(--booking-brand, var(--primary-700)); }
.slots-list li.slots-actions { justify-content:flex-start; gap:12px; flex-wrap:wrap; align-items:center; }
.slots-actions .btn { pointer-events: auto; }
.slot-time { font-size:14px; font-weight:600; }
.slot-status { font-size:12px; font-weight:600; }
.is-available .slot-status { color:var(--booking-availability, var(--primary-600)); }
.is-unavailable .slot-status { color:var(--muted); }
.booking-feedback { font-weight:600; color:var(--booking-brand, var(--primary-700)); }
.booking-feedback pre { background:#0f172a; color:#e2e8f0; padding:16px; border-radius:12px; overflow:auto; max-height:220px; font-size:12px; }
.booking-modal { display:none; position:fixed; inset:0; background:rgba(15,23,42,0.4); backdrop-filter: blur(6px); z-index:90; align-items:center; justify-content:center; padding:24px; }
.booking-modal.is-open { display:flex; }
.booking-modal__card { background:var(--card); border-radius:var(--radius); box-shadow:0 24px 40px rgba(15,23,42,0.25); border:1px solid var(--border); padding:24px; width:min(520px, 94vw); display:grid; gap:16px; box-sizing:border-box; }
.booking-modal__card--form { width:min(480px, 94vw); max-height:min(720px, calc(100dvh - 48px)); overflow-y:auto; overscroll-behavior:contain; }
.booking-modal__card h3 { margin:0; font:700 20px/1.2 "Source Serif 4"; color:var(--booking-brand, var(--primary-700)); }
.booking-modal__form { display:grid; gap:16px; }
.booking-modal__form .input { width:100%; box-sizing:border-box; font-size:16px; }
.booking-modal__form .input:disabled { background:#f8fafc; color:var(--muted); cursor:not-allowed; }
.booking-modal__form .field { display:grid; gap:6px; }
.booking-consent-toggle { display:flex; align-items:flex-start; gap:10px; cursor:pointer; margin-bottom:0; }
.booking-consent-toggle input { width:16px; height:16px; margin-top:2px; accent-color: var(--booking-brand, var(--primary-700)); flex:0 0 auto; }
.booking-consent-toggle span { font-weight:600; color:var(--booking-brand, var(--primary-700)); line-height:1.35; }
.booking-consent-toggle a { color: var(--booking-brand, var(--primary-700)); text-decoration: underline; }
.booking-consent-note { margin:4px 0 0; font-size:13px; line-height:1.45; }
.booking-modal__actions { display:flex; gap:12px; justify-content:flex-end; }
.hold-countdown {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--booking-availability-border, #bfdbfe);
  border-radius: 10px;
  background: var(--booking-availability-soft, #eff6ff);
  color: var(--booking-brand, var(--primary-700));
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
.booking-success-details { border:1px solid var(--border); border-radius:12px; padding:12px 14px; background:#f8fafc; display:grid; gap:8px; }
.booking-success-details .detail-row { display:grid; grid-template-columns:120px 1fr; gap:8px; padding:4px 0; border-bottom:1px solid #e2e8f0; font-size:14px; }
.booking-success-details .detail-row:last-child { border-bottom:0; }
.booking-success-details .label { color: var(--muted); font-weight:600; }
.booking-success-details .value { color: var(--ink); font-weight:600; }
.booking-success-promo {
  border: 1px solid color-mix(in srgb, var(--border) 82%, white 18%);
  border-radius: 12px;
  background: color-mix(in srgb, var(--booking-promo-end, #eef2ff) 42%, white 58%);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.booking-success-promo__title {
  margin: 0;
  color: var(--booking-brand, var(--primary-700));
  font: 700 15px/1.3 "Source Serif 4";
}
.booking-success-promo .btn {
  flex: 0 0 auto;
  min-height: 0;
  padding: 10px 16px;
  font-size: 15px;
  border-radius: 10px;
  box-shadow: none;
}
@media (max-width: 720px){
  .booking-success-promo {
    align-items: flex-start;
    flex-direction: column;
  }
  .booking-success-promo .btn {
    width: 100%;
    justify-content: center;
  }
}
.booking-page footer { margin-top:auto; }
.booking-page .fc .fc-daygrid-day { cursor:pointer; border-radius:12px; transition:background 0.2s ease, box-shadow 0.2s ease; }
.booking-page .fc .fc-daygrid-body table { border-collapse:separate; border-spacing:5px 3px; }
.booking-page .fc .fc-daygrid-day { padding:0; }
.booking-page .fc .fc-daygrid-day-frame { border-radius:4px; padding:0; min-height:14px; }
.booking-page .fc .fc-daygrid-day-number { font-size:0.85rem; font-weight:600; }
.booking-page .fc { --fc-daygrid-row-height: 18px; }
.booking-page .fc .fc-daygrid-day.custom-selected-day,
.booking-page .fc .fc-daygrid-day.custom-selected-day.fc-day-available,
.booking-page .fc .fc-daygrid-day.custom-selected-day.fc-day-available:hover {
  background: var(--booking-availability, #1d4ed8) !important;
  color: var(--booking-availability-text, #ffffff) !important;
  border: 2px solid var(--booking-availability-strong, #1e3a8a) !important;
  box-shadow: 0 0 0 2px var(--booking-availability-border, #bfdbfe), 0 8px 16px var(--booking-button-shadow, rgba(30, 64, 175, 0.28));
}
.booking-page .fc .fc-daygrid-day.custom-selected-day .fc-daygrid-day-number {
  color: var(--booking-availability-text, #ffffff) !important;
  font-weight: 700;
}
.booking-page .fc .fc-day-past { background: rgba(148,163,184,0.12) !important; color: var(--muted) !important; cursor:not-allowed; }
.booking-page .fc .fc-daygrid-day.fc-day-unavailable { opacity:0.4; cursor:not-allowed; }
.booking-page .fc .fc-daygrid-day.fc-day-unavailable .fc-daygrid-day-number { color: var(--muted); }
.booking-page .fc .fc-daygrid-day.fc-day-available:not(.fc-day-unavailable) {
  background: var(--booking-availability-soft, #9aabd9);
  color: #0f172a;
  box-shadow: 0 4px 12px var(--booking-availability-soft, rgba(154, 171, 217, 0.35));
}
.booking-page .fc .fc-daygrid-day.fc-day-available:not(.fc-day-unavailable):hover {
  background: var(--booking-availability-hover, #274bb3);
  color: var(--booking-availability-text, #fff);
}
.booking-page .fc .fc-daygrid-day.fc-day-available .fc-daygrid-day-number { font-weight:600; }
.booking-page .fc .fc-daygrid-day.fc-day-today:not(.fc-day-unavailable):not(.custom-selected-day) { border:2px dashed var(--booking-availability-border, #93c5fd); }
.booking-page .fc .fc-daygrid-day.fc-holiday,
.booking-page .fc .fc-timegrid-col.fc-holiday,
.fc .fc-daygrid-day.fc-holiday,
.fc .fc-timegrid-col.fc-holiday {
  background: #f4efff !important;
  color: #4b3ba8;
  border-color: #c3b3ff !important;
}
.booking-page .fc .fc-daygrid-day.fc-holiday .fc-daygrid-day-number,
.fc .fc-daygrid-day.fc-holiday .fc-daygrid-day-number,
.fc-holiday .fc-col-header-cell-cushion {
  color: #4b3ba8;
  font-weight: 700;
}
.fc .fc-daygrid-day.fc-holiday .fc-daygrid-day-frame,
.fc .fc-daygrid-day.fc-holiday .fc-daygrid-day-top {
  background: transparent !important;
}
.page-dashboard .fc .fc-daygrid-day.fc-holiday,
.page-dashboard .fc .fc-timegrid-col.fc-holiday {
  background: #f4efff !important;
  color: #4b3ba8;
  border-color: #c3b3ff !important;
}
.page-dashboard .fc .fc-holiday .fc-daygrid-day-number,
.page-dashboard .fc .fc-holiday .fc-col-header-cell-cushion {
  color: #4b3ba8;
  font-weight: 700;
}
.fc-holiday-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 999px;
  background: #e4d9ff;
  color: #4b3ba8;
  border: 1px solid #c3b3ff;
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
}
.fc-holiday-chip { display: none; }
@media (max-width: 768px) {
  .fc-holiday-chip { display: inline-flex; }
}

.booking-card.booking-success { text-align:center; display:grid; gap:16px; }
.booking-card.booking-success .muted-note { margin:0; }

@media (max-width: 900px) {
  .booking-help { display:none; }
  .booking-hero .muted-note { display:none; }
  .booking-content { padding-bottom: 118px; }
}

@media (max-width: 640px) {
  .booking-modal {
    align-items:flex-end;
    padding:max(8px, env(safe-area-inset-top)) 0 0;
    background: rgba(15,23,42,0.56);
    backdrop-filter: blur(8px);
  }
  .booking-modal__card {
    width:100%;
    max-width:none;
    border-radius:20px 20px 0 0;
    padding:14px 14px calc(14px + env(safe-area-inset-bottom));
    gap:10px;
    max-height:min(96dvh, calc(100dvh - 4px));
    box-shadow:0 -18px 44px rgba(15,23,42,0.28);
    position: relative;
  }
  .booking-modal__card::before {
    content:"";
    position:absolute;
    top:8px;
    left:50%;
    transform:translateX(-50%);
    width:42px;
    height:4px;
    border-radius:999px;
    background:rgba(100,116,139,0.38);
  }
  .booking-modal__card--form { width:100%; }
  .booking-modal__card h3 {
    font-size:16px;
    line-height:1.25;
    padding-top:6px;
  }
  .booking-modal__form { gap:10px; }
  .booking-modal__form .field { gap:4px; }
  .booking-modal__form .field label:not(.booking-consent-toggle) { margin-bottom:0; font-size:13px; line-height:1.25; }
  .booking-modal__form .input {
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 10px;
    line-height: 1.3;
  }
  .booking-consent-toggle { gap:8px; }
  .booking-consent-toggle input { width:15px; height:15px; margin-top:1px; }
  .booking-consent-toggle span { font-size:13px; line-height:1.3; }
  .booking-consent-note { margin-top:0; font-size:11px; line-height:1.35; }
  .hold-countdown {
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.25;
  }
  .booking-success-details .detail-row { grid-template-columns: 1fr; }
  .booking-trust-chip { font-size: 12px; padding: 7px 10px; }
  .booking-stepper { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  section { padding: var(--section-space-y-mobile) 0 34px; }
  .hero { padding: 56px 0 44px; }
  .headline { font-size: clamp(30px, 9vw, 44px); line-height: 1.1; }
  .section-title { font-size: 28px; }
  .subhead,
  .section-lead { font-size: 15px; line-height: 1.55; margin-bottom: 20px; }
  .hero-card,
  .card,
  .trust-panel,
  .proof-card { padding: 16px; }
}

.booking-mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.96);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(15,23,42,0.12);
}
.booking-mobile-cta .btn { flex: 1; min-width: 0; justify-content: center; }
@media (max-width: 900px) {
  .booking-mobile-cta { display: flex; }
}

.booking-page .fc .fc-toolbar { display:flex; flex-wrap:nowrap; gap:10px; align-items:center; justify-content:space-between; }
.booking-page .fc .fc-toolbar > * { display:flex; align-items:center; gap:8px; flex-wrap:nowrap; }
.booking-page .fc .fc-toolbar .fc-toolbar-chunk { display:flex; align-items:center; gap:8px; }
.booking-page .fc .fc-toolbar-title { font-size:18px; font-weight:700; color:var(--booking-brand, var(--primary-700)); }

.booking-page .btn.primary {
  background: var(--booking-button, var(--primary-600));
  color: var(--booking-button-text, #fff);
  box-shadow: 0 6px 16px var(--booking-button-shadow, rgba(30,58,138,0.25));
}

.booking-page .btn.primary:hover {
  background: var(--booking-button-hover, var(--primary-700));
  color: var(--booking-button-text, #fff);
}

.booking-page .btn.ghost {
  color: var(--booking-brand, var(--primary-700));
}
@media (max-width: 480px) {
  .booking-page .fc .fc-toolbar { flex-wrap:wrap; gap:6px; }
  .booking-page .fc .fc-toolbar .fc-toolbar-chunk:first-child { order:1; width:100%; justify-content:space-between; }
  .booking-page .fc .fc-toolbar .fc-toolbar-chunk:nth-child(2) { width:100%; flex:1; justify-content:center; }
  .booking-page .fc .fc-toolbar .fc-toolbar-chunk:last-child { order:3; width:100%; justify-content:space-between; }
  .booking-page .fc .fc-toolbar-title { flex:1; text-align:center; font-size:16px; }
}

@media (max-width: 600px){
  .booking-page .fc { --fc-daygrid-row-height: auto; }
  .booking-page .fc .fc-daygrid-body table { border-spacing: 4px; }
  .booking-page .fc .fc-daygrid-day-frame {
    aspect-ratio: 1 / 1;
    min-height: auto;
    padding: 6px;
    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
  }
  .booking-page .fc .fc-daygrid-day-number { display:flex !important; align-items:center !important; justify-content:center !important; width:100%; margin:0 !important; padding:0 !important; }
  .booking-page .fc .fc-daygrid-day-top { width:100%; display:flex !important; justify-content:center !important; padding:0 !important; flex:0 0 100%; }
  .booking-page .fc .fc-daygrid-day-top .fc-daygrid-day-number { flex:1; margin:0 !important; text-align:center; padding:0 !important; }
  .booking-page .fc .fc-daygrid-day-events { display:none !important; }
}

/* ============================================================
 * v2 booking-card layer — Phase 1 visual swap.
 *
 * The customer-facing booking page now renders inside a single .bp
 * card with v2 chrome: bp-url strip on top, bp-context + bp-title +
 * (controls / calendar / slots) body, bp-status strip on the bottom.
 * The .bp-foot resource/staff row is intentionally dropped — no
 * internal info is shown to the public; team-member and resource
 * assignments stay backend-only.
 *
 * Per-org theming is preserved via 5 overridable tokens declared at
 * .booking-page. Older `booking_theme_css_vars` overrides that set
 * --booking-brand still apply.
 * ============================================================ */

.booking-page {
  /* v2 booking tokens — orgs may override any of these via
     booking_theme_css_vars; everything else stays v2 fixed. */
  --booking-brand: var(--midnight, #1b3559);
  --booking-brand-contrast: var(--bone, #f2ede1);
  --booking-accent: var(--brass, #b8893a);
  --booking-surface: #fff;
  --booking-surface-strip: var(--bone-2, #e8e1d0);
}

/* Trim the org hero — single line of org name + subhead, lang on the
 * right. The v2 booking card is what carries visual weight; the org
 * header is just identification. */
.booking-page .booking-hero {
  background: var(--bone, #f2ede1);
  padding: 28px 0 16px;
}
.booking-page .booking-org { padding: 0; gap: 14px; }
.booking-page .booking-org__logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm, 2px);
  box-shadow: none;
  border: 1px solid var(--line, var(--border));
}
.booking-page .booking-org__initials {
  font: 600 18px/1 "Source Serif 4", Georgia, serif;
  color: var(--ink, var(--primary-700));
}
.booking-page .booking-org .headline {
  font: 500 28px/1.1 "Source Serif 4", Georgia, serif;
  letter-spacing: -0.012em;
  margin: 0;
  color: var(--ink, var(--primary-700));
}
.booking-page .booking-org .subhead { font-size: 14px; color: var(--ink-3, var(--muted)); margin: 4px 0 0; }
.booking-page .booking-org .muted-note { color: var(--ink-3, var(--muted)); font-size: 13px; }

/* Card shell */
.bp {
  background: var(--booking-surface, #fff);
  border: 1px solid var(--line, var(--border));
  border-radius: var(--radius-md, 4px);
  box-shadow: 0 30px 80px -40px rgba(21, 22, 26, 0.4);
  overflow: hidden;
  width: min(720px, 100%);
  margin: 0 auto;
}

.bp-url {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: var(--booking-surface-strip, var(--bone-2, #e8e1d0));
  border-bottom: 1px solid var(--line, var(--border));
  gap: 12px;
}
.bp-url .l,
.bp-url .r {
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2, #2c2d33);
}
.bp-url .l {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bp-url .r { color: var(--ink-3, var(--muted)); flex: 0 0 auto; }

.bp-body { padding: 24px; display: grid; gap: 18px; }
.bp-context {
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3, var(--muted));
}
.bp-title {
  font: 500 28px/1.1 "Source Serif 4", Georgia, serif;
  letter-spacing: -0.012em;
  color: var(--ink, var(--primary-700));
  margin: 0;
}

.bp-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--booking-surface-strip, var(--bone-2, #e8e1d0));
  border-top: 1px solid var(--line, var(--border));
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3, var(--muted));
}
.bp-status .live::before { content: "● "; color: var(--sage, #6f8267); }
/* While a slot is held the .l text shows the countdown — flag it with
 * brass + a pulsing dot to draw attention back to the booking form. */
.bp-status .l.is-held { color: var(--booking-accent, var(--brass, #b8893a)); }
.bp-status .l.is-held::before { content: "● "; color: var(--booking-accent, var(--brass, #b8893a)); }
.bp-status .l { display: inline-flex; align-items: center; gap: 6px; flex: 1 1 auto; min-width: 0; }
.bp-status .r { flex: 0 0 auto; text-align: right; }

/* Reskin the existing scheduler controls + calendar + slots inside the card */
.bp .booking-form,
.bp .calendar-shell { background: transparent; box-shadow: none; padding: 0; border: 0; }
.bp .booking-form { gap: 14px; }
.bp .booking-form h2 {
  font: 500 16px/1.2 "Source Serif 4", Georgia, serif;
  color: var(--ink, var(--primary-700));
}
.bp .booking-form label,
.bp .booking-form .muted-note { color: var(--ink-2, #2c2d33); }
.bp .booking-form select,
.bp .booking-form .input,
.bp .booking-form .form-control {
  border: 1px solid var(--ink, #15161a);
  border-radius: var(--radius-sm, 2px);
  background: var(--bone, #f2ede1);
  color: var(--ink, #15161a);
  font-family: inherit;
}

.bp .calendar-shell { min-height: 360px; }
.bp .calendar-shell .fc { font-family: inherit; }
.bp .calendar-shell .fc-toolbar-title {
  font: 500 16px/1.2 "Source Serif 4", Georgia, serif;
  color: var(--ink, var(--primary-700));
}
.bp .calendar-shell .fc-daygrid-day-frame {
  border-radius: var(--radius-sm, 2px);
}
.bp .calendar-shell .fc-day-today .fc-daygrid-day-number {
  background: var(--booking-brand, var(--midnight));
  color: var(--booking-brand-contrast, var(--bone));
  border-radius: var(--radius-sm, 2px);
}

/* Slot list reskin (Phase 2) — grouped by Morning / Afternoon / Evening.
 * The <ul id="slots-list"> becomes a CSS grid: time-of-day headers and
 * status placeholders span the full row; slot rectangles flow into the
 * grid cells. Selectors `#slots-list li.is-available` still match the
 * inner slot items, so existing tests + scheduler.js keep working. */
.bp .slots-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  max-height: 360px;
  overflow-y: auto;
}
.bp .slots-list .timegroup-header,
.bp .slots-list .slots-placeholder,
.bp .slots-list .slots-actions {
  grid-column: 1 / -1;
}
.bp .slots-list .timegroup-header {
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3, var(--muted));
  border: 0;
  background: transparent;
  padding: 12px 0 4px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.bp .slots-list .timegroup-header:first-child { padding-top: 0; }
.bp .slots-list .timegroup-header__count {
  color: var(--booking-accent, var(--brass));
  font-style: normal;
}
.bp .slots-list .slot {
  border: 1px solid var(--ink, #15161a);
  border-radius: var(--radius-sm, 2px);
  background: var(--bone, #f2ede1);
  color: var(--ink, #15161a);
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  padding: 10px 6px;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.bp .slots-list .slot:hover,
.bp .slots-list .slot:focus-visible {
  background: var(--booking-brand, var(--midnight));
  color: var(--booking-brand-contrast, var(--bone));
  outline: none;
}
.bp .slots-list .slot.is-active {
  background: var(--booking-brand, var(--midnight));
  color: var(--booking-brand-contrast, var(--bone));
  border-color: var(--booking-brand, var(--midnight));
}
.bp .slots-list .slot.is-current {
  background: transparent;
  border-color: var(--line, var(--border));
  color: var(--ink-3, var(--muted));
  cursor: default;
}
.bp .slots-list .slot.is-current:hover {
  background: transparent;
  color: var(--ink-3, var(--muted));
}
.bp .slots-list .slot.is-busy {
  background: transparent;
  color: var(--ink-3, var(--muted));
  border-color: var(--line, var(--border));
  text-decoration: line-through;
  cursor: not-allowed;
}
.bp .slots-list .slot.is-conflict {
  background: transparent;
  color: var(--signal, #b33a2a);
  border-color: var(--signal, #b33a2a);
  cursor: not-allowed;
}
.bp .slots-list .slots-placeholder,
.bp .slots-list .slots-actions {
  font-family: inherit;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-3, var(--muted));
  background: transparent;
  border: 0;
  padding: 8px 0;
}

@media (max-width: 720px) {
  .bp .slots-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* In-card 2-col layout: controls on top, calendar + slots side-by-side */
.bp .booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 20px;
  align-items: start;
}
.bp .booking-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  gap: 14px;
}
.bp .booking-card .card-head h2 {
  font: 500 14px/1.2 "Source Serif 4", Georgia, serif;
  letter-spacing: 0;
  color: var(--ink, var(--primary-700));
}
.bp .booking-card .card-head .muted-note { color: var(--ink-3, var(--muted)); font-size: 12px; }

@media (max-width: 720px) {
  .bp { width: min(560px, 100% - 16px); }
  .bp-body { padding: 18px; gap: 14px; }
  .bp-title { font-size: 22px; }
  .bp .booking-layout { grid-template-columns: 1fr; gap: 14px; }
  .bp-status { padding: 10px 16px; flex-wrap: wrap; gap: 4px; }
}

/* Demote the trust-chip / branding / mobile-CTA bits that the new
 * template no longer renders. Defensive — if any cached HTML still
 * surfaces them, they collapse cleanly instead of stacking. */
.booking-page .booking-trust-row,
.booking-page .booking-trust-chip,
.booking-page .booking-branding--top,
.booking-page .booking-mobile-cta { display: none; }
.booking-page .booking-branding--bottom {
  background: transparent;
  border: 0;
  padding: 12px 0;
  margin: 12px auto 0;
  width: min(720px, 100%);
}
.booking-page .booking-branding__name,
.booking-page .booking-branding__cta { color: var(--ink, #15161a); }

/* ============================================================
 * v2 booking-card — Phase 3 day-row + FullCalendar modal
 *
 * The 7-day .day-row is the primary date picker. FullCalendar is
 * mounted inside #fullcal-modal and only revealed via the
 * "View calendar →" link for out-of-window dates.
 * ============================================================ */

.bp-day-row-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: stretch;
}

.day-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.day-row__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: 6px 10px;
  background: transparent;
  border: 1px solid var(--line, var(--border));
  border-radius: var(--radius-sm, 2px);
  color: var(--ink-2, #2c2d33);
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.day-row__nav:hover {
  background: rgba(21, 22, 26, 0.06);
  color: var(--ink, #15161a);
}
.day-row__nav:focus-visible {
  outline: 2px solid var(--booking-accent, var(--brass));
  outline-offset: 2px;
}

.day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 0;
  border: 1px solid var(--line, var(--border));
  border-radius: var(--radius-sm, 2px);
  background: var(--bone-2, var(--booking-surface-strip));
  color: var(--ink-2, #2c2d33);
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.1;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.day .d { letter-spacing: 0.08em; opacity: 0.8; font-size: 10px; }
.day .n { font-size: 16px; font-weight: 500; margin-top: 2px; }
.day:hover {
  background: rgba(21, 22, 26, 0.06);
  color: var(--ink, #15161a);
  border-color: var(--ink, #15161a);
}
.day.is-active {
  background: var(--booking-brand, var(--midnight, #1b3559));
  color: var(--booking-brand-contrast, var(--bone, #f2ede1));
  border-color: var(--booking-brand, var(--midnight, #1b3559));
}
.day.is-active:hover {
  background: var(--booking-brand, var(--midnight, #1b3559));
  color: var(--booking-brand-contrast, var(--bone, #f2ede1));
}
.day.is-today:not(.is-active) {
  border-color: var(--booking-accent, var(--brass));
}
.day.is-holiday:not(.is-active) {
  color: var(--ink-3, var(--muted));
  background: transparent;
}
.day.is-past {
  opacity: 0.4;
  cursor: not-allowed;
}
.day.is-past:hover {
  background: var(--bone-2, var(--booking-surface-strip));
  color: var(--ink-2, #2c2d33);
  border-color: var(--line, var(--border));
}
.day:focus-visible {
  outline: 2px solid var(--booking-accent, var(--brass));
  outline-offset: 2px;
}

.bp-day-row-secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3, var(--muted));
}
.day-row__today,
.day-row__view-calendar {
  background: transparent;
  border: 0;
  padding: 6px 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.day-row__today:hover,
.day-row__view-calendar:hover {
  color: var(--ink, #15161a);
}
.day-row__view-calendar:focus-visible,
.day-row__today:focus-visible {
  outline: 2px solid var(--booking-accent, var(--brass));
  outline-offset: 2px;
}

/* FullCalendar modal — uses the existing .booking-modal overlay
 * mechanism. FC mounts inside on page load even while hidden; we
 * call calendar.updateSize() the first time the modal opens to
 * resolve any layout calc that FC deferred. */
#fullcal-modal .booking-modal__card.fullcal-modal__card {
  width: min(640px, 100% - 16px);
  max-height: calc(100% - 32px);
  background: var(--booking-surface, #fff);
  border: 1px solid var(--line, var(--border));
  border-radius: var(--radius-sm, 2px);
  box-shadow: 0 30px 80px -40px rgba(21, 22, 26, 0.4);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}
.fullcal-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: var(--booking-surface-strip, var(--bone-2, #e8e1d0));
  border-bottom: 1px solid var(--line, var(--border));
}
.fullcal-modal__head h3 {
  margin: 0;
  font: 500 18px/1.2 "Source Serif 4", Georgia, serif;
  color: var(--ink, var(--primary-700));
  letter-spacing: -0.012em;
}
.fullcal-modal__close {
  padding: 4px 10px;
  font-size: 18px;
  line-height: 1;
}
#fullcal-modal .calendar-shell {
  flex: 1 1 auto;
  min-height: 360px;
  overflow: auto;
  padding: 16px 20px 20px;
  background: var(--booking-surface, #fff);
}

/* v2 FullCalendar reskin — applies inside .bp (the main card) and inside
 * #fullcal-modal. Square corners, mono toolbar buttons, midnight active
 * day, brass today ring, ink type. Org theming still wins via
 * --booking-brand / --booking-accent. */
.bp .calendar-shell .fc-toolbar,
#fullcal-modal .calendar-shell .fc-toolbar {
  margin-bottom: 12px;
}
.bp .calendar-shell .fc-toolbar-title,
#fullcal-modal .calendar-shell .fc-toolbar-title {
  font: 500 16px/1.2 "Source Serif 4", Georgia, serif;
  color: var(--ink, var(--primary-700));
  letter-spacing: -0.01em;
}
.bp .calendar-shell .fc-button,
#fullcal-modal .calendar-shell .fc-button {
  background: var(--bone, #f2ede1);
  color: var(--ink, #15161a);
  border: 1px solid var(--ink, #15161a);
  border-radius: var(--radius-sm, 2px);
  box-shadow: none;
  padding: 6px 10px;
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: none;
}
.bp .calendar-shell .fc-button:hover,
.bp .calendar-shell .fc-button:focus-visible,
#fullcal-modal .calendar-shell .fc-button:hover,
#fullcal-modal .calendar-shell .fc-button:focus-visible {
  background: var(--booking-brand, var(--midnight));
  color: var(--booking-brand-contrast, var(--bone));
  border-color: var(--booking-brand, var(--midnight));
  outline: none;
}
.bp .calendar-shell .fc-button:disabled,
#fullcal-modal .calendar-shell .fc-button:disabled {
  opacity: 0.45;
}
.bp .calendar-shell .fc-button-primary:not(:disabled).fc-button-active,
#fullcal-modal .calendar-shell .fc-button-primary:not(:disabled).fc-button-active {
  background: var(--booking-brand, var(--midnight));
  color: var(--booking-brand-contrast, var(--bone));
  border-color: var(--booking-brand, var(--midnight));
  box-shadow: none;
}
.bp .calendar-shell .fc-col-header-cell,
#fullcal-modal .calendar-shell .fc-col-header-cell {
  background: transparent;
  border: 0;
}
.bp .calendar-shell .fc-col-header-cell-cushion,
#fullcal-modal .calendar-shell .fc-col-header-cell-cushion {
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3, var(--muted));
  text-decoration: none;
  padding: 6px 4px;
}
.bp .calendar-shell .fc-scrollgrid,
.bp .calendar-shell .fc-theme-standard td,
.bp .calendar-shell .fc-theme-standard th,
#fullcal-modal .calendar-shell .fc-scrollgrid,
#fullcal-modal .calendar-shell .fc-theme-standard td,
#fullcal-modal .calendar-shell .fc-theme-standard th {
  border-color: transparent;
}
.bp .calendar-shell .fc-daygrid-day,
#fullcal-modal .calendar-shell .fc-daygrid-day {
  border-radius: var(--radius-sm, 2px);
}
.bp .calendar-shell .fc-daygrid-day-frame,
#fullcal-modal .calendar-shell .fc-daygrid-day-frame {
  border-radius: var(--radius-sm, 2px);
  border: 1px solid transparent;
  background: transparent;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bp .calendar-shell .fc-daygrid-day-number,
#fullcal-modal .calendar-shell .fc-daygrid-day-number {
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink, #15161a);
  padding: 0;
}
.bp .calendar-shell .fc-daygrid-day.fc-day-available:not(.fc-day-unavailable) .fc-daygrid-day-frame,
#fullcal-modal .calendar-shell .fc-daygrid-day.fc-day-available:not(.fc-day-unavailable) .fc-daygrid-day-frame {
  background: var(--bone, #f2ede1);
  border-color: var(--ink, #15161a);
  box-shadow: none;
}
.bp .calendar-shell .fc-daygrid-day.fc-day-available:not(.fc-day-unavailable):hover .fc-daygrid-day-frame,
#fullcal-modal .calendar-shell .fc-daygrid-day.fc-day-available:not(.fc-day-unavailable):hover .fc-daygrid-day-frame {
  background: var(--booking-brand, var(--midnight));
  border-color: var(--booking-brand, var(--midnight));
}
.bp .calendar-shell .fc-daygrid-day.fc-day-available:hover .fc-daygrid-day-number,
#fullcal-modal .calendar-shell .fc-daygrid-day.fc-day-available:hover .fc-daygrid-day-number {
  color: var(--booking-brand-contrast, var(--bone));
}
.bp .calendar-shell .fc-daygrid-day.fc-day-today:not(.fc-day-unavailable):not(.custom-selected-day) .fc-daygrid-day-frame,
#fullcal-modal .calendar-shell .fc-daygrid-day.fc-day-today:not(.fc-day-unavailable):not(.custom-selected-day) .fc-daygrid-day-frame {
  border: 1px solid var(--booking-accent, var(--brass, #b8893a));
  background: transparent;
}
.bp .calendar-shell .fc-daygrid-day.fc-day-today .fc-daygrid-day-number,
#fullcal-modal .calendar-shell .fc-daygrid-day.fc-day-today .fc-daygrid-day-number {
  background: transparent;
  color: var(--ink, #15161a);
  border-radius: 0;
  padding: 0;
}
.bp .calendar-shell .fc-daygrid-day.custom-selected-day .fc-daygrid-day-frame,
.bp .calendar-shell .fc-daygrid-day.custom-selected-day.fc-day-available .fc-daygrid-day-frame,
#fullcal-modal .calendar-shell .fc-daygrid-day.custom-selected-day .fc-daygrid-day-frame,
#fullcal-modal .calendar-shell .fc-daygrid-day.custom-selected-day.fc-day-available .fc-daygrid-day-frame {
  background: var(--booking-brand, var(--midnight)) !important;
  border-color: var(--booking-brand, var(--midnight)) !important;
  box-shadow: none !important;
}
.bp .calendar-shell .fc-daygrid-day.custom-selected-day .fc-daygrid-day-number,
#fullcal-modal .calendar-shell .fc-daygrid-day.custom-selected-day .fc-daygrid-day-number {
  color: var(--booking-brand-contrast, var(--bone)) !important;
  font-weight: 600;
}
.bp .calendar-shell .fc-daygrid-day.fc-day-past .fc-daygrid-day-frame,
#fullcal-modal .calendar-shell .fc-daygrid-day.fc-day-past .fc-daygrid-day-frame {
  background: transparent !important;
}
.bp .calendar-shell .fc-daygrid-day.fc-day-past .fc-daygrid-day-number,
#fullcal-modal .calendar-shell .fc-daygrid-day.fc-day-past .fc-daygrid-day-number {
  color: var(--ink-3, var(--muted)) !important;
  text-decoration: line-through;
}
.bp .calendar-shell .fc-daygrid-day.fc-holiday .fc-daygrid-day-frame,
#fullcal-modal .calendar-shell .fc-daygrid-day.fc-holiday .fc-daygrid-day-frame {
  background: var(--bone-2, #e8e1d0) !important;
  border-color: var(--booking-accent, var(--brass, #b8893a)) !important;
}
.bp .calendar-shell .fc-daygrid-day.fc-holiday .fc-daygrid-day-number,
#fullcal-modal .calendar-shell .fc-daygrid-day.fc-holiday .fc-daygrid-day-number {
  color: var(--booking-accent, var(--brass, #b8893a));
  font-weight: 600;
}

@media (max-width: 720px) {
  .bp-day-row-wrap { gap: 4px; }
  .day-row { gap: 4px; }
  .day { padding: 8px 0; }
  .day .n { font-size: 14px; }
  .day-row__nav { min-width: 28px; padding: 4px 6px; }
  #fullcal-modal .booking-modal__card.fullcal-modal__card { padding: 0; }
  #fullcal-modal .calendar-shell { padding: 12px 14px 14px; }
  .fullcal-modal__head { padding: 12px 14px; }
}

/* v2 booking-confirm popup (and the waitlist popup which uses the same
 * shell). The default .booking-modal__card rules above produce the
 * legacy rounded card with a soft drop shadow; here we square corners,
 * swap the surface to bone, add an ink border, and rebrand the form
 * inputs to match the .bp shell. */
.booking-page .booking-modal { background: rgba(21, 22, 26, 0.55); }
.booking-page .booking-modal__card--form {
  background: var(--booking-surface, #fff);
  border: 1px solid var(--line, var(--border));
  border-radius: var(--radius-sm, 2px);
  box-shadow: 0 30px 80px -40px rgba(21, 22, 26, 0.55);
  padding: 0;
  gap: 0;
  overflow: hidden;
}
.booking-page .booking-modal__card--form h3 {
  margin: 0;
  padding: 14px 20px;
  background: var(--booking-surface-strip, var(--bone-2, #e8e1d0));
  border-bottom: 1px solid var(--line, var(--border));
  font: 500 18px/1.2 "Source Serif 4", Georgia, serif;
  color: var(--ink, var(--primary-700));
  letter-spacing: -0.012em;
}
.booking-page .booking-modal__card--form > p,
.booking-page .booking-modal__card--form .hold-countdown {
  margin: 0 20px;
}
.booking-page .booking-modal__card--form .hold-countdown {
  margin-top: 16px;
  background: var(--bone-2, #e8e1d0);
  border: 1px solid var(--booking-accent, var(--brass, #b8893a));
  border-radius: var(--radius-sm, 2px);
  color: var(--booking-accent, var(--brass, #b8893a));
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.booking-page .booking-modal__card--form .booking-modal__form {
  padding: 18px 20px 20px;
  gap: 14px;
}
.booking-page .booking-modal__card--form .field label:not(.booking-consent-toggle) {
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3, var(--muted));
}
.booking-page .booking-modal__card--form .input,
.booking-page .booking-modal__card--form select.input {
  border: 1px solid var(--ink, #15161a);
  border-radius: var(--radius-sm, 2px);
  background: var(--bone, #f2ede1);
  color: var(--ink, #15161a);
  font-family: inherit;
  padding: 10px 12px;
  box-shadow: none;
}
.booking-page .booking-modal__card--form .input:focus,
.booking-page .booking-modal__card--form select.input:focus {
  outline: 2px solid var(--booking-accent, var(--brass, #b8893a));
  outline-offset: 1px;
  border-color: var(--ink, #15161a);
}
.booking-page .booking-modal__card--form .input:disabled {
  background: var(--bone-2, #e8e1d0);
  color: var(--ink-3, var(--muted));
}
.booking-page .booking-modal__card--form .booking-consent-toggle span,
.booking-page .booking-modal__card--form .booking-consent-toggle a {
  color: var(--ink, #15161a);
  font-weight: 500;
}
.booking-page .booking-modal__card--form .booking-consent-toggle input {
  accent-color: var(--booking-brand, var(--midnight));
}
.booking-page .booking-modal__card--form .booking-consent-note {
  color: var(--ink-3, var(--muted));
  font-size: 12px;
}
.booking-page .booking-modal__card--form .booking-modal__actions {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line, var(--border));
}

/* v2 modal action row — primary lives at the right on desktop with
 * consistent min-widths; on mobile the row stacks with the primary on
 * top (column-reverse) so the main CTA stays in thumb reach. Applies
 * to every booking modal (confirm popup, waitlist, success, error,
 * cancel-success). The dedicated cancel-confirm row keeps its own
 * tighter min-widths from danger-confirm-actions in zimun.css. */
.booking-page .booking-modal .booking-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
}
.booking-page .booking-modal .booking-modal__actions .btn-v2 {
  flex: 0 0 auto;
  min-width: 144px;
  min-height: 40px;
  padding: 10px 16px;
}
.booking-page .booking-modal .booking-modal__actions .btn-v2-primary {
  min-width: 168px;
}

@media (max-width: 640px) {
  /* Stack the buttons with the primary on top via column-reverse
   * (primary is rendered last in DOM). The form variant inherits its
   * L/R padding from .booking-modal__form (16px); the non-form variant
   * inherits 16px L/R margin from the > *:not(h3) rule on the card —
   * so this rule only needs to set vertical spacing and the column
   * stack. The legacy white-gradient sticky footer is dropped above. */
  .booking-page .booking-modal__card--form .booking-modal__actions {
    flex-direction: column-reverse;
    margin: 0;
    padding: 14px 0 0;
  }
  .booking-page .booking-modal__card:not(.booking-modal__card--form):not(.fullcal-modal__card) > .booking-modal__actions {
    flex-direction: column-reverse;
    padding: 14px 0 0;
  }
  .booking-page .booking-modal .booking-modal__actions .btn-v2 {
    width: 100%;
    min-width: 0;
    flex: 1 1 100%;
    min-height: 44px;
  }
}

/* Apply the same v2 chrome to the read-only confirmation cards
 * (success / error / cancel) so the whole flow shares one look. The
 * base rule keeps `display:grid; gap:16px;` — we just zero the outer
 * padding so the h3 strip can span edge-to-edge, then add 20px L/R
 * to every non-h3 child plus 20px below the card. */
.booking-page .booking-modal__card:not(.booking-modal__card--form):not(.fullcal-modal__card) {
  background: var(--booking-surface, #fff);
  border: 1px solid var(--line, var(--border));
  border-radius: var(--radius-sm, 2px);
  box-shadow: 0 30px 80px -40px rgba(21, 22, 26, 0.55);
  padding: 0 0 20px;
  overflow: hidden;
}
.booking-page .booking-modal__card:not(.booking-modal__card--form):not(.fullcal-modal__card) > h3 {
  margin: 0;
  padding: 14px 20px;
  background: var(--booking-surface-strip, var(--bone-2, #e8e1d0));
  border-bottom: 1px solid var(--line, var(--border));
  font: 500 18px/1.2 "Source Serif 4", Georgia, serif;
  color: var(--ink, var(--primary-700));
  letter-spacing: -0.012em;
}
.booking-page .booking-modal__card:not(.booking-modal__card--form):not(.fullcal-modal__card) > *:not(h3) {
  margin-left: 20px;
  margin-right: 20px;
}
.booking-page .booking-modal__card:not(.booking-modal__card--form):not(.fullcal-modal__card) > .booking-modal__actions {
  padding-top: 14px;
  border-top: 1px solid var(--line, var(--border));
}

@media (max-width: 640px) {
  .booking-page .booking-modal__card--form,
  .booking-page .booking-modal__card:not(.booking-modal__card--form):not(.fullcal-modal__card) {
    border-radius: var(--radius-sm, 2px) var(--radius-sm, 2px) 0 0;
  }
  .booking-page .booking-modal__card--form .booking-modal__form {
    padding: 14px 16px 16px;
  }
  .booking-page .booking-modal__card--form h3,
  .booking-page .booking-modal__card:not(.booking-modal__card--form):not(.fullcal-modal__card) > h3 {
    padding: 12px 16px;
  }
  .booking-page .booking-modal__card--form > p,
  .booking-page .booking-modal__card--form .hold-countdown { margin: 0 16px; }
  .booking-page .booking-modal__card:not(.booking-modal__card--form):not(.fullcal-modal__card) { padding: 0 0 16px; }
  .booking-page .booking-modal__card:not(.booking-modal__card--form):not(.fullcal-modal__card) > *:not(h3) { margin-left: 16px; margin-right: 16px; }
}
