/* panes_booking — 預約／嚮導／accordion（由 panes.css 拆出） */
/* ─── 新增預約 ─── */
.booking-page__head {
  margin-bottom: var(--sw-space-5);
  padding-bottom: var(--sw-space-4);
  border-bottom: 1px solid var(--sw-border-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.booking-page__head-text {
  flex: 1;
  min-width: 200px;
}

.booking-page__gcal-btn {
  flex-shrink: 0;
}

.booking-page__more {
  display: inline-block;
  position: relative;
}

.booking-page__more-toggle {
  list-style: none;
  cursor: pointer;
}

.booking-page__more-toggle::-webkit-details-marker {
  display: none;
}

.booking-page__more-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.booking-page__more--inline {
  display: block;
  margin: 8px 0 12px;
}

.booking-page__more--inline .booking-page__more-panel {
  display: block;
}

.today-suggestion-body {
  max-height: min(68vh, 640px);
  overflow: auto;
  padding-right: 4px;
}

.today-suggestion-loading,
.today-suggestion-empty {
  margin: 0;
  padding: 14px 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #475569;
}
.today-suggestion-loading--inline {
  margin: 0 0 12px;
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 13px;
}

.today-suggestion-summary {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #f0f9ff;
}

.today-suggestion-summary__date,
.today-suggestion-summary__text,
.today-suggestion-summary__meta {
  margin: 0;
}

.today-suggestion-summary__text {
  margin-top: 6px;
  color: #0f172a;
}

.today-suggestion-summary__meta {
  margin-top: 8px;
  color: #334155;
  font-size: 13px;
}

.today-suggestion-summary__meta--rule {
  color: #64748b;
  font-size: 12px;
}

.today-suggestion-card__badge--pending {
  color: var(--sw-warning);
  background: #fffbeb;
}

.today-suggestion-card__actions {
  margin-top: 8px;
}

.today-suggestion-summary__meta--pending {
  color: #b45309;
  font-weight: 500;
}

.today-suggestion-pool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px 0;
}

.today-suggestion-pool-chip {
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  color: #0369a1;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
}

.today-suggestion-pool-chip:hover {
  background: #e0f2fe;
}

.today-suggestion-pool-h-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 14px 0 8px 0;
}

.today-suggestion-pool-h-wrap .today-suggestion-pool-h {
  margin: 0;
  flex: 1 1 auto;
}

.today-suggestion-pool-filter-btn,
.today-suggestion-pool-next-btn {
  flex-shrink: 0;
}

.progress-toolbar__next-pending-pool[hidden],
.progress-toolbar__pending-badge[hidden] {
  display: none !important;
}

.today-suggestion-pending-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px 0;
}

.today-suggestion-pending-filter-btn.is-active,
.today-suggestion-view-chip.is-active {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
}

.today-suggestion-card__badge--done {
  color: #15803d;
  background: #f0fdf4;
}

.today-suggestion-card__badge--after {
  color: #c2410c;
  background: #fff7ed;
}

.today-suggestion-pending-toolbar__meta {
  font-size: 13px;
  color: #64748b;
}

.today-suggestion-empty--done {
  color: #15803d;
  font-weight: 500;
}

.today-suggestion-pool-h {
  margin: 14px 0 8px 0;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  background: #f1f5f9;
  border-radius: 8px;
  border-left: 4px solid #38bdf8;
}

.today-suggestion-pool-h-wrap:first-child,
.today-suggestion-pool-chips + .today-suggestion-cards .today-suggestion-pool-h-wrap:first-child {
  margin-top: 0;
}

.today-suggestion-card__theme {
  margin: 4px 0 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sw-primary-dark, #0369a1);
  line-height: 1.4;
}

.today-suggestion-card__slot {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
}

.today-suggestion-cards {
  display: grid;
  gap: 10px;
}

.today-suggestion-card {
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}

.today-suggestion-card.is-highlight {
  border-color: #fbbf24;
  background: #fffbeb;
}

.today-suggestion-card__head h4 {
  margin: 0;
  font-size: 1rem;
  color: #0f172a;
}

.today-suggestion-card__head p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
}

.today-suggestion-card__list {
  margin: 8px 0 0;
  padding-left: 18px;
}

.today-suggestion-card__list li + li {
  margin-top: 5px;
}

.today-suggestion-expand-wrap {
  margin: 10px 0 4px;
  display: flex;
  justify-content: center;
}

.today-suggestion-expand-btn {
  width: 100%;
  max-width: 320px;
}

.today-suggestion-cards--extra {
  margin-top: 8px;
}

.today-summary-disclaimer {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
  margin: 0 0 12px 0;
}

/* 預約分頁底為淺色：勿沿用頂欄 .hdr-btn 的白字＋半透明底（白底上會看不見） */
#booking .hdr-btn {
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  backdrop-filter: none;
}

#booking .hdr-btn:hover {
  background: #0284c7;
  border-color: #0369a1;
  color: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28);
}

#booking .hdr-btn:focus-visible {
  outline: 3px solid rgba(2, 132, 199, 0.35);
  outline-offset: 2px;
}

.booking-page__title {
  margin: 0 0 6px 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
}

.booking-page__lead {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

.booking-page__form {
  max-width: 900px;
}

/* 由 JS 切換顯示（取代 #booking 內聯 style） */
.bk-hidden {
  display: none !important;
}

.booking-callout--visible {
  display: block;
}

.booking-student-row__tight {
  height: auto;
  white-space: nowrap;
}

.booking-course-fg {
  flex: 1;
  min-width: 220px;
}

.bLeadSourceOtherWrap {
  margin-top: 6px;
}

.booking-dates-toolbar {
  margin-top: 6px;
  margin-bottom: 6px;
}

.booking-btn--month {
  width: auto;
  padding: 8px 14px;
  margin-top: 0;
  background: #5a6c9e;
  color: #fff;
}

.booking-cal-card {
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 13px;
  margin-top: 5px;
}

.booking-time-section {
  margin-top: 11px;
}

.booking-time-legend-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 6px;
}

.booking-time-legend-row .fg-field-label {
  margin-bottom: 0;
  flex: 1 1 auto;
  min-width: min(100%, 220px);
}

.booking-btn--clear-time {
  flex-shrink: 0;
  font-size: 12px;
  white-space: nowrap;
}

.custom-time-label {
  margin: 0;
  min-width: 80px;
}

.custom-time-inner .custom-time-select {
  flex: 1;
}

#booking .booking-dt-list {
  margin-top: 8px;
}

.booking-dt-title {
  font-size: 13px;
}

.booking-fee-total {
  font-size: 17px;
}

.booking-credit-hint {
  margin-top: 6px;
  font-size: 12px;
  color: #666;
}

