/* ===== RESERVATIONS PAGE ===== */
.reservations-page { padding: 7rem 0 4rem; min-height: 80vh; }
.reservations-page h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: .5rem;
}
.page-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 2.5rem;
}

/* ===== TAB TOGGLE ===== */
.client-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}
.toggle-btn {
  padding: .875rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text);
  background: var(--gray-100);
  transition: all .3s;
}
/* Borders close the seam between the two pill halves; active state has its own
   solid background so the border is visually irrelevant there. */
.toggle-btn:first-child {
  border-radius: 50px 0 0 50px;
  border: 1px solid var(--gray-200);
  border-right: none;
}
.toggle-btn:last-child {
  border-radius: 0 50px 50px 0;
  border: 1px solid var(--gray-200);
  border-left: none;
}
.toggle-btn.active {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(232,93,58,.3);
}
.toggle-btn:not(.active):hover {
  background: var(--gray-200);
}


/* ===== STEP INDICATOR ===== */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
}
.step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
}
.step-number {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  background: var(--gray-100);
  color: var(--gray-400);
  transition: all .3s;
}
.step-dot.active .step-number {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(232,93,58,.3);
}
.step-dot.completed .step-number {
  background: var(--green);
  color: var(--white);
}
.step-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.step-dot.active .step-label,
.step-dot.completed .step-label { color: var(--heading); }
.step-line {
  width: 4rem;
  height: 2px;
  background: var(--gray-200);
  margin: 0 1rem;
  margin-bottom: 1.5rem;
  transition: background .3s;
}
.step-line.completed { background: var(--green); }

