.cbsp-wrap{font-family:inherit;color:#252b32}.cbsp-toolbar{display:flex;flex-wrap:wrap;gap:14px;margin:0 0 18px;align-items:end}.cbsp-toolbar label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:14px}.cbsp-toolbar select,.cbsp-toolbar input{min-width:170px;padding:9px 11px;border:1px solid #d7dce1;border-radius:5px;background:#fff}.cbsp-table-scroll{width:100%;overflow-x:auto}.cbsp-table{width:100%;border-collapse:collapse;min-width:850px;background:#fff}.cbsp-table th,.cbsp-table td{padding:14px 12px;border:1px solid #e0e3e6;text-align:left;vertical-align:middle}.cbsp-table th{font-weight:700;background:#f7f8f9;color:#30363d}.cbsp-table .cbsp-month td{font-size:20px;font-weight:700;background:#eef0f2;padding:12px}.cbsp-table .cbsp-session:nth-child(even){background:#fafbfc}.cbsp-table button{border:0;border-radius:4px;padding:10px 15px;cursor:pointer;font:inherit}.cbsp-info{background:#f3f4f6;color:#222}.cbsp-book{background:#55b65d;color:#fff;border:1px solid #55b65d;transition:background-color .15s ease,border-color .15s ease}.cbsp-book:hover,.cbsp-book:focus-visible{background:#449d4c;border-color:#449d4c;color:#fff}.cbsp-book:focus-visible{outline:2px solid #f59e42;outline-offset:2px}.cbsp-book:disabled{background:#9ca3af;border-color:#9ca3af;cursor:not-allowed}.cbsp-modal{display:none;position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.55);padding:20px;overflow:auto;align-items:center;justify-content:center}.cbsp-modal.is-open{display:flex}.cbsp-modal-card{position:relative;background:#fff;border-radius:10px;padding:26px;width:min(560px,100%);max-height:90vh;overflow:auto;box-shadow:0 12px 45px rgba(0,0,0,.2)}.cbsp-close{position:absolute;right:12px;top:8px;background:transparent;border:0;font-size:28px;cursor:pointer}.cbsp-form h3{margin:0 30px 8px 0}.cbsp-form label{display:block;font-weight:600;margin:12px 0 5px}.cbsp-form input,.cbsp-form select{width:100%;padding:11px;border:1px solid #d6dbe0;border-radius:5px;box-sizing:border-box}.cbsp-participant{border:1px solid #e5e7eb;padding:10px;border-radius:6px;margin:10px 0}.cbsp-submit{width:100%;padding:13px!important;margin-top:15px;background:#55b65d;color:#fff;font-weight:700}.cbsp-notice{margin-top:12px;color:#b42318}.cbsp-small{font-size:13px;color:#667085}

.cbsp-modal-card{width:min(820px,100%);padding:22px 20px;border-radius:5px}.cbsp-flow{border:1px solid #d2d5d9;border-radius:4px;padding:18px 20px 12px}.cbsp-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 auto 20px;max-width:760px;text-align:center}.cbsp-step{display:flex;flex-direction:column;align-items:center;gap:5px;color:#667085;font-size:11px}.cbsp-step b{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#e9edf1;color:#667085;font-size:11px}.cbsp-step.active{color:#c00}.cbsp-step.active b{background:#c00;color:#fff}.cbsp-step.done b{background:#3182ce;color:#fff}.cbsp-flow h3{font-size:15px;text-align:center;margin:8px 0 15px}.cbsp-center-title{margin-top:0!important}.cbsp-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;max-width:630px;margin:0 auto 16px}.cbsp-mode{min-height:100px;border:1px solid #d8dadd;background:#fff;border-radius:4px;padding:12px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#101828;cursor:pointer}.cbsp-mode.selected{border-color:#2878d0;background:#f3f8fd}.cbsp-mode-icon{font-size:24px;line-height:1.1;color:#3182ce}.cbsp-mode strong{font-size:12px;font-weight:500}.cbsp-mode small{font-size:10px;color:#667085}.cbsp-flow label{display:block;font-size:11px;color:#344054;margin:12px 0 5px}.cbsp-flow input{display:block;width:100%;height:31px;border:1px solid #d5dbe2;border-radius:4px;padding:5px 9px;box-sizing:border-box;font-size:12px}.cbsp-flow input[readonly]{background:#e9ecef;color:#667085}.cbsp-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.cbsp-person{margin-top:14px}.cbsp-person-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin:12px 0 4px}.cbsp-remove{border:1px solid #dc3545;background:#fff;color:#dc3545;border-radius:3px;padding:4px 7px;font-size:10px;cursor:pointer}.cbsp-add-row{text-align:center;margin:15px 0}.cbsp-add{border:0;background:#3182ce;color:#fff;border-radius:4px;padding:6px 10px;font-size:11px;cursor:pointer}.cbsp-add:disabled{opacity:.45;cursor:not-allowed}.cbsp-actions{display:flex;justify-content:space-between;align-items:center;margin-top:18px}.cbsp-back,.cbsp-save{background:#fff;border:1px solid #3182ce;color:#2878c8;border-radius:4px;padding:7px 10px;font-size:11px;cursor:pointer}.cbsp-top-back{background:#687681;color:#fff;border:0;margin-bottom:12px}.cbsp-primary{background:#3182ce;border:0;color:#fff;border-radius:4px;padding:9px 13px;font-size:12px;cursor:pointer}.cbsp-primary:disabled{opacity:.6;cursor:wait}.cbsp-review{background:#f8fafc;border:1px solid #e5e7eb;border-radius:4px;padding:12px 15px;font-size:12px}.cbsp-review p{margin:5px 0}.cbsp-total{border-top:1px solid #e5e7eb;padding-top:9px;font-size:14px}.cbsp-form-error{color:#b42318;font-size:12px;margin:10px 0 0}.cbsp-small{font-size:11px;color:#667085}@media(max-width:600px){.cbsp-flow{padding:14px 11px}.cbsp-mode-grid{gap:8px}.cbsp-mode{min-height:105px}.cbsp-field-grid{grid-template-columns:1fr;gap:0}.cbsp-modal{padding:8px}.cbsp-modal-card{padding:16px 10px}.cbsp-steps{gap:3px}.cbsp-step{font-size:9px}}
/* Student registration controls */
.cbsp-flow select{display:block;width:100%;min-height:38px;border:1px solid #d5dbe2;border-radius:4px;padding:6px 9px;box-sizing:border-box;background:#fff;color:#344054;font-size:12px}
.cbsp-flow .cbsp-dob-grid{grid-template-columns:1fr 1.8fr 1fr;gap:8px}
.cbsp-flow .cbsp-consent{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.45;margin:7px 0}
.cbsp-flow .cbsp-consent input[type="checkbox"]{display:inline-block;flex:0 0 14px;width:14px;height:14px;min-width:14px;margin:1px 0 0;padding:0}
.cbsp-flow .cbsp-consent a{color:#2878c8;text-decoration:underline}
.cbsp-flow hr{border:0;border-top:1px solid #d5dbe2;margin:14px 0}
@media(max-width:600px){.cbsp-flow .cbsp-dob-grid{grid-template-columns:1fr 1.4fr 1fr;gap:6px}}


/* Responsive layout hardening: prevent theme styles from stacking booking actions. */
.cbsp-wrap,
.cbsp-wrap * { box-sizing: border-box; }
.cbsp-wrap { width: 100%; max-width: 100%; min-width: 0; }
.cbsp-wrap .cbsp-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; width: 100%; }
.cbsp-wrap .cbsp-toolbar label { flex: 1 1 180px; min-width: 0; }
.cbsp-wrap .cbsp-toolbar select,
.cbsp-wrap .cbsp-toolbar input { width: 100%; max-width: 100%; min-width: 0; min-height: 44px; }
.cbsp-wrap .cbsp-table-scroll { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cbsp-wrap table.cbsp-table { width: 100%; min-width: 760px; table-layout: auto; }
.cbsp-wrap .cbsp-table th,
.cbsp-wrap .cbsp-table td { overflow-wrap: anywhere; }
.cbsp-wrap .cbsp-table td.cbsp-actions-cell { min-width: 132px; white-space: nowrap !important; }
.cbsp-wrap .cbsp-row-actions { display: inline-flex !important; flex-flow: row nowrap !important; align-items: center !important; justify-content: flex-start !important; gap: 6px !important; white-space: nowrap !important; }
.cbsp-wrap .cbsp-row-actions button.cbsp-info,
.cbsp-wrap .cbsp-row-actions button.cbsp-book { display: inline-flex !important; flex: 0 0 auto !important; align-items: center !important; justify-content: center !important; float: none !important; position: static !important; width: auto !important; min-width: 52px !important; max-width: none !important; min-height: 40px !important; margin: 0 !important; padding: 8px 13px !important; border-radius: 4px !important; font: inherit !important; font-size: 14px !important; font-weight: 500 !important; line-height: 1.2 !important; text-align: center !important; text-decoration: none !important; text-transform: none !important; cursor: pointer !important; box-shadow: none !important; }
.cbsp-wrap .cbsp-row-actions button.cbsp-info { color: #20252b !important; background: #f3f4f6 !important; border: 1px solid #d9dee3 !important; }
.cbsp-wrap .cbsp-row-actions button.cbsp-book { color: #fff !important; background: #55b65d !important; border: 1px solid #55b65d !important; }
.cbsp-wrap .cbsp-row-actions button.cbsp-book:hover,
.cbsp-wrap .cbsp-row-actions button.cbsp-book:focus-visible { color: #fff !important; background: #449d4c !important; border-color: #449d4c !important; }
.cbsp-wrap .cbsp-row-actions button.cbsp-book:disabled { color: #fff !important; background: #9ca3af !important; border-color: #9ca3af !important; cursor: not-allowed !important; }
.cbsp-wrap .cbsp-row-actions button:focus-visible { outline: 2px solid #f59e42 !important; outline-offset: 2px !important; }

/* Booking modal and all form steps adapt to narrow screens. */
.cbsp-wrap .cbsp-modal { padding: 12px; }
.cbsp-wrap .cbsp-modal-card { width: min(820px, calc(100vw - 24px)); max-width: 100%; max-height: 92vh; max-height: 92dvh; overflow-x: hidden; }
.cbsp-wrap .cbsp-modal-content,
.cbsp-wrap .cbsp-flow { width: 100%; max-width: 100%; min-width: 0; }
.cbsp-wrap .cbsp-flow form { width: 100%; max-width: 100%; }
.cbsp-wrap .cbsp-flow input,
.cbsp-wrap .cbsp-flow select,
.cbsp-wrap .cbsp-flow textarea { width: 100%; max-width: 100%; min-width: 0; }
.cbsp-wrap .cbsp-flow .cbsp-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; }
.cbsp-wrap .cbsp-flow .cbsp-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.cbsp-wrap .cbsp-flow button { max-width: 100%; white-space: normal; }
.cbsp-wrap .cbsp-review { overflow-wrap: anywhere; }
.cbsp-wrap .cbsp-steps { width: 100%; }
.cbsp-wrap .cbsp-form-error { overflow-wrap: anywhere; }

@media (max-width: 767px) {
  .cbsp-wrap .cbsp-toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cbsp-wrap .cbsp-toolbar label { width: 100%; }
  .cbsp-wrap table.cbsp-table { min-width: 720px; }
  .cbsp-wrap .cbsp-table th,
  .cbsp-wrap .cbsp-table td { padding: 10px 9px; font-size: 13px; }
  .cbsp-wrap .cbsp-table .cbsp-month td { font-size: 16px; }
  .cbsp-wrap .cbsp-row-actions { gap: 5px !important; }
  .cbsp-wrap .cbsp-row-actions button.cbsp-info,
  .cbsp-wrap .cbsp-row-actions button.cbsp-book { min-width: 48px !important; min-height: 36px !important; padding: 7px 10px !important; font-size: 13px !important; }
  .cbsp-wrap .cbsp-modal { padding: 6px; align-items: flex-start; }
  .cbsp-wrap .cbsp-modal-card { width: calc(100vw - 12px); margin: 6px auto; padding: 14px 10px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .cbsp-wrap .cbsp-flow { padding: 12px 9px; }
  .cbsp-wrap .cbsp-flow .cbsp-field-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cbsp-wrap .cbsp-flow .cbsp-dob-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr) minmax(0, .9fr); gap: 6px; }
  .cbsp-wrap .cbsp-steps { gap: 2px; margin-bottom: 14px; }
  .cbsp-wrap .cbsp-step { font-size: 9px; }
  .cbsp-wrap .cbsp-flow .cbsp-actions > button { flex: 1 1 auto; }
}
@media (max-width: 380px) {
  .cbsp-wrap .cbsp-flow .cbsp-dob-grid { grid-template-columns: 1fr; }
  .cbsp-wrap .cbsp-step span { max-width: 85px; line-height: 1.2; }
}


/* Reference-matched joined Info + Book action buttons. */
.cbsp-wrap .cbsp-table td.cbsp-actions-cell {
  min-width: 180px !important;
  white-space: nowrap !important;
}
.cbsp-wrap .cbsp-row-actions {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 0 !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  border-radius: 7px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.12) !important;
}
.cbsp-wrap .cbsp-row-actions button.cbsp-info,
.cbsp-wrap .cbsp-row-actions button.cbsp-book {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  position: static !important;
  width: auto !important;
  min-width: 78px !important;
  max-width: none !important;
  height: 55px !important;
  min-height: 55px !important;
  margin: 0 !important;
  padding: 0 17px !important;
  border-radius: 0 !important;
  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: background-color .15s ease, color .15s ease !important;
}
.cbsp-wrap .cbsp-row-actions button.cbsp-info {
  min-width: 78px !important;
  color: #222 !important;
  background: #f7f7f7 !important;
  border: 1px solid #e1e3e5 !important;
  border-right: 0 !important;
  border-radius: 7px 0 0 7px !important;
}
.cbsp-wrap .cbsp-row-actions button.cbsp-book {
  min-width: 92px !important;
  color: #fff !important;
  background: #55b65d !important;
  border: 1px solid #55b65d !important;
  border-radius: 0 7px 7px 0 !important;
}
.cbsp-wrap .cbsp-row-actions button.cbsp-info:hover {
  color: #111 !important;
  background: #eceeef !important;
}
.cbsp-wrap .cbsp-row-actions button.cbsp-book:hover,
.cbsp-wrap .cbsp-row-actions button.cbsp-book:focus-visible {
  color: #fff !important;
  background: #449d4c !important;
  border-color: #449d4c !important;
}
.cbsp-wrap .cbsp-row-actions button.cbsp-book:disabled {
  color: #fff !important;
  background: #9ca3af !important;
  border-color: #9ca3af !important;
  cursor: not-allowed !important;
}
.cbsp-wrap .cbsp-row-actions button:focus-visible {
  position: relative !important;
  z-index: 1 !important;
  outline: 2px solid #f59e42 !important;
  outline-offset: -3px !important;
}
@media (max-width: 767px) {
  .cbsp-wrap .cbsp-table td.cbsp-actions-cell { min-width: 180px !important; }
  .cbsp-wrap .cbsp-row-actions button.cbsp-info { min-width: 72px !important; }
  .cbsp-wrap .cbsp-row-actions button.cbsp-book { min-width: 86px !important; }
  .cbsp-wrap .cbsp-row-actions button.cbsp-info,
  .cbsp-wrap .cbsp-row-actions button.cbsp-book {
    height: 52px !important;
    min-height: 52px !important;
    font-size: 17px !important;
    padding: 0 14px !important;
  }
}


/* v1.0.14: stable schedule column widths and two-line date/time presentation. */
.cbsp-wrap table.cbsp-table {
  min-width: 1040px !important;
  table-layout: fixed !important;
}
.cbsp-wrap .cbsp-table th:nth-child(1),
.cbsp-wrap .cbsp-table td:nth-child(1) { width: 26% !important; }
.cbsp-wrap .cbsp-table th:nth-child(2),
.cbsp-wrap .cbsp-table td:nth-child(2) { width: 12% !important; }
.cbsp-wrap .cbsp-table th:nth-child(3),
.cbsp-wrap .cbsp-table td:nth-child(3) { width: 20% !important; }
.cbsp-wrap .cbsp-table th:nth-child(4),
.cbsp-wrap .cbsp-table td:nth-child(4) { width: 11% !important; white-space: nowrap !important; overflow-wrap: normal !important; word-break: normal !important; }
.cbsp-wrap .cbsp-table th:nth-child(5),
.cbsp-wrap .cbsp-table td:nth-child(5) { width: 7% !important; white-space: nowrap !important; overflow-wrap: normal !important; word-break: normal !important; }
.cbsp-wrap .cbsp-table th:nth-child(6),
.cbsp-wrap .cbsp-table td:nth-child(6) { width: 9% !important; white-space: nowrap !important; overflow-wrap: normal !important; word-break: normal !important; }
.cbsp-wrap .cbsp-table th:nth-child(7),
.cbsp-wrap .cbsp-table td:nth-child(7) { width: 15% !important; }
.cbsp-wrap .cbsp-table th:nth-child(4),
.cbsp-wrap .cbsp-table th:nth-child(5),
.cbsp-wrap .cbsp-table th:nth-child(6) { white-space: nowrap !important; }
.cbsp-wrap .cbsp-table td.cbsp-date-cell { white-space: normal !important; overflow-wrap: normal !important; word-break: normal !important; }
.cbsp-wrap .cbsp-date-day,
.cbsp-wrap .cbsp-date-time { display: block; line-height: 1.45; }
.cbsp-wrap .cbsp-date-day { white-space: nowrap; }
.cbsp-wrap .cbsp-date-time { white-space: nowrap; margin-top: 2px; }
.cbsp-wrap .cbsp-table th,
.cbsp-wrap .cbsp-table td { font-size: 14px; }
@media (max-width: 767px) {
  .cbsp-wrap table.cbsp-table { min-width: 1040px !important; }
  .cbsp-wrap .cbsp-table th,
  .cbsp-wrap .cbsp-table td { font-size: 13px !important; padding: 10px 8px !important; }
  .cbsp-wrap .cbsp-date-day,
  .cbsp-wrap .cbsp-date-time { font-size: 13px; }
}


/* v1.0.15: keep joined Info/Book controls fully inside the final table column. */
.cbsp-wrap .cbsp-table td.cbsp-actions-cell {
  width: 14% !important;
  min-width: 140px !important;
  max-width: 150px !important;
  box-sizing: border-box !important;
  padding: 8px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}
.cbsp-wrap .cbsp-row-actions {
  display: flex !important;
  width: 120px !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  gap: 0 !important;
}
.cbsp-wrap .cbsp-row-actions button.cbsp-info,
.cbsp-wrap .cbsp-row-actions button.cbsp-book {
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 6px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.cbsp-wrap .cbsp-row-actions button.cbsp-info { width: 52px !important; min-width: 52px !important; }
.cbsp-wrap .cbsp-row-actions button.cbsp-book { width: 68px !important; min-width: 68px !important; }
@media (max-width: 767px) {
  .cbsp-wrap .cbsp-table td.cbsp-actions-cell {
    width: 14% !important;
    min-width: 126px !important;
    max-width: 136px !important;
    padding: 7px 6px !important;
  }
  .cbsp-wrap .cbsp-row-actions { width: 112px !important; }
  .cbsp-wrap .cbsp-row-actions button.cbsp-info,
  .cbsp-wrap .cbsp-row-actions button.cbsp-book {
    height: 36px !important;
    min-height: 36px !important;
    font-size: 12px !important;
    padding: 0 4px !important;
  }
  .cbsp-wrap .cbsp-row-actions button.cbsp-info { width: 48px !important; min-width: 48px !important; }
  .cbsp-wrap .cbsp-row-actions button.cbsp-book { width: 64px !important; min-width: 64px !important; }
}