/* ─── 預約嚮導（booking_enhanced.js 字串，與主表單 class 對齊，無內聯 style）─── */
.booking-wizard.wz-shell:not(.bk-accordion-shell) {
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

/* 收合式預約：淺色卡片版面（避免深藍疊半透明） */
.booking-wizard.bk-accordion-shell {
  background: linear-gradient(180deg, #f8fafc 0%, #f0f9ff 55%, #e0f2fe 100%);
  border: 1px solid var(--sw-border);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.06),
    0 8px 24px rgba(2, 132, 199, 0.08);
}

.booking-wizard.bk-accordion-shell #bookingWizardModeBadge.wz-mode-badge {
  background: #e0f2fe;
  color: var(--sw-primary-deep);
  border: 1px solid #bae6fd;
}

.booking-wizard.bk-accordion-shell #bookingDateAccessHint.booking-wizard__date-hint {
  color: var(--sw-text);
}

.booking-wizard.bk-accordion-shell #bookingDateAccessHint.booking-wizard__date-hint--all {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.booking-wizard.bk-accordion-shell #bookingDateAccessHint.booking-wizard__date-hint--limited {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

#bookingWizardModeBadge.wz-mode-badge {
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #e0f2fe;
  color: var(--sw-primary-deep);
  border: 1px solid #bae6fd;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

#bookingDateAccessHint.booking-wizard__date-hint {
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--sw-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

#bookingDateAccessHint.booking-wizard__date-hint--all {
  background: var(--sw-status-ok-bg);
  color: var(--sw-status-ok-text);
  border: 1px solid var(--sw-status-ok-border);
}