/* ===== STEP TITLES ===== */
.step-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.step-subtitle {
  text-align: center;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== COURSE SELECTION CARDS ===== */
.course-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.course-select-card {
  font: inherit;
  color: inherit;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--gray-100);
  cursor: pointer;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.course-select-card .course-select-meta { margin-top: auto; padding-top: 1rem; }
.course-select-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
/* Replace the global outline with an inset orange ring that hugs the card
   border, so focus state harmonizes with the existing card chrome. */
.course-select-card:focus-visible {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,93,58,.25), var(--shadow);
}
.course-select-card.selected {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.course-select-card:nth-child(1).selected { border-color: var(--orange); background: rgba(232,93,58,.03); }
.course-select-card:nth-child(2).selected { border-color: var(--blue); background: rgba(65,105,225,.03); }
.course-select-card:nth-child(3).selected { border-color: var(--purple); background: rgba(139,92,246,.03); }

.course-select-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}
.icon-orange { background: #FEE2E2; }
.icon-blue { background: #DBEAFE; }
.icon-purple { background: #EDE9FE; }
.icon-green { background: #D1FAE5; }
.icon-gold { background: #FEF3C7; }

.course-select-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.course-select-card p {
  font-size: .9rem;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.course-select-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}
.course-select-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--orange);
}
.course-select-price small {
  font-size: .75rem;
  font-weight: 400;
  color: var(--gray-400);
}
.course-select-duration {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  background: var(--gray-50);
  padding: .35rem .75rem;
  border-radius: .5rem;
}

/* ===== SELECTED COURSE BADGE ===== */
.selected-course-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
  padding: .6rem 1.25rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  font-weight: 600;
  font-size: .9rem;
}
.badge-change {
  font-size: .8rem;
  font-weight: 700;
  color: var(--orange);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.badge-change:hover { color: #D64D2A; }

/* ===== CONSULTATION FORM ===== */
.consultation-form {
  max-width: 880px;
  margin: 0 auto;
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}
.identify-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--heading);
}
.form-input {
  width: 100%;
  padding: .875rem 1rem;
  border-radius: .75rem;
  background: var(--gray-50);
  border: 2px solid transparent;
  transition: border-color .2s, background .2s;
}
.form-input:focus { border-color: var(--orange); background: var(--white); }
select.form-input { cursor: pointer; }
textarea.form-input { resize: none; min-height: 100px; }

/* ===== FIELD ERRORS ===== */
.field-error {
  display: block;
  font-size: .8rem;
  color: var(--red);
  margin-top: .25rem;
  min-height: 1.1em;
}
.form-group.error .form-input {
  border-color: var(--red);
  background: rgba(220,38,38,.03);
}

/* ===== RADIO CHIPS (org type) ===== */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .25rem;
}
.radio-chip {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.radio-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-chip span {
  display: inline-block;
  padding: .5rem 1.1rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  color: var(--text);
  transition: all .2s;
  user-select: none;
}
.radio-chip:hover span { border-color: var(--gray-400); }
.radio-chip input:checked + span,
.radio-chip input:focus-visible + span {
  background: rgba(232,93,58,.08);
  border-color: var(--orange);
  color: var(--orange);
  font-weight: 700;
}

/* ===== ADDRESS LOOKUP ===== */
.address-lookup-row {
  display: flex;
  gap: .5rem;
  align-items: stretch;
}
.address-lookup-row .form-input { flex: 1; }
.btn-find-address {
  flex: 0 0 auto;
  padding: .875rem 1rem;
  border-radius: .75rem;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.btn-find-address:hover:not(:disabled) { background: #3458c9; transform: translateY(-1px); }
.btn-find-address:disabled { opacity: .6; cursor: wait; }
.lookup-status {
  display: block;
  font-size: .8rem;
  margin-top: .35rem;
  min-height: 1em;
}
.lookup-status.pending { color: var(--gray-400); }
.lookup-status.success { color: #1e8449; }
.lookup-status.warn { color: #b7791f; }
.lookup-status.error { color: var(--red); }
.lookup-attribution {
  display: block;
  font-size: .7rem;
  color: var(--gray-400);
  margin-top: .25rem;
}
.lookup-attribution a { color: var(--blue); text-decoration: underline; }
@media (max-width: 600px) {
  .address-lookup-row { flex-direction: column; }
}

/* ===== CALENDAR WIDGET ===== */
.calendar-widget {
  margin-top: .5rem;
  background: var(--gray-50);
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid var(--gray-100);
  /* Account for the fixed navbar when scrollIntoView() targets this widget,
     so the calendar label is not occluded on mobile. */
  scroll-margin-top: 5rem;
}
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.cal-week-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--heading);
}
.cal-nav-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--heading);
  transition: background .15s, border-color .15s;
}
.cal-nav-btn:hover:not(:disabled) { background: var(--gray-100); border-color: var(--gray-400); }
.cal-nav-btn:disabled { opacity: .35; cursor: not-allowed; }
.cal-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  gap: 6px;
  min-width: 600px;
}
.cal-day-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cal-day-header {
  text-align: center;
  font-size: .8rem;
  color: var(--text);
  padding: .65rem 0;
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1;
  margin-bottom: .25rem;
}
.cal-day-header strong {
  display: inline-block;
  font-size: 1.1rem;
  color: var(--heading);
  margin-top: .15rem;
}
.cal-slot {
  height: 44px;
  border: 1px solid var(--gray-200);
  border-radius: .5rem;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s;
  padding: 0;
  font-size: .9rem;
  font-weight: 600;
  color: var(--heading);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-slot.available { background: rgba(46,139,87,.10); border-color: rgba(46,139,87,.30); color: #1e5e3a; }
.cal-slot.available:hover { background: rgba(46,139,87,.22); border-color: var(--green); transform: translateY(-1px); }
/* Keep the focus ring in the green family for available slots so it doesn't
   clash with the green slot tint. Selected slots keep the orange ring from
   the global :focus-visible rule. */
.cal-slot.available:focus-visible { outline-color: #1e5e3a; }
.cal-slot.booked { background: var(--gray-50); color: var(--gray-400); cursor: not-allowed; text-decoration: line-through; border-color: var(--gray-100); }
.cal-slot.past { background: transparent; color: var(--gray-400); opacity: .35; cursor: not-allowed; border-style: dashed; }
.cal-slot.selected { background: var(--orange); border-color: var(--orange); color: var(--white); box-shadow: 0 4px 10px rgba(232,93,58,.3); }
.cal-slot.selected:hover { background: #D64D2A; }
.cal-selected-info {
  margin-top: .85rem;
  padding: .65rem .85rem;
  background: var(--white);
  border-radius: .65rem;
  font-size: .9rem;
  color: var(--heading);
  border: 1px solid var(--gray-200);
}
.cal-selected-info .cal-hint { color: var(--gray-400); font-style: italic; }
.cal-legend {
  display: flex;
  gap: 1rem;
  margin-top: .5rem;
  font-size: .75rem;
  color: var(--text);
  flex-wrap: wrap;
}
.cal-legend-item { display: inline-flex; align-items: center; gap: .35rem; }
.cal-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid var(--gray-200);
}
.cal-swatch.available { background: rgba(46,139,87,.28); }
.cal-swatch.booked { background: repeating-linear-gradient(45deg, var(--gray-100), var(--gray-100) 3px, var(--white) 3px, var(--white) 6px); }
.cal-swatch.selected { background: var(--orange); border-color: var(--orange); }

/* ===== SUBMIT BUTTONS ===== */
.btn-submit {
  width: 100%;
  padding: 1rem;
  border-radius: .75rem;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  color: var(--white);
  transition: background .2s, transform .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: .5rem;
}
.btn-consultation {
  background: var(--green);
  box-shadow: 0 4px 14px rgba(46,139,87,.25);
}
.btn-consultation:hover { background: #257046; transform: translateY(-2px); }
.btn-identify {
  background: var(--orange);
  box-shadow: 0 4px 14px rgba(232,93,58,.25);
}
.btn-identify:hover { background: #D64D2A; transform: translateY(-2px); }
.btn-save {
  background: var(--green);
  box-shadow: 0 4px 14px rgba(46,139,87,.25);
}
.btn-save:hover { background: #257046; transform: translateY(-2px); }

/* ===== OUTLINE BUTTON ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-outline {
  background: var(--white);
  color: var(--text);
  border: 2px solid var(--gray-200);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

/* ===== CONFIRMATION ===== */
.confirmation-message {
  text-align: center;
  max-width: 500px;
  margin: 2rem auto;
  padding: 3rem 2rem;
}
.confirmation-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #D1FAE5;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}
.confirmation-message h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.confirmation-message p {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ===== EXISTING CLIENT: IDENTIFY ===== */
.identify-form {
  max-width: 440px;
}

/* ===== EXISTING CLIENT: WELCOME BANNER ===== */
.client-welcome {
  background: rgba(245,197,24,.08);
  border: 2px solid rgba(245,197,24,.2);
  border-radius: var(--radius);
  padding: 1.25rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.welcome-ref {
  background: var(--white);
  padding: .35rem .75rem;
  border-radius: .5rem;
  font-weight: 700;
  font-size: .85rem;
  color: var(--heading);
  border: 1px solid var(--gray-200);
}
.welcome-text {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--heading);
}

/* ===== EXISTING CLIENT: ACTION CARDS ===== */
.actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.action-card {
  font: inherit;
  color: inherit;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--gray-100);
  cursor: pointer;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.action-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.action-card:nth-child(1):hover { border-color: var(--green); }
.action-card:nth-child(2):hover { border-color: var(--blue); }
.action-card:nth-child(3):hover { border-color: var(--gold); }
.action-card:focus-visible {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,93,58,.25), var(--shadow);
}

.action-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}
.action-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.action-card p {
  font-size: .9rem;
  color: var(--text);
  line-height: 1.5;
}

/* ===== ACTION SUB-FORMS ===== */
.action-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}
.action-form h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.form-actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: .5rem;
}
.btn-back {
  width: 100%;
  padding: .875rem;
  border-radius: .75rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text);
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  transition: all .2s;
  text-align: center;
}
.btn-back:hover {
  border-color: var(--gray-400);
  background: var(--gray-100);
}

/* ===== EXTRAS CHECKBOXES ===== */
.extras-checkboxes {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: .25rem;
}
.extras-option {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: .75rem;
  border: 2px solid var(--gray-100);
  cursor: pointer;
  transition: all .2s;
}
.extras-option:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
}
.extras-option input { accent-color: var(--orange); width: 1.1rem; height: 1.1rem; }
.extras-option span { font-weight: 600; font-size: .95rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .course-select-grid { grid-template-columns: 1fr; }
  .actions-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .toggle-btn { padding: .75rem 1.25rem; font-size: .9rem; }

  .step-line { width: 2rem; margin: 0 .5rem; margin-bottom: 1.5rem; }
  .step-label { font-size: .65rem; }

  .consultation-form,
  .identify-form,
  .action-form { padding: 1.5rem; }

  .client-welcome {
    flex-direction: column;
    text-align: center;
    gap: .5rem;
  }
}

/* ===== Deep-link initial state (set by inline script in <head>) ===== */
/* Prevents flash of default panel on ?course=... and ?ref=... links. */
html.deep-link-course #step-1 { display: none; }
html.deep-link-course #step-2.hidden { display: block !important; }
html.deep-link-ref #panel-new { display: none; }
html.deep-link-ref #panel-existing.hidden { display: block !important; }

/* ===== FORM STATUS (per-form messages) ===== */
.form-status {
  display: block;
  margin-top: .75rem;
  font-size: .9rem;
  min-height: 1.1em;
  color: var(--text);
  text-align: center;
}
.form-status.error { color: var(--red); }
.form-status.success { color: #1e8449; }
/* Reserve .error for true failures. .warning is for "feature coming soon"
   notices and other non-blocking messages — amber, not red. */
.form-status.warning { color: #b7791f; }

/* ===== FORM SECTION TITLES (visual breaks inside long forms) ===== */
.form-section-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--heading);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 1.75rem 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--gray-200);
}
.form-section-title:first-of-type { margin-top: .25rem; }

/* ===== ADDRESS LOOKUP — collapsed attribution ===== */
.lookup-attribution-details {
  margin-top: .35rem;
  font-size: .75rem;
  color: var(--gray-400);
}
.lookup-attribution-details > summary {
  cursor: pointer;
  user-select: none;
  list-style: revert; /* keep the native disclosure triangle */
}
.lookup-attribution-details > summary:hover { color: var(--text); }
.lookup-attribution-details .lookup-attribution { margin-top: .35rem; }

/* ===== EXISTING-CLIENT IDENTIFY — helper link below the form ===== */
.identify-helper {
  text-align: center;
  margin-top: 1.25rem;
  font-size: .9rem;
  color: var(--text);
}
.identify-helper a { color: var(--orange); font-weight: 600; text-decoration: none; }
.identify-helper a:hover { text-decoration: underline; }

/* ===== MOBILE CALENDAR (day-picker + selected day's slots) =====
   IMPORTANT: this @media breakpoint must stay in sync with the MOBILE_QUERY
   constant in web/js/modules/reservations/calendar.js. */
.cal-day-strip {
  display: none;
}
.cal-mobile-slots {
  display: none;
}
@media (max-width: 680px) {
  /* Hide desktop week-grid */
  .cal-scroll, .cal-grid { display: none; }

  /* Day chip strip — horizontal scroll if needed, snap-aligned.
     Wrapped in a relative container so the right-edge fade gradient
     signals there are more days to scroll to. */
  .cal-day-strip-wrap {
    position: relative;
  }
  .cal-day-strip-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: .75rem;
    width: 28px;
    background: linear-gradient(to left, var(--gray-50), rgba(247,247,247,0));
    pointer-events: none;
  }
  .cal-day-strip {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: .25rem 0 .75rem;
    margin-bottom: .5rem;
    -webkit-overflow-scrolling: touch;
  }
  .cal-day-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
    padding: .65rem 1rem;
    border-radius: .85rem;
    border: 2px solid var(--gray-200);
    background: var(--white);
    cursor: pointer;
    min-width: 64px;
    transition: border-color .15s, background .15s, transform .1s;
  }
  .cal-day-chip:hover { border-color: var(--gray-400); }
  .cal-day-chip.active {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232,93,58,.3);
  }
  .cal-day-chip-name { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
  .cal-day-chip-num { font-size: 1.25rem; font-weight: 700; }

  /* Slot grid for the active day — 2 cols, 8 rows for 16 slots */
  .cal-mobile-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
  }
  .cal-mobile-slots .cal-slot {
    height: 48px;
    font-size: .95rem;
  }
}
