.stpb-booking {
  --stpb-accent: #9b6b43;
  --stpb-ink: #211e1a;
  --stpb-muted: #6d665e;
  --stpb-line: #ddd7cf;
  --stpb-paper: #fffdfa;
  color: var(--stpb-ink);
  font: inherit;
  margin: 2rem auto;
  max-width: 760px;
}

.stpb-booking *,
.stpb-booking *::before,
.stpb-booking *::after { box-sizing: border-box; }

.stpb-panel {
  background: var(--stpb-paper);
  border: 1px solid var(--stpb-line);
  border-radius: 4px;
  box-shadow: 0 18px 50px rgba(31, 25, 19, .08);
  padding: clamp(24px, 5vw, 48px);
}

.stpb-panel[hidden] { display: none !important; }
.stpb-panel h2 { color: var(--stpb-ink); font-size: clamp(26px, 4vw, 38px); line-height: 1.15; margin: 0 0 28px; }
.stpb-eyebrow { color: var(--stpb-accent); font-size: 13px; font-weight: 700; letter-spacing: .09em; margin: 0 0 10px; text-transform: uppercase; }

.stpb-teachers { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stpb-teacher {
  appearance: none;
  background: transparent;
  border: 1px solid var(--stpb-line);
  border-radius: 3px;
  color: var(--stpb-ink);
  cursor: pointer;
  padding: 26px;
  text-align: left;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.stpb-teacher:hover, .stpb-teacher:focus-visible { background: #faf6f0; border-color: var(--stpb-accent); transform: translateY(-1px); }
.stpb-teacher span { display: block; font-size: 25px; font-weight: 650; }
.stpb-teacher small { color: var(--stpb-muted); display: block; font-size: 14px; margin-top: 5px; }

.stpb-text-button { appearance: none; background: none; border: 0; color: var(--stpb-muted); cursor: pointer; font: inherit; margin: 0 0 24px; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.stpb-text-button:hover { color: var(--stpb-ink); }
.stpb-calendar-head { align-items: center; display: flex; justify-content: space-between; margin: 0 0 15px; }
.stpb-calendar-head h2 { font-size: 27px; margin: 0; text-transform: capitalize; }
.stpb-month-nav { appearance: none; background: transparent; border: 1px solid var(--stpb-line); color: var(--stpb-ink); cursor: pointer; font-size: 28px; height: 42px; line-height: 1; margin-left: 6px; width: 42px; }
.stpb-month-nav:hover { border-color: var(--stpb-accent); }
.stpb-weekdays, .stpb-calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.stpb-weekdays { border-bottom: 1px solid var(--stpb-line); color: var(--stpb-muted); font-size: 12px; padding-bottom: 9px; text-align: center; }
.stpb-calendar-grid { gap: 4px; padding-top: 8px; }
.stpb-day { appearance: none; background: transparent; border: 1px solid transparent; border-radius: 50%; color: #aaa39b; font: inherit; height: 46px; margin: auto; padding: 0; width: 46px; }
.stpb-day.is-available { background: #f5efe8; color: var(--stpb-ink); cursor: pointer; font-weight: 700; }
.stpb-day.is-available:hover, .stpb-day.is-available:focus-visible, .stpb-day.is-selected { background: var(--stpb-accent); color: #fff; }
.stpb-day:disabled { cursor: default; opacity: .55; }
.stpb-times { border-top: 1px solid var(--stpb-line); margin-top: 28px; padding-top: 24px; }
.stpb-times h3 { color: var(--stpb-ink); font-size: 18px; margin: 0 0 14px; }
.stpb-time-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.stpb-time { appearance: none; background: #fff; border: 1px solid var(--stpb-accent); border-radius: 2px; color: var(--stpb-ink); cursor: pointer; font: inherit; font-weight: 700; padding: 11px 18px; }
.stpb-time:hover, .stpb-time:focus-visible { background: var(--stpb-accent); color: #fff; }
.stpb-no-slots { background: #f5efe8; color: var(--stpb-muted); padding: 18px; }

.stpb-selection-title { font-size: clamp(23px, 4vw, 32px) !important; }
.stpb-field { margin-bottom: 18px; }
.stpb-field-row { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stpb-field label, .stpb-options legend { color: var(--stpb-ink); display: block; font-size: 14px; font-weight: 700; }
.stpb-field input, .stpb-field textarea {
  background: #fff;
  border: 1px solid var(--stpb-line);
  border-radius: 2px;
  color: var(--stpb-ink);
  display: block;
  font: inherit;
  margin-top: 7px;
  padding: 12px 13px;
  width: 100%;
}
.stpb-field input:focus, .stpb-field textarea:focus { border-color: var(--stpb-accent); box-shadow: 0 0 0 2px rgba(155, 107, 67, .18); outline: none; }
.stpb-optional { color: var(--stpb-muted); float: right; font-size: 12px; font-weight: 400; }
.stpb-options { border: 0; margin: 4px 0 20px; padding: 0; }
.stpb-options legend { margin-bottom: 8px; }
.stpb-options label { cursor: pointer; display: block; margin: 7px 0; }
.stpb-options label span { align-items: center; border: 1px solid var(--stpb-line); display: flex; justify-content: space-between; padding: 12px 14px; }
.stpb-options input { opacity: 0; position: absolute; }
.stpb-options input:checked + span { background: #f5efe8; border-color: var(--stpb-accent); }
.stpb-options input:focus-visible + span { outline: 2px solid var(--stpb-accent); outline-offset: 2px; }
.stpb-options small { color: var(--stpb-muted); }
.stpb-policy { border-left: 3px solid var(--stpb-accent); color: var(--stpb-muted); font-size: 13px; line-height: 1.55; margin: 22px 0; padding-left: 13px; }
.stpb-consent { color: var(--stpb-muted); display: block; font-size: 13px; margin-bottom: 18px; }
.stpb-consent input { margin-right: 7px; }
.stpb-submit { appearance: none; background: var(--stpb-accent); border: 1px solid var(--stpb-accent); border-radius: 2px; color: #fff; cursor: pointer; font: inherit; font-weight: 700; padding: 13px 21px; }
.stpb-submit:hover, .stpb-submit:focus-visible { filter: brightness(.9); }
.stpb-submit:disabled { cursor: wait; opacity: .65; }
.stpb-form-message { background: #f9e4e2; border-left: 3px solid #a52b23; color: #681d18; margin-bottom: 16px; padding: 12px; }
.stpb-honeypot { left: -9999px; position: absolute; }
.stpb-success { text-align: center; }
.stpb-success-mark { align-items: center; background: var(--stpb-accent); border-radius: 50%; color: #fff; display: inline-flex; font-size: 27px; height: 54px; justify-content: center; margin: 0 0 18px; width: 54px; }
.stpb-success h2 { margin-bottom: 10px; }

@media (max-width: 620px) {
  .stpb-teachers, .stpb-field-row { grid-template-columns: 1fr; }
  .stpb-panel { padding: 22px 17px; }
  .stpb-day { height: 38px; width: 38px; }
  .stpb-weekdays { font-size: 10px; }
}