#bookingDateAccessHint.booking-wizard__date-hint--limited {
  background: var(--sw-status-warn-bg, #fff7ed);
  color: var(--sw-status-warn-text, #9a3412);
  border: 1px solid var(--sw-status-warn-border, #fdba74);
}

.booking-draft-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--sw-status-warn-bg, #fff7ed);
  color: var(--sw-status-warn-text, #9a3412);
  border: 1px solid var(--sw-status-warn-border, #fdba74);
  font-size: 13px;
  line-height: 1.4;
}

.booking-draft-banner.bk-hidden,
.booking-draft-banner[hidden] {
  display: none !important;
}

.booking-draft-banner__text {
  flex: 1 1 12rem;
  min-width: 0;
}

.booking-draft-banner__text strong {
  font-weight: 700;
}

.booking-draft-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.booking-draft-banner__restore {
  background: var(--sw-primary, #0284c7) !important;
  color: #fff !important;
  border-color: var(--sw-primary-dark, #0369a1) !important;
}

.booking-draft-banner--danger {
  background: var(--sw-status-err-bg, #fef2f2);
  color: var(--sw-status-err-text, #991b1b);
  border-color: var(--sw-status-err-border, #fecaca);
}

.booking-draft-banner__danger-confirm {
  background: var(--sw-danger, #dc2626) !important;
  color: #fff !important;
  border-color: var(--sw-danger, #b91c1c) !important;
}

.booking-draft-banner__list {
  flex: 1 1 100%;
  margin: 0;
  padding: 0 0 0 1.15em;
  font-size: 12px;
  line-height: 1.45;
  color: inherit;
}

.booking-draft-banner__list li {
  margin: 0.15em 0;
}

/* ─── 預約收合式兩段 accordion ─── */
.bk-accordion-shell .bk-student-bar {
  background: #fff;
  border: 1px solid var(--sw-border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* 月曆併入「二、時間安排」展開區 */
.bk-accordion-section .bk-main-calendar {
  margin: 0;
  padding: 16px 18px 18px;
  border: none;
  border-top: 1px solid var(--sw-border);
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

.bk-accordion-section .bk-main-calendar .wz-card-title {
  margin-top: 0;
}

.bk-main-date-count {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sw-primary-dark);
}

.bk-selected-slots-list {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--sw-border);
}

.bk-selected-slots__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--sw-primary-deep);
  margin-bottom: 10px;
}

.bk-selected-slots__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bk-selected-slots__item {
  display: grid;
  grid-template-columns: minmax(118px, 1.1fr) minmax(88px, 0.9fr) minmax(0, 1.4fr) minmax(72px, 0.8fr);
  gap: 8px 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  font-size: 13px;
  line-height: 1.35;
}

.bk-selected-slots__date {
  font-weight: 700;
  color: var(--sw-primary-deep);
}

.bk-selected-slots__time {
  font-weight: 600;
  color: #0f766e;
}

.bk-selected-slots__loc {
  color: var(--sw-text-muted);
  word-break: break-word;
}

.bk-selected-slots__coach {
  font-weight: 600;
  color: var(--sw-primary-dark);
  text-align: right;
}

.bk-selected-slots__coach--none {
  font-weight: 400;
  color: #94a3b8;
}

.bk-selected-slots__empty {
  font-size: 13px;
  color: var(--sw-text-muted);
  padding: 8px 0;
}

.bk-schedule-collapsed-preview .bk-selected-slots__item {
  background: #fff;
  border-color: var(--sw-border);
}

@media (max-width: 640px) {
  .bk-selected-slots__item {
    grid-template-columns: 1fr 1fr;
  }

  .bk-selected-slots__loc {
    grid-column: 1 / -1;
  }

  .bk-selected-slots__coach {
    grid-column: 1 / -1;
    text-align: left;
  }
}

.bk-schedule-collapsed-preview {
  padding: 12px 16px 14px;
  background: #f8fafc;
  border-top: 1px solid var(--sw-border);
  border-bottom: 1px solid var(--sw-border);
}

.bk-schedule-collapsed-preview__title {
  font-size: 12px;
  font-weight: 700;
  color: var(--sw-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.bk-schedule-collapsed-preview__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bk-schedule-collapsed-preview__item {
  font-size: 13px;
  line-height: 1.45;
  padding: 6px 0;
  border-bottom: 1px dashed #e2e8f0;
  color: var(--sw-text);
}

.bk-schedule-collapsed-preview__item:last-child {
  border-bottom: none;
}

.bk-schedule-collapsed-preview__date {
  font-weight: 700;
  color: var(--sw-primary-deep);
  margin-right: 6px;
}

.bk-schedule-collapsed-preview__time {
  font-weight: 600;
  color: #0f766e;
  margin-right: 6px;
}

.bk-schedule-collapsed-preview__loc {
  color: var(--sw-text-muted);
}

.bk-schedule-collapsed-preview__coach {
  color: var(--sw-primary-dark);
  font-weight: 500;
}

.bk-schedule-collapsed-preview__empty,
.bk-schedule-collapsed-preview__more {
  font-size: 12px;
  color: var(--sw-text-muted);
}

.bk-schedule-collapsed-preview__more {
  margin-top: 6px;
}

.bk-accordion-shell .bk-student-bar {
  margin-bottom: 14px;
  padding: 16px 18px;
}

.bk-student-bar__inner {
  display: grid;
  grid-template-columns: minmax(100px, auto) 1fr;
  gap: 10px 14px;
  align-items: center;
}

.bk-student-bar__mode {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.bk-mode-chip {
  appearance: none;
  border: 1px solid var(--sw-border, #e2e8f0);
  background: #fff;
  color: var(--sw-text, #334155);
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.bk-mode-chip.is-active {
  border-color: var(--sw-primary, #0284c7);
  background: #e0f2fe;
  color: #075985;
}

.bk-multi-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.bk-multi-toolbar__actions {
  display: flex;
  gap: 6px;
}

.bk-multi-hint {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--sw-text-muted, #64748b);
  line-height: 1.45;
}

.bk-multi-student-list {
  max-height: 220px;
  overflow: auto;
  border: 1px solid var(--sw-border, #e2e8f0);
  border-radius: 8px;
  background: #fff;
}

.bk-multi-student-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 10px;
  border-bottom: 1px solid var(--sw-border, #e2e8f0);
}

.bk-multi-student-row:last-child {
  border-bottom: none;
}

.bk-multi-student-cb {
  margin-top: 3px;
}

.bk-multi-student-label {
  flex: 1;
  cursor: pointer;
}

.bk-multi-student-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--sw-text, #0f172a);
}

.bk-multi-student-meta {
  font-size: 11px;
  color: var(--sw-text-muted, #64748b);
  margin-top: 2px;
}

.bk-multi-student-empty,
.bk-multi-basic-note .wz-lead {
  margin: 0;
  font-size: 13px;
  color: var(--sw-text-muted, #64748b);
  line-height: 1.5;
}

.bk-multi-basic-note {
  margin-bottom: 12px;
  padding: 12px 14px;
}

.booking-wizard:has(.bk-student-bar--multi) .payment-options,
.booking-wizard:has(.bk-student-bar--multi) #studentPaymentPhoneGroup,
.booking-wizard:has(.bk-student-bar--multi) .wz-credit-row,
.booking-wizard:has(.bk-student-bar--multi) .wz-credit-footnote,
.booking-wizard:has(.bk-student-bar--multi) label[for="bManualCredit"],
.booking-wizard:has(.bk-student-bar--multi) label[for="bManualCreditApplyMonth"],
.booking-wizard:has(.bk-student-bar--multi) #bManualCredit,
.booking-wizard:has(.bk-student-bar--multi) #bManualCreditApplyMonth,
.booking-wizard:has(.bk-student-bar--multi) [data-booking-action="auto-fill-credit"] {
  display: none !important;
}

.bk-accordion-shell .bk-student-bar .wz-label {
  color: var(--sw-text-muted);
  font-weight: 600;
}

.bk-compact-summary {
  color: var(--sw-text);
}

/* 併入「一、學生基本信息」收合區（取代獨立摘要卡） */
.bk-accordion-section .bk-basic-collapsed-summary {
  margin: 0;
  padding: 12px 16px 14px;
  border: none;
  border-top: 1px solid var(--sw-border);
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

.bk-accordion-section.is-open .bk-basic-collapsed-summary {
  display: none !important;
}

.bk-compact-summary__empty {
  font-size: 13px;
  color: var(--sw-text-muted);
}

.bk-compact-summary__grid {
  display: grid;
  grid-template-columns: auto 1fr minmax(120px, 28%);
  gap: 14px 16px;
  align-items: start;
}

.bk-compact-summary__photo {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  background: var(--sw-surface-subtle);
}

.bk-compact-summary__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #94a3b8;
}

.bk-compact-summary__name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--sw-text);
}

.bk-compact-summary__row {
  font-size: 13px;
  margin-bottom: 4px;
  color: var(--sw-text-muted);
}

.bk-compact-summary__label {
  display: inline-block;
  min-width: 2.5em;
  color: #64748b;
  margin-right: 6px;
}

.bk-compact-summary__aside {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.bk-compact-summary__chip {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  max-width: 100%;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bk-compact-summary__chip--slots {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
  font-weight: 600;
}

.bk-compact-summary__payable {
  font-size: 14px;
  font-weight: 700;
  color: var(--sw-primary-dark);
}

.bk-compact-dates {
  margin-bottom: 16px;
  padding: 14px 16px 16px;
  border-radius: 10px;
}

.bk-compact-dates__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.bk-compact-dates__title {
  color: var(--sw-text);
  font-size: 14px;
  font-weight: 700;
}

.bk-compact-dates__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.bk-compact-month-label {
  color: var(--sw-primary-deep);
  font-size: 13px;
  font-weight: 700;
  min-width: 6.5em;
  text-align: center;
}

.bk-compact-month-btn {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: var(--sw-primary-dark);
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.bk-compact-month-btn:hover {
  background: #f0f9ff;
  border-color: var(--sw-accent);
}

.bk-compact-month-btn--today {
  background: var(--sw-primary);
  border-color: var(--sw-primary);
  color: #fff;
}

.bk-compact-month-btn--today:hover {
  background: var(--sw-primary-dark);
  border-color: var(--sw-primary-dark);
}

.bk-compact-date-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.bk-compact-weekname,
.bk-compact-filler {
  font-size: 10px;
  text-align: center;
  color: #94a3b8;
  font-weight: 600;
}

.bk-compact-date-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 4px 2px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--sw-text);
  cursor: pointer;
  font: inherit;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.bk-compact-date-cell:hover:not(.disabled) {
  background: #e0f2fe;
  border-color: #7dd3fc;
}

.bk-compact-date-cell .bk-compact-dayname {
  font-size: 9px;
  color: #64748b;
}

.bk-compact-date-cell .bk-compact-daynum {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--sw-text);
}

.bk-compact-date-cell.selected {
  background: var(--sw-primary);
  border-color: var(--sw-primary-dark);
  color: #fff;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
}

.bk-compact-date-cell.selected .bk-compact-dayname,
.bk-compact-date-cell.selected .bk-compact-daynum {
  color: #fff;
}

.bk-compact-date-cell.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f1f5f9;
}

.bk-compact-date-cell.today:not(.selected) {
  border-color: var(--sw-accent);
  box-shadow: inset 0 0 0 2px rgba(14, 165, 233, 0.35);
}

.bk-compact-date-count {
  margin-top: 10px;
  font-size: 12px;
  color: var(--sw-text-muted);
}

.bk-accordion-host {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bk-accordion-section {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--sw-border);
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.bk-accordion-head {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px 12px;
  align-items: center;
  padding: 14px 16px;
  border: none;
  background: #f8fafc;
  color: var(--sw-text);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.bk-accordion-head:hover {
  background: #f1f5f9;
}

.bk-accordion-section.is-open .bk-accordion-head {
  background: #e0f2fe;
  color: var(--sw-primary-deep);
  border-bottom: 1px solid #bae6fd;
}

.bk-accordion-head-meta {
  font-size: 12px;
  font-weight: 500;
  color: var(--sw-text-muted);
  white-space: nowrap;
}

.bk-accordion-section.is-open .bk-accordion-head-meta {
  color: var(--sw-primary-dark);
}

.bk-accordion-chevron {
  color: var(--sw-primary);
}

.bk-accordion-chevron::before {
  content: '▸';
  display: inline-block;
  transition: transform 0.2s ease;
}

.bk-accordion-section.is-open .bk-accordion-chevron::before {
  transform: rotate(90deg);
}

.bk-accordion-panel {
  background: #fff;
  padding: 0 0 4px;
}

.bk-accordion-panel[hidden] {
  display: none !important;
}

.bk-accordion-section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 16px 14px;
  background: #f8fafc;
  border-top: 1px solid var(--sw-border);
}

/* 收合時不顯示「儲存進度」「確認預約」等區塊底部按鈕 */
.bk-accordion-section:not(.is-open) .bk-accordion-section-actions {
  display: none;
}

.bk-accordion-section-actions--basic {
  justify-content: flex-start;
}

.bk-accordion-section-actions--schedule .bk-accordion-actions__end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
}

.booking-wizard-footer-hint {
  margin-top: 12px;
  padding: 8px 4px 0;
}

.booking-wizard-footer-hint .progress-indicator {
  color: var(--sw-text-muted);
  font-size: 13px;
  font-weight: 500;
}

.bk-schedule-collapsed-preview__scroll {
  max-height: min(52vh, 420px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  -webkit-overflow-scrolling: touch;
}

.bk-selected-slots__month-group {
  margin-bottom: 12px;
}

.bk-selected-slots__month-group:last-child {
  margin-bottom: 0;
}

.bk-selected-slots__month-head {
  font-size: 13px;
  font-weight: 700;
  color: var(--sw-primary-deep);
  margin-bottom: 6px;
  padding: 4px 2px;
}

.booking-wizard.bk-accordion-shell .wz-btn-save-progress {
  background: #fff;
  color: var(--sw-primary-dark);
  border: 1px solid #cbd5e1;
}

.booking-wizard.bk-accordion-shell .wz-btn-save-progress:hover {
  background: #f8fafc;
  border-color: var(--sw-accent);
}

.booking-wizard.bk-accordion-shell .wz-btn-confirm-now {
  background: var(--sw-primary-deep);
  border: none;
}

.booking-wizard.bk-accordion-shell .wz-btn-confirm-now:hover {
  background: #075985;
}

.booking-wizard-actions--sticky {
  position: sticky;
  bottom: 0;
  z-index: 4;
  margin-top: 16px;
  padding: 12px 0 4px;
  background: linear-gradient(to top, rgba(15, 76, 129, 0.92) 70%, transparent);
}

.wizard-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .bk-compact-summary__grid {
    grid-template-columns: auto 1fr;
  }

  .bk-compact-summary__aside {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
  }

  .bk-student-bar__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .bk-compact-summary__grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .bk-compact-summary__media {
    justify-self: start;
  }

  .bk-compact-date-grid {
    gap: 3px;
  }

  .bk-compact-date-cell {
    min-height: 38px;
  }

  .bk-accordion-head {
    grid-template-columns: 1fr auto;
  }

  .bk-accordion-head-title {
    font-size: 14px;
  }

  .bk-accordion-section-actions--schedule .bk-accordion-actions__end {
    flex-direction: column;
    align-items: stretch;
  }

  .bk-accordion-section-actions--schedule .wz-btn-next,
  .bk-accordion-section-actions--schedule .wz-btn-save-progress,
  .bk-accordion-section-actions--schedule .wz-btn-confirm-now {
    width: 100%;
  }
}

.booking-wizard .step {
  flex: 1;
  text-align: center;
  color: #fff;
}

.booking-wizard .step.step--pending {
  opacity: 0.5;
}

.booking-wizard .step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-weight: bold;
}

.booking-wizard .step-number.step-number--on {
  background: rgba(255, 255, 255, 0.4);
}

.booking-wizard .step-title {
  font-size: 14px;
}

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  row-gap: 8px;
  column-gap: 12px;
}

/* 第 4 步：主按鈕與「預約並確認課堂」並排 */
.wizard-actions__end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
  min-width: 0;
}

.wz-btn-prev {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.wz-btn-prev:hover {
  background: rgba(255, 255, 255, 0.3);
}

.wz-btn-next {
  background: #4caf50;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.wz-btn-next:hover {
  background: #45a049;
}

.wz-btn-save-progress {
  background: rgba(255, 255, 255, 0.92);
  color: #0f4c81;
  border: 1px solid rgba(255, 255, 255, 0.65);
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.wz-btn-save-progress:hover {
  background: #fff;
  border-color: #fff;
}

#publicEnrollAdminPanel.pe-admin-collapsible .pe-admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 1rem;
}

#publicEnrollAdminPanel .pe-admin-toggle {
  flex-shrink: 0;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #334155;
  cursor: pointer;
}

#publicEnrollAdminPanel .pe-admin-toggle:hover {
  background: #f1f5f9;
}

#publicEnrollAdminPanel.is-collapsed .pe-admin-heading {
  margin-bottom: 0;
}

.wz-btn-confirm-now {
  background: #1565c0;
}
.wz-btn-confirm-now:hover {
  background: #0d47a1;
}

.wizard-actions .progress-indicator {
  color: #fff;
  font-size: 14px;
}

/* 嚮導步驟內白底卡片與表單格線 */
.wz-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
}

.wz-card-title {
  margin: 0 0 20px 0;
  color: #333;
}

.wz-lead {
  margin: -8px 0 14px 0;
  font-size: 13px;
  color: #64748b;
}

.wz-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.wz-grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.wz-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #495057;
}

.wz-label--spaced {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #495057;
}

.wz-input,
.wz-select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font: inherit;
  box-sizing: border-box;
}

.wz-input--other {
  padding: 8px;
  font-size: 13px;
}

.wz-mb-15 {
  margin-bottom: 15px;
}

.wz-photo-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.img-up.wz-photo-tile {
  position: relative;
  width: 120px;
  height: 120px;
  border: 2px dashed #ddd;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.img-up.wz-photo-tile:hover {
  border-color: var(--sw-primary);
}

.wz-photo-emoji {
  font-size: 24px;
  margin-bottom: 5px;
}

.wz-hint-12 {
  font-size: 12px;
  color: #666;
}

.wz-hint-12b {
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
}

.wz-hint-muted {
  font-size: 12px;
  color: #999;
}

.img-prev.wz-photo-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.sen-grid-enhanced.wz-sen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

/* 嚮導付款：與 pickPM 整合，:hover 取代 onmouseover */
.payment-options.wz-payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
}

#wizardContent .payment-option {
  padding: 8px;
  border: 2px solid #ddd;
  border-radius: 6px;
  background: #f9f9f9;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.2s;
}

#wizardContent .payment-option:hover {
  background: #f0f0f0;
}

#wizardContent .payment-option.sel,
#wizardContent .payment-option.payment-option--on {
  border-color: #4caf50;
  background: #f8fff8;
}

#wizardContent .payment-option.sel:hover {
  background: #e8f5e8;
}

.student-fps-payee {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--sw-text, #0f172a);
  white-space: normal;
}

.wz-pay-title-cash {
  font-weight: 600;
  color: #4caf50;
}

.wz-pay-title-fps {
  font-weight: 600;
  color: #ff9800;
}

.wz-pay-title-payme {
  font-weight: 600;
  color: #2196f3;
}

#wizardContent .booking-callout--wizard {
  margin-bottom: 15px;
}

.wz-credit-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.wz-input--credit {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font: inherit;
}

.wz-btn-autofill {
  padding: 8px 16px;
  background: #2196f3;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  font: inherit;
}

.wz-credit-footnote {
  margin-top: 6px;
  font-size: 12px;
  color: #64748b;
}

.wz-textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  min-height: 80px;
  resize: vertical;
  font: inherit;
  box-sizing: border-box;
}

.wz-smart-panel {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
}

.wz-smart-panel h4 {
  margin: 0 0 10px 0;
  color: #495057;
}

#smartRecommendations.wz-smart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.wz-cal-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: flex-end;
  margin: 0 0 10px;
  padding: 8px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.wz-cal-filter__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 160px;
  flex: 1 1 180px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.wz-cal-filter__field select {
  font-weight: 500;
}

.wz-cal-filter__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  flex: 1 1 240px;
  padding-bottom: 6px;
}

.wz-cal-filter__check {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

.wz-cal-filter .wz-bulk-custom {
  flex: 1 1 140px;
  min-height: 36px;
}

.wz-cal-filter .wz-pool-hours-hint {
  flex: 1 1 100%;
  margin: 0;
}

.wz-month-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.wz-btn-month-prev {
  padding: 8px 16px;
  background: var(--sw-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  font: inherit;
}

.wz-btn-month-prev:hover {
  background: #5a6fd8;
}

.wz-btn-month-current {
  padding: 8px 16px;
  background: #4caf50;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  font: inherit;
}

.wz-btn-month-current:hover {
  background: #45a049;
}

.wz-btn-month-next {
  padding: 8px 16px;
  background: #ff9800;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  font: inherit;
}

.wz-btn-month-next:hover {
  background: #f57c00;
}

#wizardMonthLabel.wz-month-label {
  margin-bottom: 10px;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

#dateSelector.wz-date-grid,
#batchDateSelector.wz-date-grid,
#timeSlotSelector.wz-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

#timeSlotSelector.wz-slot-grid {
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

.wz-custom-time-wrap {
  margin-top: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
}

.wz-custom-time-title {
  font-size: 13px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
}

.wz-custom-time-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 8px;
  align-items: center;
}

.wz-flex-gap {
  display: flex;
  gap: 6px;
}

.wz-custom-mid {
  text-align: center;
  color: #666;
}

#wizardContent .wz-select--sm {
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font: inherit;
  min-width: 0;
}

#wizardContent .wz-select--narrow {
  width: 90px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font: inherit;
}

.wz-btn-apply-time {
  padding: 8px 14px;
  background: #0ea5e9;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font: inherit;
}

@media (max-width: 520px) {
  .wz-custom-time-wrap {
    overflow: hidden;
  }

  .wz-custom-time-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .wz-custom-time-grid .wz-flex-gap {
    min-width: 0;
    width: 100%;
  }

  #wizardContent .wz-custom-time-grid .wz-select--sm,
  #wizardContent .wz-custom-time-grid .wz-select--narrow {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }

  .wz-custom-mid {
    text-align: left;
    font-weight: 600;
  }

  .wz-btn-apply-time {
    width: 100%;
    min-height: 42px;
  }
}

#wizardBulkPoolWrap.wz-pool-bulk {
  margin-bottom: 12px;
  padding: 12px;
  background: #eef6ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
}

.wz-pool-bulk-title {
  font-size: 13px;
  font-weight: 600;
  color: #0369a1;
  margin-bottom: 4px;
}

.wz-pool-bulk-sub {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 8px;
}

.wz-pool-bulk-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.wz-pool-hours-hint {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--sw-text-subtle, #64748b);
}

.wz-pool-hours-hint.bk-hidden {
  display: none;
}

#wizardBulkLoc.wz-bulk-loc {
  min-width: 170px;
  max-width: 100%;
  padding: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  font: inherit;
}

#wizardBulkLocCustom.wz-bulk-custom {
  max-width: 200px;
  padding: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  font: inherit;
}

#wizardBulkLocCustom.wz-bulk-custom:not(.bk-hidden) {
  display: inline-block;
}

#scheduleList.wz-schedule-hold {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  min-height: 100px;
}

.wz-schedule-loc-row .wiz-loc-select {
  min-width: 150px;
  max-width: 100%;
  padding: 6px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 12px;
  font: inherit;
}

.wz-schedule-loc-row .wiz-loc-custom {
  margin-left: 8px;
  max-width: 160px;
  padding: 6px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 12px;
  font: inherit;
}

.wz-schedule-loc-row .wiz-loc-custom:not(.bk-hidden) {
  display: inline-block;
}

.wz-schedule-empty {
  text-align: center;
  color: #999;
  padding: 20px;
}

#conflictAlert.wz-conflict {
  display: none;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 15px;
}

#conflictAlert.wz-conflict.is-visible {
  display: block;
}

.wz-conflict-title {
  font-weight: 600;
  color: #856404;
  margin-bottom: 5px;
}

.wz-conflict-footnote {
  margin: 8px 0 0;
  font-size: 12px;
  color: #856404;
  line-height: 1.45;
  opacity: 0.95;
}

#conflictDetails {
  color: #856404;
  font-size: 13px;
}

.wz-tip-box {
  background: #e8f5e8;
  border-left: 4px solid #4caf50;
  padding: 15px;
  border-radius: 4px;
}

.wz-tip-title {
  font-weight: 600;
  color: #2e7d32;
  margin-bottom: 5px;
}

.wz-tip-body {
  color: #2e7d32;
  font-size: 13px;
}

/* 確認步 */
#bookingSummary.wz-summary-stack {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.wz-confirm-section .wz-confirm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.wz-slot-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 確認頁時間表：約顯示 12 列，其餘上下捲動 */
.wz-confirm-section--schedule .wz-slot-scroll {
  --wz-slot-row-h: 2.75rem;
  --wz-slot-row-gap: 8px;
  max-height: calc(12 * var(--wz-slot-row-h) + 11 * var(--wz-slot-row-gap));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: 2px 4px 4px 0;
  margin: 0;
  border: 1px solid var(--sw-border, #e2e8f0);
  border-radius: 8px;
  background: var(--sw-surface-muted, #f8fafc);
  scrollbar-gutter: stable;
}

.wz-confirm-section--schedule .wz-slot-scroll:focus-visible {
  outline: 2px solid var(--sw-primary, #0284c7);
  outline-offset: 2px;
}

.wz-confirm-section--schedule .wz-slot-stack {
  padding: 8px;
}

.wz-slot-scroll-meta {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--sw-text-subtle, #64748b);
  line-height: 1.4;
}

.wz-slot-line {
  padding: 8px 10px;
  min-height: var(--wz-slot-row-h, 2.75rem);
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 4px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.35;
  word-break: break-word;
}

.wz-slot-line__date {
  flex: 0 0 auto;
}

.wz-slot-line__time {
  flex: 0 1 auto;
}

.wz-slot-loc {
  color: #64748b;
  font-size: 13px;
  flex: 1 1 auto;
  min-width: 0;
}

.wz-slot-status {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  vertical-align: middle;
}

.wz-slot-status--pending {
  background: #fff3e0;
  color: #e65100;
  border: 1px solid #ffcc80;
}

.wz-slot-status--ok {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.wz-slot-confirm-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: #616161;
  line-height: 1.45;
}

.wz-slot-confirm-note--schedule {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px dashed #e0e0e0;
}

.wz-slot-line--empty {
  color: #757575;
  font-style: italic;
}

.wz-conflict-line {
  margin-bottom: 5px;
}

#feeCalculation.wz-fee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.wz-fee-block {
  line-height: 1.65;
}

.wz-fee-block > div {
  margin-bottom: 6px;
}

.wz-fee-payable {
  margin-top: 10px;
  padding: 10px 12px;
  background: #e8f5e9;
  border-radius: 6px;
  border: 1px solid #a5d6a7;
  font-size: 15px;
}

.wz-fee-muted {
  margin-top: 8px;
  font-size: 12px;
  color: #546e7a;
  line-height: 1.45;
}

.wz-fee-footnote {
  margin: 12px 0 0;
  font-size: 11px;
  color: #757575;
  line-height: 1.45;
}

.wz-confirm-section {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.wz-confirm-section h4 {
  margin: 0 0 10px 0;
  color: #495057;
}

.wz-notify-panel {
  background: #e3f2fd;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.wz-notify-panel h4 {
  margin: 0 0 10px 0;
  color: #1565c0;
}

.wz-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wz-check-row input[type='checkbox'] {
  width: 18px;
  height: 18px;
}

.wz-check-row label {
  cursor: pointer;
}

.wz-warn-box {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 15px;
  border-radius: 4px;
}

.wz-warn-body {
  color: #856404;
  font-size: 13px;
}

.wz-notify-panel .wz-check-row + .wz-check-row {
  margin-top: 8px;
}

/* 智能推薦卡片、月曆格等 */
.wz-rec-card {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f9f9f9;
  cursor: pointer;
  transition: background 0.3s ease;
}

.wz-rec-card:hover {
  background: #f0f0f0;
}

.wz-rec-title {
  font-weight: 600;
  color: #333;
  margin-bottom: 3px;
}

.wz-rec-desc {
  font-size: 12px;
  color: #666;
}

.wz-cal-weekname {
  padding: 8px 4px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  background: #f8fafc;
  border-radius: 6px;
}

.wz-cal-filler {
  min-height: 86px;
}

/* 嚮導月曆日期格（狀態以 class 表達，不再依賴內聯背景色） */
#dateSelector.date-option-grid,
#batchDateSelector.date-option-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

#dateSelector .date-option.wz-cal-cell,
#batchDateSelector .date-option.wz-cal-cell {
  min-height: 86px;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: #f9f9f9;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  box-sizing: border-box;
}

#dateSelector .date-option.wz-cal-cell.today:not(.selected):not(.editing),
#batchDateSelector .date-option.wz-cal-cell.today:not(.selected):not(.editing) {
  background: #e3f2fd;
}

#dateSelector .date-option.wz-cal-cell.selected:not(.editing),
#batchDateSelector .date-option.wz-cal-cell.selected:not(.editing) {
  background: #e8f5e8;
  border-color: #4caf50;
}

#dateSelector .date-option.wz-cal-cell.pending:not(.editing),
#batchDateSelector .date-option.wz-cal-cell.pending:not(.editing) {
  background: #fff7ed;
  border-color: #fdba74;
}

#dateSelector .wz-cal-badge--pending,
#batchDateSelector .wz-cal-badge--pending {
  background: #ffedd5;
  color: #c2410c;
}

#dateSelector .date-option.wz-cal-cell.editing,
#batchDateSelector .date-option.wz-cal-cell.editing {
  background: #fff7ed;
  border-color: #f97316;
}

#dateSelector .date-option.wz-cal-cell.locked,
#batchDateSelector .date-option.wz-cal-cell.locked {
  border-color: #e5e7eb;
}

#dateSelector .date-option.wz-cal-cell.disabled,
#batchDateSelector .date-option.wz-cal-cell.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

#dateSelector .date-option.wz-cal-cell.enabled,
#batchDateSelector .date-option.wz-cal-cell.enabled {
  cursor: pointer;
}

#dateSelector .wz-cal-dayname,
#batchDateSelector .wz-cal-dayname {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
}

#dateSelector .wz-cal-daynum,
#batchDateSelector .wz-cal-daynum {
  font-weight: 700;
  color: #334155;
  font-size: 18px;
  line-height: 1;
}

#dateSelector .wz-cal-sub,
#batchDateSelector .wz-cal-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 6px;
}

#dateSelector .wz-cal-badge,
#batchDateSelector .wz-cal-badge {
  font-size: 10px;
  margin-top: 4px;
}

#dateSelector .wz-cal-badge--edit,
#batchDateSelector .wz-cal-badge--edit {
  color: #f97316;
}

#dateSelector .wz-cal-badge--lock,
#batchDateSelector .wz-cal-badge--lock {
  color: #ef4444;
}

#dateSelector .wz-cal-badge--today,
#batchDateSelector .wz-cal-badge--today {
  color: #2196f3;
}

#batchDateSelector .date-option.wz-cal-cell.wz-cal-has-existing:not(.selected):not(.editing):not(.pending),
#dateSelector .date-option.wz-cal-cell.wz-cal-has-existing:not(.selected):not(.editing):not(.pending) {
  border-color: var(--sw-warning, #f59e0b);
  background: #fffbeb;
}

#batchDateSelector .date-option.wz-cal-cell.wz-cal-has-existing,
#dateSelector .date-option.wz-cal-cell.wz-cal-has-existing {
  min-height: 108px;
}

#batchDateSelector .wz-cal-existing,
#dateSelector .wz-cal-existing {
  margin-top: 4px;
  text-align: left;
  font-size: 10px;
  line-height: 1.25;
  color: #92400e;
  max-height: 2.6em;
  overflow: hidden;
}

#batchDateSelector .wz-cal-existing__item,
#dateSelector .wz-cal-existing__item {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#batchDateSelector .wz-cal-existing__time,
#dateSelector .wz-cal-existing__time {
  margin-left: 4px;
  opacity: 0.85;
  font-weight: 600;
}

#batchDateSelector .wz-cal-existing__more,
#dateSelector .wz-cal-existing__more {
  font-size: 9px;
  opacity: 0.8;
}

#batchDateSelector .wz-cal-badge--existing,
#dateSelector .wz-cal-badge--existing {
  background: var(--sw-warning, #f59e0b);
  color: #fff;
}

.batch-existing-panel {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid var(--sw-border, #e2e8f0);
  border-radius: 8px;
  background: #fffbeb;
  max-height: 160px;
  overflow: auto;
}

.batch-existing-panel__empty {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}

.batch-existing-panel__head {
  font-size: 12px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 6px;
}

.batch-existing-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.batch-existing-panel__day {
  margin: 0 0 8px;
  font-size: 12px;
  color: #334155;
}

.batch-existing-panel__day:last-child {
  margin-bottom: 0;
}

.batch-existing-panel__slots {
  list-style: none;
  margin: 4px 0 0;
  padding: 0 0 0 8px;
  color: #64748b;
  font-size: 11px;
}

.batch-existing-panel__slots li {
  margin: 2px 0;
}

.wz-cal-zoom .wz-cal-detail__existing-head {
  font-size: 12px;
  font-weight: 700;
  color: #92400e;
  margin: 6px 0 4px;
}

.wz-cal-zoom .wz-cal-detail__row--existing .wz-cal-detail__lbl {
  color: #92400e;
}

.wz-cal-holiday-footnote {
  margin: 0 0 10px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.45;
  color: #57534e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
}

#dateSelector .date-option.wz-cal-cell.wz-cal-holiday:not(.selected):not(.editing),
#batchDateSelector .date-option.wz-cal-cell.wz-cal-holiday:not(.selected):not(.editing) {
  background: #fff7ed;
  border-color: #fdba74;
}

#dateSelector .date-option.wz-cal-cell.wz-cal-holiday.disabled,
#batchDateSelector .date-option.wz-cal-cell.wz-cal-holiday.disabled {
  opacity: 0.75;
}

#dateSelector .date-option.wz-cal-cell.wz-cal-holiday.selected:not(.editing),
#batchDateSelector .date-option.wz-cal-cell.wz-cal-holiday.selected:not(.editing) {
  border-color: #4caf50;
  box-shadow: inset 0 -4px 0 #fb923c;
}

#dateSelector .wz-cal-blocks,
#batchDateSelector .wz-cal-blocks {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1px;
  width: 100%;
  min-width: 0;
  margin-top: 3px;
}

#dateSelector .wz-cal-block,
#batchDateSelector .wz-cal-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  padding: 1px 2px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.15;
}

#dateSelector .wz-cal-block__tag,
#batchDateSelector .wz-cal-block__tag {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#dateSelector .wz-cal-block__time,
#batchDateSelector .wz-cal-block__time {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

#dateSelector .wz-cal-block--student,
#batchDateSelector .wz-cal-block--student {
  color: #1d4ed8;
  background: #dbeafe;
}

#dateSelector .wz-cal-block--leave,
#batchDateSelector .wz-cal-block--leave {
  color: #c2410c;
  background: #ffedd5;
}

#dateSelector .wz-cal-existing__item--leave,
#batchDateSelector .wz-cal-existing__item--leave {
  color: #c2410c;
  background: #fff7ed;
  border-radius: 3px;
  padding: 1px 2px;
}

#dateSelector .wz-cal-existing__leave,
#batchDateSelector .wz-cal-existing__leave {
  display: inline-block;
  margin-left: 2px;
  padding: 0 3px;
  border-radius: 2px;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  background: #ea580c;
  vertical-align: middle;
}

#dateSelector .wz-cal-badge--leave,
#batchDateSelector .wz-cal-badge--leave {
  color: #fff;
  background: #ea580c;
}

#dateSelector .wz-cal-cell.wz-cal-has-leave,
#batchDateSelector .wz-cal-cell.wz-cal-has-leave {
  box-shadow: inset 0 0 0 1.5px rgba(234, 88, 12, 0.55);
}

#dateSelector .wz-cal-block--coach,
#batchDateSelector .wz-cal-block--coach {
  color: #6d28d9;
  background: #ede9fe;
}

#dateSelector .wz-cal-block--pool,
#batchDateSelector .wz-cal-block--pool {
  color: #0f766e;
  background: #ccfbf1;
}

#dateSelector .wz-cal-block--more,
#batchDateSelector .wz-cal-block--more {
  color: #475569;
  background: transparent;
  font-weight: 600;
}

.wz-cal-detail__block {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
}

.wz-cal-detail__block .wz-cal-detail__lbl {
  flex: 0 0 auto;
  font-weight: 700;
}

.wz-cal-detail__block--student .wz-cal-detail__lbl {
  color: #1d4ed8;
}

.wz-cal-detail__block--coach .wz-cal-detail__lbl {
  color: #6d28d9;
}

.wz-cal-detail__block--pool .wz-cal-detail__lbl {
  color: #0f766e;
}

#dateSelector .wz-cal-holname,
#batchDateSelector .wz-cal-holname {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  color: #c2410c;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#dateSelector .date-option.wz-cal-cell.selected:not(.editing) .wz-cal-holname,
#batchDateSelector .date-option.wz-cal-cell.selected:not(.editing) .wz-cal-holname {
  color: #9a3412;
}

/* 選中日期：格仔大小不變，僅高亮（詳情在浮動放大鏡） */
#dateSelector .date-option.wz-cal-cell.wz-cal-cell--focused,
#batchDateSelector .date-option.wz-cal-cell.wz-cal-cell--focused {
  z-index: 1;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.35);
}

#dateSelector .wz-cal-head,
#batchDateSelector .wz-cal-head {
  display: block;
}

/* 浮動放大鏡（不撐開月曆格線） */
.wz-cal-zoom {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
}

.wz-cal-zoom::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.22);
  pointer-events: none;
}

.wz-cal-zoom__lens {
  position: fixed;
  z-index: 2;
  pointer-events: none;
  transform: scale(0.72);
  opacity: 0;
  transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 0.18s ease;
  transform-origin: center center;
}

.wz-cal-zoom--open .wz-cal-zoom__lens {
  transform: scale(1);
  opacity: 1;
}

.wz-cal-zoom__card {
  position: relative;
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 2px solid #0ea5e9;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  box-shadow: 0 16px 40px rgba(14, 165, 233, 0.28), 0 4px 12px rgba(15, 23, 42, 0.12);
  pointer-events: auto;
}

.wz-cal-zoom__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

.wz-cal-zoom__title {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
  text-align: center;
  padding-right: 24px;
}

.wz-cal-zoom__mini {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #bae6fd;
}

.wz-cal-zoom__dow {
  font-size: 14px;
  color: #64748b;
  font-weight: 700;
}

.wz-cal-zoom__num {
  font-size: 36px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.04em;
  color: #0284c7;
}

.wz-cal-zoom .wz-cal-detail {
  text-align: left;
  font-size: 13px;
  line-height: 1.45;
}

.wz-cal-zoom .wz-cal-detail__hol {
  margin-bottom: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #ffedd5;
  color: #9a3412;
  font-weight: 700;
  text-align: center;
}

.wz-cal-zoom .wz-cal-detail__row {
  display: flex;
  gap: 8px;
  margin-bottom: 5px;
}

.wz-cal-zoom .wz-cal-detail__lbl {
  flex: 0 0 3em;
  color: #64748b;
  font-weight: 600;
}

.wz-cal-zoom .wz-cal-detail__hint--cancel {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fef2f2;
  color: #b91c1c;
  font-weight: 700;
  text-align: center;
}

.wz-cal-zoom__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.wz-cal-zoom__confirm {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: #0ea5e9;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  pointer-events: auto;
}

.wz-cal-zoom__confirm:active {
  background: #0284c7;
}

.wz-cal-zoom__cancel {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  pointer-events: auto;
}

.wz-cal-zoom__cancel:active {
  background: #fee2e2;
}

.wz-cal-leave-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 8px 0 10px;
}

.wz-cal-zoom__actions .wz-cal-leave-actions {
  margin-top: 4px;
}

.wz-cal-leave-actions__pick {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sw-text, #0f172a);
}

.wz-cal-zoom__leave {
  padding: 8px 12px;
  border: 1px solid var(--sw-primary, #0284c7);
  border-radius: 10px;
  background: #fff;
  color: var(--sw-primary-dark, #0369a1);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.wz-cal-zoom__leave--coach {
  border-color: var(--sw-warning, #f59e0b);
  color: #b45309;
}

.wz-cal-zoom .wz-cal-zoom__leave {
  width: 100%;
}

.wz-schedule-hol {
  margin-top: 6px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #9a3412;
  background: #ffedd5;
  border-radius: 6px;
  border: 1px solid #fdba74;
}

#timeSlotSelector .wizard-time-slot {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f9f9f9;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

#timeSlotSelector .wizard-time-slot:hover {
  background: #f0f0f0;
}

#timeSlotSelector .time-slot-option.selected {
  border-color: #4caf50;
  background: #e8f5e8;
}

#timeSlotSelector .wizard-time-slot-label {
  font-weight: 600;
  color: #333;
  font-size: 12px;
}

.wz-schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.wz-schedule-row.wz-schedule-row--editing {
  border-color: #f97316;
}

.wz-schedule-main {
  flex: 1;
  min-width: 0;
}

.wz-schedule-title {
  font-weight: 600;
  color: #333;
}

.wz-schedule-sub {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.wz-schedule-loc-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.wz-schedule-loc-label {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
}

.wz-schedule-override-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 10px;
  align-items: end;
}

.wz-schedule-override-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wz-schedule-override-field .wiz-slot-ov-fee,
.wz-schedule-override-field .wiz-slot-ov-dur,
.wz-schedule-override-field .wiz-slot-ov-course,
.wz-schedule-override-field .wiz-slot-ov-coach,
.wz-schedule-override-field .wiz-slot-ov-kind {
  font: inherit;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  width: 100%;
  box-sizing: border-box;
}

.wz-schedule-makeup-source {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.wz-schedule-makeup-source .wiz-slot-ov-makeup-src {
  font: inherit;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  width: 100%;
  box-sizing: border-box;
}

.wz-schedule-extra-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.wz-schedule-add-date-label {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
}

.wiz-add-slot-date {
  font: inherit;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  min-width: 9.5rem;
  box-sizing: border-box;
}

.wz-schedule-extra-hint {
  font-size: 12px;
  color: #64748b;
}

.wz-schedule-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
  flex-shrink: 0;
  justify-content: flex-end;
}

.wz-btn-sched-edit {
  background: #f59e0b;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  font: inherit;
}

.wz-btn-sched-edit:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.wz-btn-sched-reschedule {
  background: var(--sw-primary, #0284c7);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  font: inherit;
}

.wz-btn-sched-reschedule:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.wz-btn-sched-remove {
  background: #f44336;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  font: inherit;
}

.wz-btn-sched-remove:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.wz-schedule-reschedule-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 10px;
  padding: 8px 12px;
  border: 1px solid var(--sw-primary, #0284c7);
  border-radius: 8px;
  background: color-mix(in srgb, var(--sw-primary, #0284c7) 12%, #fff);
  font-size: 13px;
  color: var(--sw-text, #0f172a);
}

.wz-btn-sched-reschedule-cancel {
  background: transparent;
  color: var(--sw-primary, #0284c7);
  border: 1px solid var(--sw-primary, #0284c7);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  font: inherit;
  flex-shrink: 0;
}

.wz-schedule-row.wz-schedule-row--reschedule {
  outline: 2px solid var(--sw-primary, #0284c7);
  outline-offset: 1px;
}

#dateSelector .date-option.wz-cal-cell.reschedule-from,
#batchDateSelector .date-option.wz-cal-cell.reschedule-from {
  box-shadow: inset 0 0 0 2px var(--sw-primary, #0284c7);
}

#dateSelector .wz-cal-badge--reschedule,
#batchDateSelector .wz-cal-badge--reschedule {
  background: var(--sw-primary, #0284c7);
  color: #fff;
}

.wz-schedule-class-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid var(--sw-border);
  border-radius: 8px;
  background: var(--sw-surface-muted);
}

.wz-schedule-class-toolbar__hint {
  margin: 0;
  flex: 1 1 220px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--sw-text-subtle);
}

.wz-btn-sched-remove-all {
  background: var(--sw-danger);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  font: inherit;
  flex-shrink: 0;
}

.wz-booking-student-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.booking-student-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.booking-student-row select {
  flex: 1;
  min-width: 180px;
}

.pane-accent-text {
  color: #0284c7 !important;
  font-weight: 700;
}

.booking-callout {
  display: none;
  background: #f1f5f9;
  padding: 16px;
  border-radius: 12px;
  margin-top: 12px;
  border: 1px solid #e2e8f0;
}

.booking-callout h4 {
  margin: 0 0 10px 0;
  font-size: 15px;
  color: #0f172a;
}

.booking-callout > p {
  margin: 0 0 10px 0;
  font-size: 12px;
  color: #64748b;
}

