.bookedly-content-surface .bookedly-form {
  display: grid;
  gap: var(--bookedly-form-surface-padding);
  width: 100%;
  max-width: 52rem;
  margin-top: 1.25rem;
  margin-inline: auto;
  padding: var(--bookedly-form-surface-padding);
  border: 1px solid rgba(31, 27, 22, 0.1);
  border-radius: var(--bookedly-surface-radius);
  background: var(--color-bookedly-white);
}

/*
 * Inline outcome forms live inside an operational row. They reuse the row's
 * surface instead of nesting the canonical standalone form card inside it.
 */
.bookedly-content-surface .bookedly-form.bookedly-inline-booking-outcome-form {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

/* Canonical TutorBook focused-work grammar. Callers opt in explicitly. */
.bookedly-focused-work {
  width: min(100%, var(--bookedly-focused-work-measure));
  max-width: var(--bookedly-focused-work-measure);
  margin-inline: auto;
}

.bookedly-form.bookedly-form-surface,
.bookedly-form-body-surface {
  display: grid;
  gap: var(--bookedly-form-section-gap);
  width: min(100%, var(--bookedly-focused-work-measure));
  max-width: var(--bookedly-focused-work-measure);
  margin-inline: auto;
  padding: var(--bookedly-form-surface-padding);
  border: 1px solid var(--color-bookedly-line);
  border-radius: var(--bookedly-surface-radius);
  background: var(--color-bookedly-white);
  box-shadow: none;
}

/*
 * Canonical bridge for legacy route forms whose fields are direct Form API
 * children. The form remains a transparent page shell so the title band can
 * span the workspace; every visible body child then stitches into one white
 * focused-work surface. This is intentionally a shared migration primitive,
 * not a route-specific card treatment.
 */
.bookedly-form.bookedly-form-auto-body-surface {
  --bookedly-auto-form-padding: var(--bookedly-form-surface-padding);
  --bookedly-auto-form-body-width: var(--bookedly-focused-work-measure);
  gap: 0;
}

.bookedly-form.bookedly-form-auto-body-surface > :not(
  .bookedly-form-intro,
  .bookedly-app-highlighted,
  input[type="hidden"]
) {
  box-sizing: border-box;
  width: min(100%, var(--bookedly-auto-form-body-width));
  max-width: var(--bookedly-auto-form-body-width);
  margin: 0 auto;
  padding: var(--bookedly-form-field-gap) var(--bookedly-auto-form-padding) 0;
  border-right: 1px solid var(--color-bookedly-line);
  border-left: 1px solid var(--color-bookedly-line);
  background: var(--color-bookedly-white);
}

.bookedly-form.bookedly-form-auto-body-surface > .bookedly-form-intro + :not(
  .bookedly-app-highlighted,
  input[type="hidden"]
),
.bookedly-form.bookedly-form-auto-body-surface > .bookedly-form-intro + .bookedly-app-highlighted + :not(input[type="hidden"]) {
  margin-top: var(--bookedly-app-subheader-content-gap, 2rem);
  padding-top: var(--bookedly-auto-form-padding);
  border-top: 1px solid var(--color-bookedly-line);
  border-radius: var(--bookedly-surface-radius) var(--bookedly-surface-radius) 0 0;
}

.bookedly-form.bookedly-form-auto-body-surface > .form-actions {
  padding-top: var(--bookedly-form-action-gap);
  padding-bottom: var(--bookedly-auto-form-padding);
  border-bottom: 1px solid var(--color-bookedly-line);
  border-radius: 0 0 var(--bookedly-surface-radius) var(--bookedly-surface-radius);
}

/*
 * Close the stitched surface on its final visible body section. Drupal appends
 * hidden form-state inputs after rendered sections, and some workflows nest
 * their action row inside that section, so neither :last-child nor a direct
 * .form-actions selector can own the lower edge reliably.
 */
.bookedly-form.bookedly-form-auto-body-surface > :not(
  .bookedly-form-intro,
  .bookedly-app-highlighted,
  input[type="hidden"]
):not(:has(~ :not(
  .bookedly-form-intro,
  .bookedly-app-highlighted,
  input[type="hidden"]
))) {
  padding-bottom: var(--bookedly-auto-form-padding);
  border-bottom: 1px solid var(--color-bookedly-line);
  border-radius: 0 0 var(--bookedly-surface-radius) var(--bookedly-surface-radius);
}

.bookedly-form.bookedly-form-auto-body-surface :is(
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="url"],
  input[type="date"],
  input[type="time"],
  input[type="password"],
  select,
  textarea
) {
  width: 100%;
  max-width: none;
  min-height: 2.75rem;
  border-color: var(--color-bookedly-line);
  border-radius: var(--bookedly-surface-radius);
}

.bookedly-form.bookedly-form-auto-body-surface :is(
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="url"],
  input[type="date"],
  input[type="time"],
  input[type="password"],
  select,
  textarea
):focus-visible {
  border-color: var(--color-bookedly-forest);
  outline: 2px solid rgb(var(--bookedly-brand-primary-rgb) / 0.32);
  outline-offset: 1px;
}

.bookedly-form.bookedly-form-auto-body-surface > .form-actions :is(
  input[type="submit"],
  button,
  a.button,
  .bookedly-button
) {
  min-height: 2.75rem;
}

.bookedly-form-surface .bookedly-form-section,
.bookedly-form-surface .bookedly-form-stack,
.bookedly-form-auto-body-surface .bookedly-form-stack {
  display: grid;
  min-width: 0;
  margin: 0;
}

.bookedly-form-surface .bookedly-form-section {
  gap: var(--bookedly-form-field-gap);
  padding: 0;
  border: 0;
  background: transparent;
}

.bookedly-form-surface .bookedly-form-section + .bookedly-form-section {
  padding-top: var(--bookedly-form-section-gap);
  border-top: 1px solid var(--color-bookedly-line);
}

/* Shared hierarchy for settings and other multi-section focused forms. */
.bookedly-form-surface .bookedly-form-section__header,
.bookedly-form-auto-body-surface .bookedly-form-section__header {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.bookedly-form-surface .bookedly-form-section__header > *,
.bookedly-form-auto-body-surface .bookedly-form-section__header > * {
  min-width: 0;
  margin: 0;
}

.bookedly-form-surface .bookedly-form-section__header h2,
.bookedly-form-auto-body-surface .bookedly-form-section__header h2 {
  color: var(--color-bookedly-ink);
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  line-height: 1.35;
}

.bookedly-form-surface .bookedly-form-section__header p,
.bookedly-form-auto-body-surface .bookedly-form-section__header p {
  color: var(--color-bookedly-muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.bookedly-form-surface .bookedly-form-fields-grid,
.bookedly-form-auto-body-surface .bookedly-form-fields-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--bookedly-form-field-gap);
  min-width: 0;
}

.bookedly-form-surface .bookedly-form-fields-grid > *,
.bookedly-form-auto-body-surface .bookedly-form-fields-grid > * {
  min-width: 0;
}

.bookedly-form-surface .bookedly-form-stack,
.bookedly-form-auto-body-surface .bookedly-form-stack {
  gap: var(--bookedly-form-field-gap);
}

.bookedly-form-surface .bookedly-form-stack > .bookedly-description,
.bookedly-form-auto-body-surface .bookedly-form-stack > .bookedly-description {
  margin: 0;
}

/* Shared paired date/time fields for focused scheduling forms. */
.bookedly-form-surface .bookedly-date-time-pair,
.bookedly-form-auto-body-surface .bookedly-date-time-pair {
  display: grid;
  gap: var(--bookedly-form-field-gap);
  min-width: 0;
}

.bookedly-form-surface .bookedly-form-item,
.bookedly-form-auto-body-surface .bookedly-form-item {
  gap: var(--bookedly-form-helper-gap);
}

.bookedly-form-surface :is(
  .bookedly-label,
  label,
  fieldset.form-composite > legend,
  fieldset.fieldgroup > legend
) {
  margin-bottom: var(--bookedly-form-label-gap);
}

.bookedly-form-surface :is(
  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="url"],
  input[type="date"],
  input[type="password"],
  select,
  textarea
) {
  min-height: 2.75rem;
  border-color: var(--color-bookedly-line);
  border-radius: var(--bookedly-surface-radius);
}

.bookedly-form-surface :is(
  button,
  input[type="button"],
  input[type="submit"],
  a.button
) {
  min-height: 2.75rem;
}

.bookedly-form-surface :is(
  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="url"],
  input[type="date"],
  input[type="password"],
  select,
  textarea
):focus-visible {
  border-color: var(--color-bookedly-forest);
  outline: 2px solid rgb(var(--bookedly-brand-primary-rgb) / 0.32);
  outline-offset: 1px;
}

.bookedly-form-surface :is(.bookedly-choice-group, fieldset.form-composite) > .fieldset-wrapper,
.bookedly-form-surface :is(.bookedly-choice-group, fieldset.form-composite) .form-radios,
.bookedly-form-surface :is(.bookedly-choice-group, fieldset.form-composite) .form-checkboxes,
.bookedly-form-auto-body-surface :is(.bookedly-choice-group, fieldset.form-composite) > .fieldset-wrapper,
.bookedly-form-auto-body-surface :is(.bookedly-choice-group, fieldset.form-composite) .form-radios,
.bookedly-form-auto-body-surface :is(.bookedly-choice-group, fieldset.form-composite) .form-checkboxes {
  display: grid;
  gap: var(--bookedly-form-option-gap);
  margin-top: 0;
}

.bookedly-form-surface :is(.bookedly-choice-group, fieldset.form-composite) :is(.form-type-radio, .form-type-checkbox),
.bookedly-form-auto-body-surface :is(.bookedly-choice-group, fieldset.form-composite) :is(.form-type-radio, .form-type-checkbox) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 2.75rem;
  margin: 0;
  padding: 0 0.875rem;
  border: 1px solid var(--color-bookedly-line);
  border-radius: var(--bookedly-surface-radius);
  background: var(--color-bookedly-paper);
  box-shadow: none;
}

.bookedly-form-surface .bookedly-choice-option:is(.form-type-radio, .form-type-checkbox) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--color-bookedly-line);
  border-radius: var(--bookedly-surface-radius);
  background: var(--color-bookedly-paper);
  box-shadow: none;
}

.bookedly-form-surface .bookedly-choice-option:is(.form-type-radio, .form-type-checkbox):is(:hover, :focus-within) {
  border-color: var(--color-bookedly-forest);
  background: var(--color-bookedly-mist);
}

.bookedly-form-surface .bookedly-choice-option:is(.form-type-radio, .form-type-checkbox):has(input:checked) {
  border-color: var(--color-bookedly-forest);
  background: var(--color-bookedly-mist);
}

.bookedly-form-surface .bookedly-choice-option:is(.form-type-radio, .form-type-checkbox) > input {
  grid-column: 1;
  grid-row: 1;
  margin-top: 0.2rem;
}

.bookedly-form-surface .bookedly-choice-option:is(.form-type-radio, .form-type-checkbox) > :is(label, .bookedly-label) {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  margin: 0;
  cursor: pointer;
}

.bookedly-form-surface .bookedly-choice-option:is(.form-type-radio, .form-type-checkbox) > .bookedly-description {
  grid-column: 2;
  margin-top: var(--bookedly-form-helper-gap);
}

.bookedly-form-surface :is(.bookedly-choice-group, fieldset.form-composite) :is(.form-type-radio, .form-type-checkbox):is(:hover, :focus-within),
.bookedly-form-auto-body-surface :is(.bookedly-choice-group, fieldset.form-composite) :is(.form-type-radio, .form-type-checkbox):is(:hover, :focus-within) {
  border-color: var(--color-bookedly-forest);
  background: var(--color-bookedly-mist);
}

.bookedly-form-surface :is(.bookedly-choice-group, fieldset.form-composite) :is(.form-type-radio, .form-type-checkbox):has(input:checked),
.bookedly-form-auto-body-surface :is(.bookedly-choice-group, fieldset.form-composite) :is(.form-type-radio, .form-type-checkbox):has(input:checked) {
  border-color: var(--color-bookedly-forest);
  background: var(--color-bookedly-mist);
}

.bookedly-form-surface :is(.bookedly-choice-group, fieldset.form-composite) :is(.form-type-radio, .form-type-checkbox) :is(label, .bookedly-label),
.bookedly-form-auto-body-surface :is(.bookedly-choice-group, fieldset.form-composite) :is(.form-type-radio, .form-type-checkbox) :is(label, .bookedly-label) {
  grid-column: 2;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 2.75rem;
  min-width: 0;
  margin: 0;
  line-height: 1.35;
  cursor: pointer;
}

.bookedly-form-surface :is(.bookedly-disclosure, details.form-wrapper) {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--color-bookedly-line);
  border-radius: 0;
  background: transparent;
}

.bookedly-form-surface :is(.bookedly-disclosure, details.form-wrapper) > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
  padding: 0.75rem 0;
  border-radius: var(--bookedly-surface-radius);
  color: var(--color-bookedly-ink);
  font-weight: var(--font-weight-semibold);
  list-style: none;
  cursor: pointer;
}

/* Every disclosure remains a full touch target while legacy forms migrate. */
.bookedly-channel-tutorbook-gr .bookedly-content-surface .bookedly-form details > summary {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
}

.bookedly-form-surface :is(.bookedly-disclosure, details.form-wrapper) > summary::-webkit-details-marker {
  display: none;
}

.bookedly-form-surface :is(.bookedly-disclosure, details.form-wrapper) > summary::after {
  content: "";
  width: var(--bookedly-chevron-size);
  min-width: var(--bookedly-chevron-size);
  height: var(--bookedly-chevron-size);
  background: currentColor;
  color: var(--color-bookedly-muted);
  -webkit-mask: var(--bookedly-chevron-mask) center / contain no-repeat;
  mask: var(--bookedly-chevron-mask) center / contain no-repeat;
  transform: rotate(0deg);
  transition: var(--bookedly-chevron-transition);
}

.bookedly-form-surface :is(.bookedly-disclosure, details.form-wrapper)[open] > summary::after {
  transform: rotate(180deg);
}

.bookedly-form-surface :is(.bookedly-disclosure, details.form-wrapper) > summary:focus-visible {
  outline: 2px solid rgb(var(--bookedly-brand-primary-rgb) / 0.32);
  outline-offset: 1px;
}

.bookedly-form-surface :is(.bookedly-disclosure, details.form-wrapper) > .details-wrapper {
  display: grid;
  gap: var(--bookedly-form-field-gap);
  padding: 0 0 var(--bookedly-form-section-gap);
}

.bookedly-form-surface > .form-actions,
.bookedly-form-surface .bookedly-form-actions {
  gap: 0.75rem;
  margin: 0;
  padding-top: var(--bookedly-form-action-gap);
  border-top: 1px solid var(--color-bookedly-line);
}

/* Canonical display for long, copyable links inside focused forms. */
.bookedly-form-surface .bookedly-share-url {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (min-width: 40rem) {
  .bookedly-form.bookedly-form-surface,
  .bookedly-form-body-surface,
  .bookedly-form.bookedly-form-auto-body-surface {
    --bookedly-form-surface-padding: 1.5rem;
    --bookedly-auto-form-padding: 1.5rem;
  }

  .bookedly-form-surface .bookedly-date-time-pair,
  .bookedly-form-auto-body-surface .bookedly-date-time-pair {
    grid-template-columns: minmax(0, 1fr) minmax(11rem, 0.68fr);
    align-items: start;
  }

  .bookedly-form-surface .bookedly-form-fields-grid,
  .bookedly-form-auto-body-surface .bookedly-form-fields-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

/* Shared context and decision grammar for group-course child routes. */
.bookedly-form-intro__context,
.bookedly-group-course-intro__context {
  margin: 0;
  color: var(--color-bookedly-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.5;
}

.bookedly-group-course-decision-form .bookedly-group-course-decision__consequence {
  margin: 0;
  color: var(--color-bookedly-ink);
  line-height: 1.65;
}

.bookedly-group-course-decision-form .bookedly-group-course-decision__consequence p {
  margin: 0;
}

/* A quiet action remains quiet even inside Drupal's generic form actions. */
.bookedly-content-surface .bookedly-form .form-actions :is(a, button, input).bookedly-button--secondary {
  border-color: var(--color-bookedly-line);
  background: var(--color-bookedly-white);
  color: var(--color-bookedly-ink);
}

.bookedly-content-surface .bookedly-form .form-actions :is(a, button, input).bookedly-button--secondary:is(:hover, :focus-visible, :active) {
  border-color: var(--color-bookedly-forest);
  background: var(--color-bookedly-mist);
  color: var(--color-bookedly-brand-dark);
  -webkit-text-fill-color: currentColor;
}

.bookedly-content-surface .bookedly-form .form-actions :is(button, input[type="submit"]):disabled:not([data-bookedly-loading="true"]) {
  border-color: var(--color-bookedly-line);
  background: var(--color-bookedly-mist);
  color: var(--color-bookedly-muted);
  opacity: 1;
  cursor: not-allowed;
  -webkit-text-fill-color: currentColor;
}

.bookedly-content-surface .bookedly-form .form-actions :is(button, input[type="submit"])[data-bookedly-loading="true"] {
  border-color: var(--color-bookedly-brand-dark);
  background: var(--color-bookedly-brand-dark);
  color: var(--color-bookedly-paper);
  opacity: 1;
  cursor: progress;
  -webkit-text-fill-color: currentColor;
}

@media (min-width: 64rem) {
  .bookedly-form.bookedly-form-surface,
  .bookedly-form-body-surface,
  .bookedly-form.bookedly-form-auto-body-surface {
    --bookedly-form-surface-padding: 1.75rem;
    --bookedly-auto-form-padding: 1.75rem;
  }
}

@media (max-width: 39.999rem) {
  .bookedly-content-surface .bookedly-form.bookedly-inline-booking-outcome-form {
    width: 100%;
  }

  .bookedly-form-surface > .form-actions :is(input[type="submit"], button, a.button, .bookedly-button),
  .bookedly-form-surface .bookedly-form-actions :is(input[type="submit"], button, a.button, .bookedly-button) {
    width: 100%;
  }

  .bookedly-form.bookedly-form-auto-body-surface .form-actions :is(input[type="submit"], button, a.button, .bookedly-button) {
    width: 100%;
  }
}

.bookedly-password-toggle {
  min-height: 44px;
  margin-top: 0.45rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--color-bookedly-line);
  border-radius: 8px;
  background: var(--color-bookedly-paper);
  color: var(--color-bookedly-ink);
  font: inherit;
  cursor: pointer;
}

.bookedly-password-toggle:hover {
  border-color: var(--color-bookedly-forest);
}

.bookedly-password-toggle:focus-visible {
  border-color: var(--color-bookedly-forest);
  outline: 2px solid rgb(var(--bookedly-brand-primary-rgb) / 0.32);
  outline-offset: 1px;
}

.bookedly-page-layout.is-app-context .bookedly-content-surface .bookedly-form.bookedly-first-password-form > .bookedly-first-password-card {
  display: grid;
  gap: 1.5rem;
  width: min(100%, 46rem);
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  margin-inline: auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(59, 31, 13, 0.12);
  border-radius: 8px;
  background: var(--color-bookedly-white);
}

.bookedly-first-password-card .bookedly-first-password-fields {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.bookedly-first-password-card .bookedly-first-password-fields > .fieldset-wrapper {
  display: grid;
  gap: 1.25rem;
  margin: 0;
}

.bookedly-first-password-card .bookedly-first-password-fields :is(.password-parent, .confirm-parent) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: end;
  min-width: 0;
}

.bookedly-first-password-card .bookedly-first-password-fields :is(.password-parent, .confirm-parent) > label,
.bookedly-first-password-card .bookedly-first-password-fields :is(.password-strength, .password-confirm-message) {
  grid-column: 1 / -1;
}

.bookedly-first-password-card .bookedly-first-password-fields .bookedly-password-toggle {
  min-width: 8.75rem;
  margin-top: 0;
  white-space: nowrap;
}

.bookedly-first-password-card .bookedly-first-password-fields .password-strength {
  display: grid;
  gap: 0.45rem;
  margin: 0.1rem 0 0;
}

.bookedly-first-password-card .bookedly-first-password-fields :is(.password-strength__title, .password-confirm-message) {
  color: rgba(59, 31, 13, 0.62);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.bookedly-first-password-card .bookedly-first-password-fields .password-strength__meter {
  height: 0.5rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(59, 31, 13, 0.14);
}

.bookedly-first-password-card > .form-actions {
  margin: 0;
  padding-top: 0.25rem;
}

@media (max-width: 40rem) {
  .bookedly-page-layout.is-app-context .bookedly-content-surface .bookedly-form.bookedly-first-password-form > .bookedly-first-password-card {
    margin-top: 1.5rem;
  }

  .bookedly-first-password-card > .form-actions :is(input[type="submit"], button, a.button) {
    width: 100%;
  }

  .bookedly-first-password-card .bookedly-first-password-fields :is(.password-parent, .confirm-parent) {
    grid-template-columns: minmax(0, 1fr);
  }

  .bookedly-first-password-card .bookedly-first-password-fields :is(.password-parent, .confirm-parent) > *,
  .bookedly-first-password-card .bookedly-first-password-fields .bookedly-password-toggle {
    grid-column: 1;
    width: 100%;
  }
}

@media (min-width: 40rem) {
  .bookedly-content-surface .bookedly-form {
    --bookedly-form-surface-padding: 1.5rem;
  }
}

@media (min-width: 64rem) {
  .bookedly-content-surface .bookedly-form {
    --bookedly-form-surface-padding: 1.75rem;
  }
}

.bookedly-content-surface .bookedly-form .bookedly-form-navigation {
  display: flex;
  align-items: center;
}

.bookedly-content-surface .bookedly-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  color: var(--color-bookedly-forest);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
}

.bookedly-content-surface .bookedly-back-link::before {
  content: "<";
  font-size: 1rem;
  line-height: 1;
}

.bookedly-content-surface .bookedly-form-intro {
  display: grid;
  gap: 0.5rem;
  padding: 1rem;
  border: 1px solid rgba(31, 27, 22, 0.1);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-paper);
}

@media (min-width: 40rem) {
  .bookedly-content-surface .bookedly-form-intro {
    padding: 1.25rem;
  }
}

.bookedly-content-surface .bookedly-form-intro h1,
.bookedly-content-surface .bookedly-form-intro h1,
.bookedly-content-surface .bookedly-form-intro h2 {
  color: var(--color-bookedly-ink);
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-tight);
}

.bookedly-content-surface .bookedly-form-intro p {
  max-width: 42rem;
  color: rgba(31, 27, 22, 0.68);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.bookedly-content-surface .bookedly-form .bookedly-form-intro--surface-header {
  margin: calc(var(--bookedly-form-surface-padding) * -1) calc(var(--bookedly-form-surface-padding) * -1) 0;
  padding: var(--bookedly-form-surface-padding);
  border-width: 0 0 1px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.bookedly-content-surface .bookedly-offer-form > .bookedly-form-intro {
  margin: 0;
  padding: 0 0 0.25rem;
  border: 0;
  background: transparent;
}

.bookedly-content-surface .bookedly-offer-form > *,
.bookedly-content-surface .bookedly-offer-form .bookedly-offer-section,
.bookedly-content-surface .bookedly-offer-form .bookedly-offer-section__body,
.bookedly-content-surface .bookedly-offer-form fieldset,
.bookedly-content-surface .bookedly-offer-form .fieldset-wrapper,
.bookedly-content-surface .bookedly-offer-form .form-radios,
.bookedly-content-surface .bookedly-offer-form .form-checkboxes,
.bookedly-content-surface .bookedly-offer-form [data-bookedly-payment-timing],
.bookedly-content-surface .bookedly-offer-form [data-bookedly-payment-methods],
.bookedly-content-surface .bookedly-offer-form [data-bookedly-session-count],
.bookedly-content-surface .bookedly-offer-form [data-bookedly-private-delivery],
.bookedly-content-surface .bookedly-offer-form [data-bookedly-private-location] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.bookedly-content-surface .bookedly-offer-section {
  display: grid;
  gap: var(--bookedly-form-field-gap);
  padding: 0 0 var(--bookedly-form-section-gap);
  border: 0;
  border-bottom: 1px solid var(--color-bookedly-line);
  border-radius: 0;
  background: transparent;
}

.bookedly-content-surface .bookedly-offer-section + .bookedly-offer-section {
  padding-top: var(--bookedly-form-section-gap);
}

.bookedly-content-surface .bookedly-offer-section__header {
  display: grid;
  gap: 0.25rem;
}

.bookedly-content-surface .bookedly-offer-section__header h2 {
  color: var(--color-bookedly-ink);
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  line-height: 1.3;
}

.bookedly-content-surface .bookedly-offer-section__body {
  display: grid;
  gap: 1.05rem;
}

.bookedly-content-surface .bookedly-offer-helper-note {
  margin: 0;
  color: rgba(31, 27, 22, 0.58);
  font-size: 0.85rem;
  line-height: 1.55;
}

.bookedly-content-surface .bookedly-offer-form fieldset.form-composite,
.bookedly-content-surface .bookedly-offer-form fieldset.fieldgroup {
  margin-inline: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

.bookedly-content-surface .bookedly-offer-form fieldset.form-composite > legend,
.bookedly-content-surface .bookedly-offer-form fieldset.fieldgroup > legend {
  padding-inline: 0;
}

.bookedly-content-surface .bookedly-offer-form fieldset.form-composite > .fieldset-wrapper,
.bookedly-content-surface .bookedly-offer-form fieldset.fieldgroup > .fieldset-wrapper {
  padding-inline: 0;
}

.bookedly-content-surface .bookedly-offer-form .form-radios,
.bookedly-content-surface .bookedly-offer-form .form-checkboxes {
  display: grid;
  gap: 0.6rem;
}

.bookedly-content-surface .bookedly-offer-form .form-type-radio,
.bookedly-content-surface .bookedly-offer-form .form-type-checkbox {
  width: 100%;
  min-height: 3.1rem;
  align-items: center;
  padding: 0.72rem 0.85rem;
  border-color: rgba(31, 27, 22, 0.1);
  background: var(--color-bookedly-paper);
  margin: 0;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.bookedly-content-surface .bookedly-offer-form .form-type-radio input[type="radio"],
.bookedly-content-surface .bookedly-offer-form .form-type-checkbox input[type="checkbox"] {
  margin-top: 0;
}

.bookedly-content-surface .bookedly-offer-form .form-type-radio > .bookedly-label,
.bookedly-content-surface .bookedly-offer-form .form-type-radio > label.option,
.bookedly-content-surface .bookedly-offer-form .form-type-checkbox > .bookedly-label,
.bookedly-content-surface .bookedly-offer-form .form-type-checkbox > label.option {
  align-self: center;
  font-weight: var(--font-weight-semibold);
}

.bookedly-content-surface .bookedly-offer-form .bookedly-description,
.bookedly-content-surface .bookedly-offer-form .description,
.bookedly-content-surface .bookedly-offer-form .form-item__description {
  margin-top: 0.2rem;
  color: rgba(31, 27, 22, 0.52);
  font-size: 0.85rem;
  line-height: 1.55;
}

.bookedly-content-surface .bookedly-offer-form .form-type-radio:is(:hover, :focus-within),
.bookedly-content-surface .bookedly-offer-form .form-type-checkbox:is(:hover, :focus-within) {
  border-color: rgba(31, 27, 22, 0.2);
  background: var(--color-bookedly-white);
}

.bookedly-content-surface .bookedly-offer-form .form-type-radio:has(input[type="radio"]:checked),
.bookedly-content-surface .bookedly-offer-form .form-type-checkbox:has(input[type="checkbox"]:checked) {
  border-color: rgb(var(--bookedly-brand-primary-rgb) / 0.38);
  background: rgb(var(--bookedly-brand-primary-rgb) / 0.08);
}

.bookedly-content-surface .bookedly-offer-form .bookedly-offer-choice .form-radios {
  gap: 0.5rem;
}

.bookedly-content-surface .bookedly-offer-form .bookedly-offer-choice .form-type-radio {
  min-height: 3rem;
  padding: 0.7rem 0.8rem;
}

.bookedly-content-surface .bookedly-offer-form .bookedly-offer-duration-presets .form-radios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.25rem, 1fr));
  gap: 0.65rem;
}

.bookedly-content-surface .bookedly-offer-form .bookedly-offer-duration-presets .form-type-radio {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.bookedly-content-surface .bookedly-offer-form .bookedly-offer-duration-presets .form-type-radio input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.bookedly-content-surface .bookedly-offer-form .bookedly-offer-duration-presets .form-type-radio > .bookedly-label,
.bookedly-content-surface .bookedly-offer-form .bookedly-offer-duration-presets .form-type-radio > label.option {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.68rem 0.85rem;
  border: 1px solid rgba(31, 27, 22, 0.12);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-white);
  color: rgba(31, 27, 22, 0.76);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1.25;
  cursor: pointer;
  text-align: center;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.bookedly-content-surface .bookedly-offer-form .bookedly-offer-duration-presets .form-type-radio:is(:hover, :focus-within) > .bookedly-label,
.bookedly-content-surface .bookedly-offer-form .bookedly-offer-duration-presets .form-type-radio:is(:hover, :focus-within) > label.option {
  border-color: rgba(31, 27, 22, 0.24);
}

.bookedly-content-surface .bookedly-offer-form .bookedly-offer-duration-presets .form-type-radio:has(input[type="radio"]:checked) > .bookedly-label,
.bookedly-content-surface .bookedly-offer-form .bookedly-offer-duration-presets .form-type-radio:has(input[type="radio"]:checked) > label.option {
  border-color: rgb(var(--bookedly-brand-primary-rgb) / 0.52);
  background: rgb(var(--bookedly-brand-primary-rgb) / 0.1);
  color: var(--color-bookedly-forest);
}

.bookedly-content-surface .bookedly-offer-form .bookedly-offer-duration-presets .form-type-radio input[type="radio"]:focus-visible + .bookedly-label,
.bookedly-content-surface .bookedly-offer-form .bookedly-offer-duration-presets .form-type-radio input[type="radio"]:focus-visible + label.option {
  outline: 2px solid rgb(var(--bookedly-brand-primary-rgb) / 0.45);
  outline-offset: 2px;
}

.bookedly-content-surface .bookedly-form .bookedly-money-field,
.bookedly-content-surface .bookedly-offer-form .form-item-price {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.45rem 0.55rem;
  align-items: center;
}

.bookedly-content-surface .bookedly-form .bookedly-money-field > label,
.bookedly-content-surface .bookedly-form .bookedly-money-field > .bookedly-description,
.bookedly-content-surface .bookedly-form .bookedly-money-field > .bookedly-field-error,
.bookedly-content-surface .bookedly-offer-form .form-item-price > label,
.bookedly-content-surface .bookedly-offer-form .form-item-price > .bookedly-description,
.bookedly-content-surface .bookedly-offer-form .form-item-price > .bookedly-field-error {
  grid-column: 1 / -1;
}

.bookedly-content-surface .bookedly-form .bookedly-money-field > .field-prefix,
.bookedly-content-surface .bookedly-offer-form .form-item-price > .field-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid rgba(31, 27, 22, 0.12);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-paper);
  color: rgba(31, 27, 22, 0.72);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
}

.bookedly-content-surface .bookedly-form .bookedly-money-field > input {
  min-width: 0;
}

.bookedly-content-surface .bookedly-form .bookedly-money-field:focus-within > .field-prefix,
.bookedly-content-surface .bookedly-offer-form .form-item-price:focus-within > .field-prefix {
  border-color: rgb(var(--bookedly-brand-primary-rgb) / 0.6);
}

.bookedly-content-surface .bookedly-offer-payment-panel {
  display: grid;
  gap: 1rem;
}

.bookedly-content-surface .bookedly-offer-section--status {
  align-items: center;
}

.bookedly-content-surface .bookedly-offer-section--status .bookedly-offer-section__body {
  gap: 0.75rem;
}

.bookedly-content-surface .bookedly-offer-form__actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  padding: 0.85rem 0 0;
  border-top: 1px solid rgba(31, 27, 22, 0.08);
  background: var(--color-bookedly-paper);
}

.bookedly-content-surface .bookedly-manual-booking-form fieldset.form-composite,
.bookedly-content-surface .bookedly-manual-booking-form fieldset.fieldgroup {
  min-width: 0;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.bookedly-content-surface .bookedly-manual-booking-form fieldset.form-composite > legend,
.bookedly-content-surface .bookedly-manual-booking-form fieldset.fieldgroup > legend {
  display: block;
  width: 100%;
  margin: 0 0 0.45rem;
  padding: 0;
  color: var(--color-bookedly-ink);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1.35;
}

.bookedly-content-surface .bookedly-manual-booking-form fieldset.form-composite > .fieldset-wrapper,
.bookedly-content-surface .bookedly-manual-booking-form fieldset.fieldgroup > .fieldset-wrapper {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  padding: 0;
}

.bookedly-content-surface .bookedly-manual-booking-form .form-radios,
.bookedly-content-surface .bookedly-manual-booking-form .form-checkboxes {
  display: grid;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
}

.bookedly-content-surface .bookedly-manual-booking-form .form-type-radio {
  width: 100%;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.2rem 0.65rem;
  margin: 0;
  padding: 0.65rem 0.8rem;
}

.bookedly-content-surface .bookedly-manual-booking-form .form-type-radio input[type="radio"] {
  margin: 0;
}

.bookedly-content-surface .bookedly-manual-booking-form .form-type-radio > .bookedly-label {
  align-self: center;
  line-height: 1.35;
}

.bookedly-content-surface .bookedly-manual-booking-form fieldset.form-composite .bookedly-description,
.bookedly-content-surface .bookedly-manual-booking-form fieldset.form-composite .description,
.bookedly-content-surface .bookedly-manual-booking-form fieldset.form-composite .form-item__description,
.bookedly-content-surface .bookedly-manual-booking-form fieldset.fieldgroup .bookedly-description,
.bookedly-content-surface .bookedly-manual-booking-form fieldset.fieldgroup .description,
.bookedly-content-surface .bookedly-manual-booking-form fieldset.fieldgroup .form-item__description {
  margin: 0;
  color: rgba(31, 27, 22, 0.62);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.bookedly-content-surface .bookedly-offer-image-preview {
  display: block;
  overflow: hidden;
  width: min(100%, 18rem);
  aspect-ratio: 16 / 9;
  border: 1px solid var(--color-bookedly-line);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-paper);
}

.bookedly-content-surface .bookedly-offer-form .field-suffix:has(.bookedly-offer-image-preview) {
  display: block;
  margin-top: 0.75rem;
}

.bookedly-content-surface .bookedly-offer-image-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bookedly-content-surface .bookedly-form .bookedly-form-item {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  max-width: 100%;
  min-width: 0;
}

.bookedly-content-surface .bookedly-form > *,
.bookedly-content-surface .bookedly-form .form-wrapper,
.bookedly-content-surface .bookedly-form .bookedly-dashboard-actions {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

.bookedly-content-surface .bookedly-form .visually-hidden input,
.bookedly-content-surface .bookedly-form input.visually-hidden,
.bookedly-content-surface .bookedly-form .form-actions input[type="submit"].visually-hidden,
.bookedly-content-surface .bookedly-form input.bookedly-honeypot {
  position: absolute;
  height: 1px;
  min-height: 1px;
  margin: -1px;
  max-width: 1px;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  width: 1px;
}

.bookedly-content-surface .bookedly-form .bookedly-form-item.visually-hidden {
  height: 1px;
  margin: -1px;
  max-width: 1px;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.bookedly-content-surface .bookedly-form .bookedly-learner-setup-password {
  display: grid;
  gap: 1rem;
}

.bookedly-content-surface .bookedly-form .bookedly-learner-setup-password h3 + *,
.bookedly-content-surface .bookedly-form .bookedly-learner-setup-password p {
  margin: 0;
}

.bookedly-content-surface .bookedly-form label {
  color: var(--color-bookedly-ink);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
}

.bookedly-content-surface .bookedly-form fieldset.form-composite > legend,
.bookedly-content-surface .bookedly-form fieldset.fieldgroup > legend {
  margin: 0;
}

.bookedly-content-surface .bookedly-form fieldset.form-composite > .fieldset-wrapper,
.bookedly-content-surface .bookedly-form fieldset.fieldgroup > .fieldset-wrapper {
  margin-top: 0.45rem;
}

.bookedly-content-surface .bookedly-form input[type="text"],
.bookedly-content-surface .bookedly-form input[type="email"],
.bookedly-content-surface .bookedly-form input[type="number"],
.bookedly-content-surface .bookedly-form input[type="url"],
.bookedly-content-surface .bookedly-form input[type="date"],
.bookedly-content-surface .bookedly-form input[type="password"],
.bookedly-content-surface .bookedly-form select,
.bookedly-content-surface .bookedly-form textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(31, 27, 22, 0.16);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-white);
  color: var(--color-bookedly-ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.45;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.bookedly-content-surface .bookedly-form textarea {
  min-height: 8.5rem;
}

.bookedly-content-surface .bookedly-form .text-format-wrapper,
.bookedly-content-surface .bookedly-form .form-textarea-wrapper,
.bookedly-content-surface .bookedly-form .form-type-textarea > div,
.bookedly-content-surface .bookedly-form .ck-editor,
.bookedly-content-surface .bookedly-form .ck-editor__top,
.bookedly-content-surface .bookedly-form .ck-editor__main,
.bookedly-content-surface .bookedly-form .ck-toolbar,
.bookedly-content-surface .bookedly-form .ck-toolbar__items {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.bookedly-content-surface .bookedly-form .ck-toolbar__items {
  flex-wrap: wrap;
}

.bookedly-content-surface .bookedly-form .ck.ck-toolbar .ck-toolbar__items {
  flex-wrap: wrap !important;
  overflow-x: auto;
}

.bookedly-content-surface .bookedly-form .ck.ck-toolbar {
  overflow-x: auto;
}

.bookedly-content-surface .ck.ck-editor .ck-button {
  flex: 0 0 auto;
  min-width: 2.75rem;
  min-height: 2.75rem;
}

.bookedly-content-surface .ck.ck-editor .ck-button:focus,
.bookedly-content-surface .ck.ck-editor .ck-button:focus-visible {
  outline: 2px solid rgb(var(--bookedly-brand-primary-rgb) / 0.72);
  outline-offset: 1px;
}

.bookedly-content-surface .bookedly-form .ck.ck-editor__editable_inline,
.bookedly-content-surface .bookedly-form .ck-content {
  color: var(--color-bookedly-ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.45;
}

.bookedly-content-surface .bookedly-form input:not(:is([type="submit"], [type="button"], [type="reset"])):focus,
.bookedly-content-surface .bookedly-form select:focus,
.bookedly-content-surface .bookedly-form textarea:focus {
  border-color: var(--color-bookedly-forest);
  box-shadow: none;
  outline: none;
}

.bookedly-content-surface .bookedly-description {
  color: rgba(31, 27, 22, 0.62);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.bookedly-content-surface .bookedly-description a {
  color: var(--color-bookedly-forest);
  font-weight: var(--font-weight-semibold);
  text-decoration: underline;
  text-decoration-color: rgb(var(--bookedly-brand-primary-rgb) / 0.32);
  text-underline-offset: 0.2em;
}

.bookedly-content-surface .bookedly-description a:hover {
  text-decoration-color: var(--color-bookedly-forest);
}

.bookedly-content-surface .bookedly-form-related-grid {
  display: grid;
  gap: 1rem;
}

.bookedly-content-surface .bookedly-form .form-type-checkbox {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.2rem 0.65rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(31, 27, 22, 0.1);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-paper);
}

.bookedly-content-surface .bookedly-form .form-type-checkbox input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--color-bookedly-forest);
}

.bookedly-content-surface .bookedly-form .form-type-checkbox label,
.bookedly-content-surface .bookedly-form .form-type-checkbox .bookedly-description {
  grid-column: 2;
}

/*
 * A single secondary preference is not a decision group or nested card.
 * Keep the checkmark and focus state expressive inside the parent surface,
 * without adding another border or fill around the whole line.
 */
.bookedly-content-surface .bookedly-form-surface .bookedly-standalone-choice.form-type-checkbox {
  min-height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.bookedly-content-surface .bookedly-form-surface .bookedly-standalone-choice.form-type-checkbox :is(label, .bookedly-label) {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  margin: 0;
  cursor: pointer;
}

.bookedly-content-surface .bookedly-form-surface .bookedly-standalone-choice.form-type-checkbox input[type="checkbox"]:focus-visible {
  outline: 3px solid rgb(var(--bookedly-brand-primary-rgb) / 0.55);
  outline-offset: 3px;
}

.bookedly-content-surface .bookedly-form .form-managed-file {
  display: grid;
  gap: 0.75rem;
  position: relative;
  padding: 1rem;
  border: 1px dashed rgb(var(--bookedly-brand-primary-rgb) / 0.36);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-paper);
}

.bookedly-content-surface .bookedly-form input[type="file"] {
  width: 100%;
  color: rgba(31, 27, 22, 0.7);
  font-size: var(--text-sm);
}

.bookedly-content-surface .bookedly-form input[type="file"]::file-selector-button,
.bookedly-content-surface .bookedly-form .form-managed-file input[type="submit"],
.bookedly-content-surface .bookedly-form .form-managed-file button {
  min-height: 2.75rem;
  margin-right: 0.75rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--color-bookedly-line);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-white);
  color: var(--color-bookedly-forest);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
}

.bookedly-content-surface .bookedly-form .bookedly-offer-image-upload input[type="submit"][name$="_upload_button"],
.bookedly-content-surface .bookedly-form .bookedly-offer-image-upload button[name$="_upload_button"],
.bookedly-content-surface .bookedly-form .bookedly-offer-image-upload input[type="submit"][data-drupal-selector$="-upload-button"],
.bookedly-content-surface .bookedly-form .bookedly-offer-image-upload button[data-drupal-selector$="-upload-button"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.bookedly-content-surface .bookedly-form input[type="file"].bookedly-file-input--native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.bookedly-content-surface .bookedly-form .bookedly-file-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  padding: 0.55rem;
  border: 1px solid rgba(31, 27, 22, 0.14);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-white);
}

.bookedly-content-surface .bookedly-form .bookedly-file-control__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--color-bookedly-line);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-paper);
  color: var(--color-bookedly-forest);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  cursor: pointer;
}

.bookedly-content-surface .bookedly-form input[type="file"].bookedly-file-input--native:focus-visible + .bookedly-file-control .bookedly-file-control__button {
  outline: 2px solid var(--color-bookedly-forest);
  outline-offset: 2px;
}

.bookedly-content-surface .bookedly-form .bookedly-file-control__filename {
  min-width: 0;
  color: rgba(31, 27, 22, 0.62);
  font-size: var(--text-sm);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.bookedly-content-surface .bookedly-account-form {
  gap: 2rem;
}

.bookedly-content-surface .bookedly-account-form .bookedly-account-section {
  display: grid;
  gap: 1.15rem;
  min-inline-size: 0;
  padding: 0;
  border: 0;
  margin: 0;
}

.bookedly-content-surface .bookedly-account-form .bookedly-account-section > legend {
  padding: 0;
  color: rgba(31, 27, 22, 0.78);
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.bookedly-content-surface .bookedly-account-form .bookedly-account-section > .fieldset-wrapper {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}

.bookedly-content-surface .bookedly-account-form .bookedly-form-item {
  gap: 0.6rem;
}

.bookedly-content-surface .bookedly-account-form .bookedly-account-section .form-type-checkbox label {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  cursor: pointer;
}

.bookedly-content-surface .bookedly-account-form .bookedly-account-section--billing > .fieldset-wrapper,
.bookedly-content-surface .bookedly-account-form .bookedly-account-section--support > .fieldset-wrapper {
  gap: 1rem;
}

.bookedly-content-surface .bookedly-account-form .bookedly-account-section--billing p,
.bookedly-content-surface .bookedly-account-form .bookedly-account-section--support p {
  max-width: 42rem;
  margin: 0;
  color: rgba(31, 27, 22, 0.68);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.bookedly-content-surface .bookedly-account-form .bookedly-account-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  align-items: center;
}

.bookedly-content-surface .bookedly-account-form .bookedly-account-link-list .bookedly-text-link {
  font-size: var(--text-sm);
}

.bookedly-content-surface .bookedly-account-form .bookedly-account-password-disclosure {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(31, 27, 22, 0.1);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-paper);
}

.bookedly-content-surface .bookedly-account-form .bookedly-account-password-disclosure > .form-type-checkbox {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.bookedly-content-surface .bookedly-account-form .bookedly-account-password-disclosure > .bookedly-form-item:not(.form-type-checkbox) {
  padding: 1rem;
  border-top: 1px solid rgba(31, 27, 22, 0.1);
  background: var(--color-bookedly-white);
}

.bookedly-content-surface .bookedly-account-form .form-item-new-password {
  display: grid;
  gap: 1.1rem;
}

.bookedly-content-surface .bookedly-account-form .form-item-new-password > .bookedly-label {
  margin-top: 0.25rem;
}

.bookedly-content-surface .bookedly-account-form .form-item-new-password .password-parent,
.bookedly-content-surface .bookedly-account-form .form-item-new-password .confirm-parent {
  display: grid;
  gap: 0.6rem;
}

.bookedly-content-surface .bookedly-account-form .form-item-new-password .password-strength {
  display: grid;
  gap: 0.35rem;
  margin: 0.15rem 0 0.65rem;
}

.bookedly-content-surface .bookedly-account-form .form-item-new-password .password-strength__title,
.bookedly-content-surface .bookedly-account-form .form-item-new-password .password-confirm-message {
  color: rgba(31, 27, 22, 0.62);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.bookedly-content-surface .bookedly-account-form .form-item-new-password .password-strength__meter {
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(31, 27, 22, 0.16);
}

.bookedly-content-surface .bookedly-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  padding-top: 0.25rem;
}

.bookedly-content-surface .bookedly-account-form .form-actions {
  padding-top: 0.9rem;
}

.bookedly-content-surface .bookedly-form .form-actions input[type="submit"],
.bookedly-content-surface .bookedly-form .form-actions button {
  max-width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--color-bookedly-forest);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-forest);
  color: var(--color-bookedly-white);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
  cursor: pointer;
}

.bookedly-content-surface .bookedly-form .form-actions input[type="submit"]:hover,
.bookedly-content-surface .bookedly-form .form-actions button:hover {
  background: var(--color-bookedly-brand-dark);
  border-color: var(--color-bookedly-brand-dark);
}

@media (max-width: 47.999rem) {
  .bookedly-content-surface .bookedly-account-holder-payments .bookedly-form.bookedly-payment-report-form--compact {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .bookedly-content-surface .bookedly-account-holder-payments .bookedly-payment-report-form--compact .form-actions {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
  }

  .bookedly-content-surface .bookedly-account-holder-payments .bookedly-payment-report-form--compact .form-actions input[type="submit"].bookedly-button {
    width: 100%;
    min-width: 0;
    min-height: 2.75rem;
    overflow-wrap: normal;
    white-space: normal;
    word-break: normal;
  }
}

.bookedly-content-surface .bookedly-payment-record-body .bookedly-data-list {
  gap: 0.45rem;
  margin: 0.25rem 0 0.5rem;
  color: rgba(31, 27, 22, 0.68);
  font-weight: 500;
  line-height: 1.7;
}

.bookedly-content-surface .bookedly-payment-record-body .bookedly-payment-account-context,
.bookedly-content-surface .bookedly-payment-record-body .bookedly-payment-allocation-preview {
  display: grid;
  gap: 0.45rem;
  margin: 0.15rem 0 0.35rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(31, 27, 22, 0.1);
  border-radius: var(--radius-md);
  background: rgb(var(--bookedly-brand-primary-soft-rgb) / 0.18);
  color: rgba(31, 27, 22, 0.76);
  font-size: var(--text-sm);
  font-style: italic;
  font-weight: 500;
  line-height: 1.6;
}

.bookedly-content-surface .bookedly-payment-record-body .bookedly-payment-account-context p,
.bookedly-content-surface .bookedly-payment-record-body .bookedly-payment-allocation-preview p {
  margin: 0;
}

.bookedly-content-surface .bookedly-payment-record-body .bookedly-payment-account-context p:first-child {
  color: var(--color-bookedly-ink);
  font-style: normal;
  font-weight: var(--font-weight-semibold);
}

.bookedly-content-surface .bookedly-payment-record-body .bookedly-payment-allocation-preview ul {
  display: grid;
  gap: 0.4rem;
}

.bookedly-content-surface .bookedly-payment-record-fields > .bookedly-form-item {
  gap: 0.6rem;
}

.bookedly-content-surface .bookedly-payment-record-body .bookedly-description {
  color: rgba(31, 27, 22, 0.66);
  font-style: italic;
  font-weight: 500;
  line-height: 1.65;
}

.bookedly-content-surface .bookedly-payment-record-body > .form-actions {
  margin: 0;
  padding-top: var(--bookedly-form-action-gap);
  border-top: 1px solid var(--color-bookedly-line);
}

.bookedly-content-surface .bookedly-form.bookedly-past-lesson-form .bookedly-form-intro {
  padding: 0 0 0.25rem;
}

/* Shared read-only context block for focused forms. */
.bookedly-content-surface .bookedly-form-summary {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 0;
  border-radius: var(--bookedly-surface-radius);
  background: var(--color-bookedly-mist);
  box-shadow: none;
}

.bookedly-content-surface .bookedly-form-summary > * {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.bookedly-content-surface .bookedly-empty-state--recovery {
  display: grid;
  gap: 1rem;
  justify-items: center;
  min-width: 0;
}

.bookedly-content-surface .bookedly-empty-state--recovery > .form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
}

.bookedly-content-surface .bookedly-form.bookedly-past-lesson-form label,
.bookedly-content-surface .bookedly-form.bookedly-past-lesson-form .bookedly-label,
.bookedly-content-surface .bookedly-form.bookedly-past-lesson-form fieldset.form-composite > legend,
.bookedly-content-surface .bookedly-form.bookedly-past-lesson-form fieldset.fieldgroup > legend {
  color: var(--color-bookedly-ink);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1.35;
}

.bookedly-content-surface .bookedly-past-lesson-billing {
  display: grid;
  gap: 1rem;
}

.bookedly-content-surface .bookedly-past-lesson-billing-help {
  margin: 0;
}

.bookedly-content-surface .bookedly-form.bookedly-past-lesson-form .bookedly-past-lesson-duration .field-suffix {
  display: block;
  margin-top: 0.35rem;
  color: rgba(31, 27, 22, 0.58);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.bookedly-content-surface .bookedly-form.bookedly-past-lesson-form .bookedly-past-lesson-choice-group {
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

.bookedly-content-surface .bookedly-form.bookedly-past-lesson-form .bookedly-past-lesson-duration {
  padding-bottom: 1.15rem;
}

.bookedly-content-surface .bookedly-form.bookedly-past-lesson-form .bookedly-past-lesson-choice-group > legend {
  margin: 0;
  padding: 0;
}

.bookedly-content-surface .bookedly-form.bookedly-past-lesson-form .bookedly-past-lesson-choice-group > .fieldset-wrapper {
  display: grid;
  gap: 0.5rem;
  padding: 0;
}

.bookedly-content-surface .bookedly-form.bookedly-past-lesson-form .bookedly-past-lesson-choice-group .form-radios {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.bookedly-content-surface .bookedly-form.bookedly-past-lesson-form .bookedly-past-lesson-choice-group .form-type-radio {
  min-height: 44px;
  margin: 0;
}

.bookedly-content-surface .bookedly-past-lesson-payment-status {
  margin-top: 0;
}

@media (max-width: 30rem) {
  .bookedly-content-surface .bookedly-empty-state--recovery > .form-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .bookedly-content-surface .bookedly-empty-state--recovery > .form-actions :is(.button, .bookedly-button) {
    width: 100%;
    min-width: 0;
  }
}

.bookedly-content-surface .bookedly-form.bookedly-group-attendance-form {
  max-width: 46rem;
  gap: 1rem;
}

.bookedly-content-surface .bookedly-form.bookedly-group-attendance-form .bookedly-form-intro {
  gap: 0.25rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.bookedly-content-surface .bookedly-form.bookedly-group-attendance-form .bookedly-form-intro h1,
.bookedly-content-surface .bookedly-form.bookedly-group-attendance-form .bookedly-form-intro h1,
.bookedly-content-surface .bookedly-form.bookedly-group-attendance-form .bookedly-form-intro h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
}

.bookedly-content-surface .bookedly-form.bookedly-group-attendance-form .bookedly-form-intro p {
  margin: 0;
  color: rgba(59, 31, 13, 0.55);
  font-size: var(--text-sm);
}

.bookedly-content-surface .bookedly-attendance-list {
  display: grid;
  gap: 0.875rem;
}

.bookedly-content-surface .bookedly-attendance-tools {
  display: flex;
  justify-content: flex-end;
  margin-bottom: -0.25rem;
}

.bookedly-content-surface .bookedly-attendance-all-present {
  min-height: 2.75rem;
  padding: 0.5rem 0;
  border: 0;
  background: transparent;
  color: rgb(var(--bookedly-brand-primary-rgb) / 1);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.bookedly-content-surface .bookedly-attendance-all-present:is(:hover, :focus-visible) {
  color: var(--color-bookedly-ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.bookedly-content-surface .bookedly-attendance-learner {
  display: grid;
  gap: 0.875rem;
  padding: 1rem;
  border: 1px solid rgba(59, 31, 13, 0.1);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-white);
}

.bookedly-content-surface .bookedly-attendance-learner.bookedly-operational-row {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.bookedly-content-surface .bookedly-attendance-learner__summary {
  display: grid;
  gap: 0.2rem;
}

.bookedly-content-surface .bookedly-attendance-learner__name {
  color: #3b1f0d;
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}

.bookedly-content-surface .bookedly-attendance-learner__name:is(:hover, :focus-visible) {
  color: rgb(var(--bookedly-brand-primary-rgb) / 1);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.bookedly-content-surface .bookedly-attendance-learner__summary small {
  color: rgba(59, 31, 13, 0.55);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.bookedly-jitsi-evidence {
  display: grid;
  min-width: 0;
  gap: 0.45rem;
  margin: 0 0 0.875rem;
  color: var(--bookedly-muted, #7a6254);
  font-size: 0.88rem;
  line-height: 1.5;
}

.bookedly-jitsi-evidence__label {
  color: var(--bookedly-ink, #11100e);
  font-weight: 500;
}

.bookedly-jitsi-evidence__copy,
.bookedly-jitsi-evidence__facts {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
}

.bookedly-jitsi-evidence__exceptions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.bookedly-inline-booking-outcome > .bookedly-jitsi-evidence {
  max-width: 34rem;
}

.bookedly-content-surface .bookedly-attendance-learner__fields {
  display: grid;
  gap: 0.875rem;
}

.bookedly-content-surface .bookedly-outcome-segmented {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.bookedly-content-surface .bookedly-outcome-segmented > legend {
  margin: 0 0 0.5rem;
  padding: 0;
}

.bookedly-content-surface .bookedly-outcome-segmented > .fieldset-wrapper,
.bookedly-content-surface .bookedly-outcome-segmented > .fieldset-wrapper > div,
.bookedly-content-surface .bookedly-outcome-segmented .form-radios {
  margin: 0;
  padding: 0;
}

.bookedly-content-surface .bookedly-outcome-segmented > .fieldset-wrapper > div,
.bookedly-content-surface .bookedly-outcome-segmented .form-radios {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.bookedly-content-surface .bookedly-form .bookedly-outcome-segmented .form-type-radio {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.bookedly-content-surface .bookedly-form .bookedly-outcome-segmented .form-type-radio input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.bookedly-content-surface .bookedly-form .bookedly-outcome-segmented .form-type-radio > :is(label, .bookedly-label) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--color-bookedly-line);
  border-radius: var(--bookedly-surface-radius);
  background: var(--color-bookedly-white);
  color: var(--color-bookedly-ink);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  cursor: pointer;
}

.bookedly-content-surface .bookedly-form .bookedly-outcome-segmented .form-type-radio input[type="radio"]:checked + :is(label, .bookedly-label) {
  border-color: rgb(var(--bookedly-brand-primary-rgb) / 1);
  background: var(--bookedly-soft, #f8f1ea);
}

.bookedly-content-surface .bookedly-form .bookedly-outcome-segmented .form-type-radio input[type="radio"]:focus-visible + :is(label, .bookedly-label) {
  outline: 3px solid rgb(var(--bookedly-brand-primary-rgb) / 0.45);
  outline-offset: 2px;
}

@media (min-width: 48rem) {
  .bookedly-content-surface .bookedly-attendance-learner__fields {
    grid-template-columns: minmax(14rem, 0.7fr) minmax(16rem, 1fr);
    align-items: start;
  }
}

.bookedly-content-surface .bookedly-form .bookedly-field-error {
  color: var(--color-bookedly-coral);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
}

.bookedly-content-surface .bookedly-slot-picker {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(31, 27, 22, 0.1);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-white);
}

.bookedly-content-surface .bookedly-form.bookedly-booking-request-form {
  max-width: 86rem;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  padding: 0;
  border: 0;
  background: transparent;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-request-intro {
  max-width: 58rem;
  padding: clamp(1rem, 2vw, 1.5rem) 0 0;
  border: 0;
  background: transparent;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-request-intro h1,
.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-request-intro h2 {
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  font-weight: var(--font-weight-semibold);
  line-height: 0.98;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-request-intro p {
  max-width: 46rem;
  color: rgba(31, 27, 22, 0.62);
  font-size: var(--text-base);
  line-height: 1.7;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-summary {
  display: grid;
  max-width: 86rem;
  gap: 0.85rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(31, 27, 22, 0.08);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-white);
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-summary__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.75rem;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-summary__item {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-summary__label {
  color: rgba(31, 27, 22, 0.52);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-summary__value {
  min-width: 0;
  color: var(--color-bookedly-ink);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  overflow-wrap: anywhere;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-summary__note {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(31, 27, 22, 0.08);
  color: rgba(31, 27, 22, 0.66);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-timezone-controls {
  max-width: 86rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-timezone-controls--compact p {
  margin: 0;
  color: rgba(31, 27, 22, 0.58);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-regular);
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-timezone-controls--compact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-slot-picker {
  max-width: 86rem;
  gap: clamp(1.25rem, 2.2vw, 2rem);
  padding: clamp(1.25rem, 2.8vw, 2.75rem);
  border-color: rgba(31, 27, 22, 0.08);
  background: var(--color-bookedly-white);
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-slot-picker h3 {
  color: var(--color-bookedly-ink);
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: var(--font-weight-semibold);
  line-height: 1.18;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-slot-picker > p {
  max-width: 42rem;
  color: rgba(31, 27, 22, 0.6);
  font-size: var(--text-base);
  line-height: 1.6;
}

.bookedly-content-surface .bookedly-slot-picker h3 {
  color: var(--color-bookedly-ink);
  font-family: var(--font-sans);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-tight);
}

.bookedly-content-surface .bookedly-slot-picker > p {
  max-width: 42rem;
  color: rgba(31, 27, 22, 0.66);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.bookedly-content-surface .bookedly-timezone-controls {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(31, 27, 22, 0.1);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-white);
}

.bookedly-content-surface .bookedly-timezone-controls--compact {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

.bookedly-content-surface .bookedly-timezone-controls--compact p {
  margin: 0;
  color: rgba(31, 27, 22, 0.58);
  font-size: var(--text-sm);
}

.bookedly-content-surface .bookedly-timezone-controls .bookedly-form-item {
  margin: 0;
}

.bookedly-content-surface .bookedly-timezone-controls input[type="submit"] {
  justify-self: start;
}

.bookedly-content-surface .bookedly-timezone-link {
  justify-self: start;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-bookedly-forest);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.bookedly-content-surface .bookedly-timezone-link:hover,
.bookedly-content-surface .bookedly-timezone-link:focus {
  color: var(--color-bookedly-ink);
  outline: none;
}

.bookedly-content-surface .bookedly-slot-picker__month-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid rgba(31, 27, 22, 0.08);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-paper);
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-slot-picker__month-nav {
  grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
  gap: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.bookedly-content-surface .bookedly-slot-picker__month-nav strong {
  color: var(--color-bookedly-ink);
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-tight);
  text-align: center;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-slot-picker__month-nav strong {
  align-self: center;
  font-family: var(--font-sans);
  font-size: var(--text-xl);
}

.bookedly-content-surface .bookedly-slot-picker__month-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgb(var(--bookedly-brand-primary-rgb) / 0.2);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-white);
  color: var(--color-bookedly-forest);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-slot-picker__month-link {
  width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border-color: transparent;
  background: transparent;
  color: rgba(31, 27, 22, 0.62);
  font-size: 0;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-slot-picker__month-link::before {
  color: currentColor;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-slot-picker__month-link--previous::before {
  content: "‹";
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-slot-picker__month-link--next::before {
  content: "›";
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-slot-picker__month-link:hover {
  background: var(--color-bookedly-paper);
}

.bookedly-content-surface .bookedly-slot-picker__month-link:hover {
  border-color: var(--color-bookedly-forest);
  color: var(--color-bookedly-ink);
}

.bookedly-content-surface .bookedly-slot-picker__month-link.is-disabled {
  border-style: dashed;
  color: rgba(31, 27, 22, 0.42);
}

.bookedly-content-surface .bookedly-booking-calendar {
  display: grid;
  gap: 0.45rem;
  padding: 0.75rem;
  border: 1px solid rgba(31, 27, 22, 0.08);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-white);
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-calendar {
  gap: 0.75rem;
  padding: 0;
  border: 0;
}

.bookedly-content-surface .bookedly-booking-calendar__weekdays,
.bookedly-content-surface .bookedly-booking-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.bookedly-content-surface .bookedly-booking-calendar__weekdays span {
  padding: 0.25rem 0.15rem;
  color: rgba(31, 27, 22, 0.54);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-align: center;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-calendar__weekdays span {
  color: rgba(31, 27, 22, 0.42);
  font-size: var(--text-base);
  font-weight: 500;
}

.bookedly-content-surface .bookedly-booking-calendar__grid {
  gap: 0.35rem;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-calendar__grid {
  gap: 0.75rem 0.45rem;
}

.bookedly-content-surface .bookedly-booking-calendar__cell {
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 0;
  min-height: 3.75rem;
  padding: 0.35rem 0.15rem;
  border: 1px solid rgba(31, 27, 22, 0.08);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-paper);
  color: rgba(31, 27, 22, 0.44);
  line-height: 1.15;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-calendar__cell {
  min-height: 3rem;
  border-color: transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(31, 27, 22, 0.38);
}

.bookedly-content-surface button.bookedly-booking-calendar__cell {
  cursor: pointer;
  appearance: none;
  font: inherit;
}

.bookedly-content-surface .bookedly-booking-calendar__cell--empty {
  border-color: transparent;
  background: transparent;
}

.bookedly-content-surface .bookedly-booking-calendar__cell--available {
  border-color: rgba(31, 27, 22, 0.12);
  background: var(--color-bookedly-white);
  color: var(--color-bookedly-ink);
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-calendar__cell--available {
  border-color: transparent;
  background: transparent;
  color: rgba(31, 27, 22, 0.72);
}

.bookedly-content-surface .bookedly-booking-calendar__cell--available:hover,
.bookedly-content-surface .bookedly-booking-calendar__cell--available:focus {
  border-color: #2f8f5b;
  outline: none;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-calendar__cell--available:hover,
.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-calendar__cell--available:focus {
  border-color: transparent;
  background: var(--color-bookedly-paper);
}

.bookedly-content-surface .bookedly-booking-calendar__cell--available:focus-visible {
  border-color: #2f8f5b;
  outline: 2px solid #2f8f5b;
  outline-offset: 2px;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-calendar__cell--available:focus-visible {
  border-color: var(--color-bookedly-forest);
  background: var(--color-bookedly-paper);
  outline-color: var(--color-bookedly-forest);
}

.bookedly-content-surface .bookedly-booking-calendar__cell--available.is-active {
  border-color: #2f8f5b;
  background: #e7f5ec;
  box-shadow: none;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-calendar__cell--available.is-active {
  border-color: var(--color-bookedly-forest);
  background: var(--color-bookedly-forest);
  color: var(--color-bookedly-white);
}

.bookedly-content-surface .bookedly-booking-calendar__day-number {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-calendar__day-number {
  font-size: var(--text-base);
  font-weight: 500;
}

.bookedly-content-surface .bookedly-booking-calendar__slot-count {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  color: #1f6f45;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 30rem) {
  .bookedly-content-surface .bookedly-slot-picker {
    padding-inline: 0.625rem;
  }

  .bookedly-content-surface .bookedly-booking-calendar {
    padding-inline: 0;
    border-inline: 0;
  }

  .bookedly-content-surface .bookedly-booking-calendar__grid {
    gap: 0;
  }

  .bookedly-content-surface .bookedly-booking-calendar__cell {
    min-width: 2.75rem;
    min-height: 4.15rem;
    padding-inline: 0.1rem;
  }

  .bookedly-content-surface .bookedly-booking-calendar__slot-count {
    overflow: visible;
    font-size: 0.625rem;
    line-height: 1.08;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
  }
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-calendar__slot-count {
  display: block;
  width: 0.32rem;
  height: 0.32rem;
  margin-top: 0.2rem;
  border-radius: 999px;
  background: currentColor;
  color: var(--color-bookedly-forest);
  font-size: 0;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-calendar__cell.is-active .bookedly-booking-calendar__slot-count {
  color: var(--color-bookedly-white);
}

.bookedly-content-surface .bookedly-slot-picker__days {
  display: grid;
  gap: 0.85rem;
}

.bookedly-content-surface .bookedly-slot-picker__day {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid rgba(31, 27, 22, 0.08);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-paper);
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-slot-picker__day {
  gap: 1.25rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.bookedly-content-surface .bookedly-slot-picker__day:not(.is-active) {
  display: none;
}

.bookedly-content-surface .bookedly-slot-picker__day h4 {
  color: rgba(31, 27, 22, 0.74);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-slot-picker__day h4 {
  color: var(--color-bookedly-ink);
  font-size: var(--text-xl);
}

.bookedly-content-surface .bookedly-slot-picker__slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.65rem;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-slot-picker__slots {
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 0.9rem;
}

.bookedly-content-surface .bookedly-slot-picker__option {
  position: relative;
  display: block;
  min-height: 2.75rem;
  margin: 0;
  border: 1px solid rgba(31, 27, 22, 0.12);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-white);
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-slot-picker__option {
  min-height: 4rem;
  border-color: rgba(31, 27, 22, 0.12);
  background: var(--color-bookedly-white);
}

.bookedly-content-surface .bookedly-slot-picker__option:focus-within {
  border-color: #2f8f5b;
  outline: 2px solid #2f8f5b;
  outline-offset: 2px;
}

.bookedly-content-surface .bookedly-slot-picker__option:hover {
  border-color: rgba(31, 27, 22, 0.26);
}

.bookedly-content-surface .bookedly-slot-picker__option:has(input:checked) {
  border-color: #2f8f5b;
  background: #e7f5ec;
  box-shadow: none;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-slot-picker__option:has(input:checked) {
  border-color: #2f8f5b;
  background: #e7f5ec;
}

.bookedly-content-surface .bookedly-slot-picker__option input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

.bookedly-content-surface .bookedly-slot-picker__option label {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: calc(var(--radius-md) - 1px);
  color: #1f6f45;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  line-height: 1.35;
  cursor: pointer;
  text-align: center;
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-slot-picker__option label {
  min-height: 4rem;
  color: var(--color-bookedly-ink);
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
}

.bookedly-content-surface .bookedly-booking-request-form .bookedly-booking-note {
  max-width: 86rem;
  margin: 0;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid rgba(31, 27, 22, 0.08);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-white);
}

.bookedly-content-surface .bookedly-booking-request-form > .form-actions {
  max-width: 86rem;
  justify-content: flex-end;
  padding: 0;
}

.bookedly-content-surface .bookedly-booking-request-form > .form-actions input[type="submit"] {
  min-width: 10rem;
  background: var(--color-bookedly-forest);
  border-color: var(--color-bookedly-forest);
}

.bookedly-content-surface .bookedly-slot-picker__empty {
  padding: 1rem;
  border: 1px dashed rgba(31, 27, 22, 0.18);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-paper);
}

.bookedly-content-surface .bookedly-slot-picker__empty p {
  color: rgba(31, 27, 22, 0.68);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.bookedly-guest-lesson {
  display: grid;
  gap: 1.35rem;
}

.bookedly-guest-lesson-card {
  display: grid;
  gap: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.bookedly-guest-lesson-card__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.bookedly-guest-lesson-card__avatar {
  display: inline-grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border-radius: 999px;
  background: var(--color-bookedly-mist);
  color: var(--color-bookedly-ink);
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  object-fit: cover;
}

.bookedly-guest-lesson-card__avatar--fallback {
  border: 1px solid rgba(31, 27, 22, 0.08);
}

.bookedly-guest-lesson-card__identity {
  display: grid;
  min-width: 0;
  gap: 0.28rem;
}

.bookedly-guest-lesson-card__identity h2 {
  margin: 0;
  color: var(--color-bookedly-ink);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: var(--font-weight-semibold);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.bookedly-guest-lesson-card__identity p:not(.bookedly-eyebrow) {
  margin: 0;
  color: rgba(31, 27, 22, 0.68);
  font-size: var(--text-base);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.bookedly-guest-lesson-card__header > .bookedly-status-chip {
  grid-column: 1 / -1;
  justify-self: start;
}

.bookedly-guest-lesson-card__details {
  display: grid;
  gap: 0;
  padding-block: 0.35rem;
  border-top: 1px solid rgba(31, 27, 22, 0.08);
  border-bottom: 1px solid rgba(31, 27, 22, 0.08);
}

.bookedly-guest-detail {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
  padding-block: 0.8rem;
}

.bookedly-guest-detail span {
  color: rgba(31, 27, 22, 0.56);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  line-height: 1.35;
  text-transform: uppercase;
}

.bookedly-guest-detail strong {
  color: var(--color-bookedly-ink);
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.bookedly-guest-detail--prominent {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(31, 27, 22, 0.08);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-paper);
}

.bookedly-guest-lesson-attendance,
.bookedly-guest-account-panel {
  display: grid;
  gap: 0.75rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(31, 27, 22, 0.08);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-paper);
}

.bookedly-guest-lesson-attendance h3,
.bookedly-guest-account-panel h3 {
  margin: 0;
  color: var(--color-bookedly-ink);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  line-height: 1.25;
}

.bookedly-guest-lesson-attendance p,
.bookedly-guest-account-panel p {
  max-width: 44rem;
  margin: 0;
  color: rgba(31, 27, 22, 0.68);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.bookedly-guest-lesson-attendance .bookedly-button,
.bookedly-guest-account-panel .bookedly-button,
.bookedly-guest-lesson-card .bookedly-action-list .bookedly-button {
  justify-self: start;
}

.bookedly-guest-lesson-card .bookedly-action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.bookedly-guest-attribution p {
  margin: 0;
  color: rgba(31, 27, 22, 0.68);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.bookedly-guest-attribution a {
  color: var(--color-bookedly-forest);
  font-weight: var(--font-weight-semibold);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (min-width: 48rem) {
  .bookedly-guest-lesson-card__header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .bookedly-guest-lesson-card__header > .bookedly-status-chip {
    grid-column: auto;
    align-self: start;
    justify-self: end;
  }

  .bookedly-guest-lesson-card__details {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker {
  display: grid;
  gap: 1.35rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid rgba(31, 27, 22, 0.08);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-white);
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker h3 {
  margin: 0;
  color: var(--color-bookedly-ink);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-semibold);
  line-height: 1.25;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker > p {
  max-width: 42rem;
  margin: 0;
  color: rgba(31, 27, 22, 0.62);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__month-nav {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
  gap: 0.75rem;
  align-items: center;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__month-action {
  display: flex;
  justify-content: center;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__month-nav strong {
  color: var(--color-bookedly-ink);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  line-height: 1.25;
  text-align: center;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__month-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: transparent;
  color: rgba(31, 27, 22, 0.62);
  font-size: 0;
  text-decoration: none;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__month-link::before {
  color: currentColor;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__month-link--previous::before {
  content: "‹";
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__month-link--next::before {
  content: "›";
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__month-link:is(:hover, :focus-visible) {
  background: var(--color-bookedly-paper);
  color: var(--color-bookedly-ink);
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__month-link.is-disabled {
  color: rgba(31, 27, 22, 0.36);
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-booking-calendar {
  display: grid;
  gap: 0.75rem;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-booking-calendar__weekdays,
.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-booking-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-booking-calendar__weekdays span {
  padding: 0.25rem 0.1rem;
  color: rgba(31, 27, 22, 0.46);
  font-size: var(--text-sm);
  font-weight: 500;
  text-align: center;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-booking-calendar__grid {
  gap: 0.5rem 0.35rem;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-booking-calendar__cell {
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(31, 27, 22, 0.38);
  font: inherit;
  line-height: 1.1;
}

.bookedly-content-panel .bookedly-guest-reschedule-form button.bookedly-booking-calendar__cell {
  cursor: pointer;
  appearance: none;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-booking-calendar__cell--empty {
  visibility: hidden;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-booking-calendar__cell--available {
  color: rgba(31, 27, 22, 0.72);
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-booking-calendar__cell--available:is(:hover, :focus-visible) {
  background: var(--color-bookedly-paper);
  outline-color: var(--color-bookedly-forest);
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-booking-calendar__cell--available.is-active {
  background: var(--color-bookedly-forest);
  color: var(--color-bookedly-white);
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-booking-calendar__day-number {
  font-size: var(--text-sm);
  font-weight: 500;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-booking-calendar__slot-count {
  display: block;
  width: 0.32rem;
  height: 0.32rem;
  margin-top: 0.2rem;
  border-radius: 999px;
  background: currentColor;
  color: var(--color-bookedly-forest);
  font-size: 0;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-booking-calendar__cell.is-active .bookedly-booking-calendar__slot-count {
  color: var(--color-bookedly-white);
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__days,
.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__day,
.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__slots {
  display: grid;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__days {
  gap: 0.9rem;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__day {
  gap: 0.85rem;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__day:not(.is-active) {
  display: none;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__day h4 {
  margin: 0;
  color: var(--color-bookedly-ink);
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__slots {
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 0.75rem;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__option {
  position: relative;
  display: block;
  min-height: 3.35rem;
  margin: 0;
  border: 1px solid rgba(31, 27, 22, 0.12);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-white);
  transition: border-color 150ms ease, background-color 150ms ease;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__option:is(:hover, :focus-within) {
  border-color: rgba(31, 27, 22, 0.28);
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__option:has(input:checked) {
  border-color: #2f8f5b;
  background: #e7f5ec;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__option input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.bookedly-content-panel .bookedly-guest-reschedule-form .bookedly-slot-picker__option label {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 3.35rem;
  padding: 0.7rem 0.8rem;
  border-radius: calc(var(--radius-md) - 1px);
  color: var(--color-bookedly-ink);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1.35;
  cursor: pointer;
  text-align: center;
}

.bookedly-content-panel .bookedly-guest-reschedule-form > .form-actions {
  justify-content: flex-end;
  padding: 0;
}

.bookedly-content-panel .bookedly-guest-reschedule-form > .form-actions input[type="submit"] {
  min-width: 10rem;
}

@media (min-width: 40rem) {
  .bookedly-content-surface .bookedly-timezone-controls {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .bookedly-content-surface .bookedly-slot-picker {
    padding: 1.25rem;
  }

  .bookedly-content-surface .bookedly-slot-picker__month-nav {
    grid-template-columns: minmax(8.75rem, 1fr) auto minmax(8.75rem, 1fr);
  }

  .bookedly-content-surface .bookedly-slot-picker__month-nav .bookedly-slot-picker__month-link:last-child,
  .bookedly-content-surface .bookedly-slot-picker__month-nav > .bookedly-slot-picker__month-link:last-child {
    justify-self: end;
  }
}

.bookedly-content-surface .bookedly-form.bookedly-scheduling-form {
  max-width: 72rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.bookedly-content-surface .bookedly-form.bookedly-scheduling-form .bookedly-scheduling-intro {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form {
  grid-template-columns: minmax(0, 1fr);
}

.bookedly-content-surface .bookedly-form .bookedly-availability-editor-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-top: 0.75rem;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-weekly-total {
  color: rgba(31, 27, 22, 0.68);
  font-size: var(--text-sm);
  font-weight: 600;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-removal-note {
  margin: 0.65rem 0 0;
  color: rgba(31, 27, 22, 0.58);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.bookedly-content-surface .bookedly-form .bookedly-weekly-availability-days {
  display: grid;
  gap: 1rem;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-scheduling-panel--settings {
  gap: 0.75rem;
  padding: 1rem 1.25rem;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-scheduling-panel--settings h3 {
  font-size: var(--text-xl);
}

.bookedly-content-surface .bookedly-form .bookedly-availability-day-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(31, 27, 22, 0.12);
  border-radius: 0.5rem;
  background: #fff;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-day-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(31, 27, 22, 0.1);
  background: #fff;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-day-card__header h3 {
  margin: 0;
  margin-right: auto;
  color: rgba(31, 27, 22, 0.96);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.2;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-day-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.bookedly-content-surface .bookedly-form .bookedly-time-combobox {
  position: relative;
  display: block;
  width: 100%;
}

.bookedly-content-surface .bookedly-form .bookedly-time-combobox input[data-bookedly-time-combobox] {
  padding-right: 2.5rem;
}

.bookedly-content-surface .bookedly-form .bookedly-time-combobox__toggle {
  position: absolute;
  top: 50%;
  right: 0.375rem;
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgba(31, 27, 22, 0.55);
  cursor: pointer;
  font-size: var(--text-base);
  line-height: 1;
  padding: 0;
  transition: background-color 160ms ease, color 160ms ease;
}

.bookedly-content-surface .bookedly-form .bookedly-time-combobox__toggle:hover,
.bookedly-content-surface .bookedly-form .bookedly-time-combobox__toggle:focus {
  background: var(--color-bookedly-paper);
  color: rgba(31, 27, 22, 0.92);
  outline: none;
}

.bookedly-content-surface .bookedly-form .bookedly-time-combobox__list {
  position: absolute;
  z-index: 40;
  top: calc(100% + 0.25rem);
  right: 0;
  left: 0;
  display: grid;
  max-height: 14rem;
  overflow-y: auto;
  padding: 0.25rem;
  border: 1px solid var(--color-bookedly-line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 12px 30px rgba(31, 27, 22, 0.12);
}

.bookedly-content-surface .bookedly-form .bookedly-time-combobox__option {
  min-height: 2rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgba(31, 27, 22, 0.92);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  text-align: left;
  transition: background-color 160ms ease, color 160ms ease;
}

.bookedly-content-surface .bookedly-form .bookedly-time-combobox__option:hover,
.bookedly-content-surface .bookedly-form .bookedly-time-combobox__option:focus {
  background: var(--color-bookedly-paper);
  outline: none;
}

.bookedly-content-surface .bookedly-form .bookedly-time-combobox__option[aria-selected="true"] {
  background: var(--color-bookedly-paper);
  color: var(--color-bookedly-forest);
}

.bookedly-content-surface .bookedly-form .bookedly-availability-day-card__add {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  min-height: 2.75rem;
  margin: 0.35rem 1.25rem 0.85rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-bookedly-forest);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.125rem 0.5rem;
  text-align: left;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-day-copy {
  margin: 0 1.25rem 1rem;
  border: 1px solid rgba(31, 27, 22, 0.1);
  border-radius: 0.5rem;
  background: var(--color-bookedly-paper);
}

.bookedly-content-surface .bookedly-form .bookedly-availability-day-copy > summary {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--color-bookedly-forest);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.625rem 0.75rem;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-day-copy > summary:focus-visible {
  border-radius: 0.5rem;
  outline: 2px solid rgb(var(--bookedly-brand-primary-rgb) / 0.32);
  outline-offset: 1px;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-day-copy > .details-wrapper {
  display: grid;
  gap: 0.75rem;
  padding: 0 0.75rem 0.75rem;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-day-copy .form-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 0.35rem 0.75rem;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-day-copy .form-type-checkbox {
  min-height: 2.75rem;
  margin: 0;
  padding: 0.45rem 0.625rem;
  border: 1px solid rgba(31, 27, 22, 0.1);
  border-radius: 0.375rem;
  background: #fff;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-day-copy__help {
  margin: 0;
  color: rgba(31, 27, 22, 0.58);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-day-copy input[type="submit"] {
  width: fit-content;
  min-height: 2.75rem;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-day-card__add:hover,
.bookedly-content-surface .bookedly-form .bookedly-availability-day-card__add:focus {
  border-color: rgb(var(--bookedly-brand-primary-rgb) / 0.22);
  background: rgb(var(--bookedly-brand-primary-soft-rgb) / 0.52);
  color: rgb(var(--bookedly-brand-primary-rgb) / 0.95);
  box-shadow: 0 1px 0 rgb(var(--bookedly-brand-primary-rgb) / 0.08);
  text-decoration: none;
}

.bookedly-content-surface .bookedly-form .bookedly-count-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(31, 27, 22, 0.12);
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.85);
  color: rgba(31, 27, 22, 0.6);
  font-size: var(--text-xs);
  font-weight: 600;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block-list {
  display: grid;
  gap: 0;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block {
  position: relative;
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  padding-right: 4rem;
  border: 0;
  border-bottom: 1px solid rgba(31, 27, 22, 0.1);
  border-radius: 0;
  background: #fff;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block:last-child {
  border-bottom: 0;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block--focused {
  background: rgb(var(--bookedly-brand-primary-soft-rgb) / 0.35);
  box-shadow: inset 3px 0 0 rgb(var(--bookedly-brand-primary-rgb) / 0.82);
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0.15rem 2.5rem 0.15rem 0;
  text-align: left;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__summary:hover .bookedly-availability-block__toggle,
.bookedly-content-surface .bookedly-form .bookedly-availability-block__summary:focus .bookedly-availability-block__toggle {
  border-color: rgb(var(--bookedly-brand-primary-rgb) / 0.28);
  background: rgb(var(--bookedly-brand-primary-soft-rgb) / 0.46);
  color: rgb(var(--bookedly-brand-primary-rgb) / 0.92);
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__summary-main {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__summary-time {
  margin: 0;
  color: rgba(31, 27, 22, 0.92);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.2;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__summary-separator,
.bookedly-content-surface .bookedly-form .bookedly-availability-block__summary-scope {
  color: rgba(31, 27, 22, 0.6);
  font-size: var(--text-sm);
  line-height: 1.35;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__toggle {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(31, 27, 22, 0.12);
  border-radius: 0.375rem;
  background: var(--color-bookedly-paper);
  color: var(--color-bookedly-forest);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  padding: 0.375rem 0.75rem;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__toggle-label {
  white-space: nowrap;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__chevron {
  display: inline-grid;
  width: 1.25rem;
  min-width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border: 1px solid rgb(var(--bookedly-brand-primary-rgb) / 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-bookedly-forest);
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__chevron::before {
  content: "";
  width: var(--bookedly-chevron-size);
  height: var(--bookedly-chevron-size);
  background: currentColor;
  -webkit-mask: var(--bookedly-chevron-mask) center / contain no-repeat;
  mask: var(--bookedly-chevron-mask) center / contain no-repeat;
  transform: rotate(180deg);
  transition: var(--bookedly-chevron-transition);
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block.is-collapsed .bookedly-availability-block__chevron::before {
  transform: rotate(0deg);
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block.is-collapsed > .bookedly-availability-block__field,
.bookedly-content-surface .bookedly-form .bookedly-availability-block.is-collapsed > .bookedly-availability-block__collapse {
  display: none;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1rem;
  border: 0;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__status--active {
  width: 1rem;
  background: transparent;
  color: var(--color-bookedly-forest);
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__status-dot {
  display: block;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
  background: var(--color-bookedly-forest);
  box-shadow: 0 0 0 0.22rem rgb(var(--bookedly-brand-primary-soft-rgb) / 0.58);
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__status--paused {
  min-height: 1.5rem;
  padding: 0.25rem 0.625rem;
  border: 1px solid rgba(31, 27, 22, 0.12);
  background: var(--color-bookedly-paper);
  color: rgba(31, 27, 22, 0.58);
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__remove {
  position: absolute;
  top: 0.65rem;
  right: 1rem;
  display: inline-grid;
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(31, 27, 22, 0.12);
  border-radius: 999px;
  background: rgba(31, 27, 22, 0.035);
  color: rgba(31, 27, 22, 0.72);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  padding: 0;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__remove:focus,
.bookedly-content-surface .bookedly-form .bookedly-availability-block__remove:hover {
  border-color: rgb(var(--bookedly-brand-primary-rgb) / 0.28);
  background: rgb(var(--bookedly-brand-primary-soft-rgb) / 0.5);
  color: rgb(var(--bookedly-brand-primary-rgb) / 0.95);
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__field {
  min-width: 0;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__collapse {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--color-bookedly-forest);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__collapse:hover,
.bookedly-content-surface .bookedly-form .bookedly-availability-block__collapse:focus {
  color: rgb(var(--bookedly-brand-primary-rgb) / 0.84);
  text-decoration: underline;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__field label {
  font-size: var(--text-xs);
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__field input,
.bookedly-content-surface .bookedly-form .bookedly-availability-block__field select {
  max-width: 100%;
  min-height: 2.5rem;
  font-size: var(--text-sm);
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__field .description {
  margin-top: 0.35rem;
  color: rgba(31, 27, 22, 0.55);
  font-size: var(--text-xs);
  line-height: 1.4;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__field--toggle.form-type-checkbox {
  display: inline-flex;
  width: fit-content;
  min-height: 2rem;
  align-items: center;
  gap: 0.45rem;
  padding: 0.125rem 0;
  border: 0;
  background: transparent;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__field--active.form-type-checkbox {
  background: transparent;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-block__field--active.form-type-checkbox .bookedly-label {
  color: rgba(31, 27, 22, 0.68);
  font-size: var(--text-sm);
  line-height: 1.2;
}

.bookedly-content-surface .bookedly-form.bookedly-scheduling-form .bookedly-scheduling-panel {
  box-shadow: none;
}

.bookedly-content-surface .bookedly-form.bookedly-scheduling-form .bookedly-scheduling-panel--status {
  border-color: rgb(var(--bookedly-brand-primary-rgb) / 0.25);
  background: rgb(var(--bookedly-brand-primary-soft-rgb) / 0.45);
  box-shadow: none;
}

.bookedly-content-surface .bookedly-form.bookedly-scheduling-form .bookedly-scheduling-panel--status .form-type-checkbox {
  padding: 1rem;
  border-color: rgb(var(--bookedly-brand-primary-rgb) / 0.2);
  background: rgba(255, 255, 255, 0.85);
}

.bookedly-content-surface .bookedly-form.bookedly-scheduling-form > .form-actions {
  justify-content: flex-end;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-save-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.bookedly-content-surface .bookedly-form .bookedly-availability-save-state {
  margin-right: auto;
  color: rgba(31, 27, 22, 0.58);
  font-size: var(--text-sm);
  font-weight: 600;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form.has-unsaved-changes {
  padding-bottom: 5.75rem;
}

.bookedly-content-surface .bookedly-form.has-unsaved-changes .bookedly-availability-save-bar {
  position: fixed;
  z-index: 60;
  right: auto;
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: 50%;
  width: min(calc(100% - 2rem), 64rem);
  margin: 0;
  padding: 0.75rem 1rem;
  transform: translateX(-50%);
  border: 1px solid var(--color-bookedly-line);
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: none;
}

.bookedly-content-surface .bookedly-form.has-unsaved-changes .bookedly-availability-save-state {
  color: #8f341d;
}

@media (min-width: 40rem) {
  .bookedly-content-surface .bookedly-form.bookedly-scheduling-form .bookedly-scheduling-intro {
    padding: 0;
  }

  .bookedly-content-surface .bookedly-form .bookedly-availability-block {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .bookedly-content-surface .bookedly-form .bookedly-availability-block__summary {
    grid-column: 1 / -1;
  }

  .bookedly-content-surface .bookedly-form .bookedly-availability-block__field--time,
  .bookedly-content-surface .bookedly-form .bookedly-availability-block__field--date {
    grid-column: span 2;
  }

  .bookedly-content-surface .bookedly-form .bookedly-availability-block__field--lesson {
    grid-column: span 4;
  }

  .bookedly-content-surface .bookedly-form .bookedly-availability-block__field--toggle {
    grid-column: span 2;
  }
}

@media (max-width: 39.99rem) {
  .bookedly-content-surface .bookedly-form.has-unsaved-changes .bookedly-availability-save-bar {
    bottom: max(0.5rem, env(safe-area-inset-bottom));
    width: calc(100% - 1rem);
    gap: 0.65rem;
    padding: 0.65rem;
  }

  .bookedly-content-surface .bookedly-form .bookedly-availability-save-state {
    font-size: var(--text-xs);
  }

  .bookedly-content-surface .bookedly-form .bookedly-availability-save-bar input[type="submit"] {
    width: auto;
    min-height: 2.75rem;
    white-space: normal;
  }
}

@media (min-width: 64rem) {
  .bookedly-content-surface .bookedly-form.bookedly-scheduling-form {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 21rem);
    align-items: start;
  }

  .bookedly-content-surface .bookedly-form.bookedly-scheduling-form .bookedly-scheduling-intro {
    grid-column: 1 / -1;
  }

  .bookedly-content-surface .bookedly-form.bookedly-scheduling-form .bookedly-scheduling-panel--schedule,
  .bookedly-content-surface .bookedly-form.bookedly-scheduling-form .bookedly-scheduling-panel--scope,
  .bookedly-content-surface .bookedly-form.bookedly-scheduling-form .bookedly-scheduling-panel--range {
    grid-column: 1;
  }

  .bookedly-content-surface .bookedly-form.bookedly-scheduling-form .bookedly-scheduling-panel--status {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    position: sticky;
    top: 6rem;
  }

  .bookedly-content-surface .bookedly-form.bookedly-scheduling-form > .form-actions {
    grid-column: 1;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form,
  .bookedly-content-surface .bookedly-form.bookedly-scheduling-form.bookedly-weekly-availability-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-scheduling-intro,
  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-scheduling-panel--settings,
  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-weekly-availability-days,
  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form > .form-actions {
    grid-column: 1;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-scheduling-panel--settings {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 28rem);
    align-items: end;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-scheduling-panel--settings h3 {
    grid-column: 1;
    align-self: center;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-scheduling-panel--settings .form-item-timezone {
    grid-column: 2;
  }
}

/* Focused weekday-section availability editor. */
.bookedly-content-surface .bookedly-form.bookedly-scheduling-form.bookedly-weekly-availability-form {
  width: min(100%, 72rem);
  max-width: 72rem;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  padding: 0 0 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form.bookedly-form-auto-body-surface > :is(
  .bookedly-availability-week-sections,
  .bookedly-availability-outcome-bridge,
  .bookedly-availability-save-bar
) {
  box-sizing: border-box;
  width: min(100%, 42rem);
  max-width: 42rem;
  margin-inline: auto;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form.bookedly-form-auto-body-surface > .bookedly-availability-week-sections {
  margin-top: 1.5rem;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-scheduling-intro {
  display: grid;
  gap: 0.625rem;
  padding: 0 0 1.5rem;
  border-bottom: 0;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-scheduling-intro h1,
.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-scheduling-intro p {
  margin: 0;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-editor-header > .bookedly-app-parent-link {
  margin-bottom: 0.375rem;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-editor-header h1 {
  max-width: 46rem;
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  letter-spacing: -0.025em;
  line-height: 1.16;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-editor-header > p {
  max-width: 46rem;
  color: rgb(31 27 22 / 0.66);
  font-size: var(--text-base);
  line-height: 1.6;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-editor-meta {
  display: grid;
  grid-template-columns: max-content max-content minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem 1.25rem;
  margin-top: 0.5rem;
  padding: 0.75rem 0.75rem 0.75rem 1rem;
  border: 1px solid rgb(31 27 22 / 0.08);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 0.58);
  color: rgb(31 27 22 / 0.68);
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-weekly-total {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.5rem;
  color: rgb(31 27 22 / 0.82);
  font-weight: 600;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-weekly-total::before,
.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-timezone-note::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  background: rgb(var(--bookedly-brand-primary-rgb) / 0.78);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-weekly-total::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='2.25' y='3.25' width='11.5' height='10.5' rx='1.75' fill='none' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M5 1.75v3M11 1.75v3M2.5 6.5h11' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='2.25' y='3.25' width='11.5' height='10.5' rx='1.75' fill='none' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M5 1.75v3M11 1.75v3M2.5 6.5h11' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-timezone-note {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-bookedly-muted);
  font-size: var(--text-sm);
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-timezone-note::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='5.75' fill='none' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M8 4.5V8l2.5 1.5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='5.75' fill='none' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M8 4.5V8l2.5 1.5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-editor-meta__exception {
  justify-self: end;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding-inline: 0.875rem;
  font-size: var(--text-sm);
  line-height: 1.25;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-editor-meta__exception::before {
  content: "+";
  display: inline-grid;
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border-radius: 999px;
  background: var(--color-bookedly-mint);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-week-sections {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--color-bookedly-line);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-white);
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-guidance {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--color-bookedly-mist);
  color: rgb(31 27 22 / 0.72);
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-guidance h2 {
  margin: 0;
  color: var(--color-bookedly-ink);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.35;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-guidance__summary {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  font-size: var(--text-sm);
  line-height: 1.55;
  list-style: none;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-guidance__lifecycle {
  display: grid;
  gap: 0.25rem;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-guidance__lifecycle-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem 1rem;
  min-width: 0;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-guidance__lifecycle-item p {
  min-width: 0;
  margin: 0;
  color: rgb(31 27 22 / 0.78);
  font-size: var(--text-sm);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-guidance__lifecycle-item .bookedly-inline-action {
  justify-self: end;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-zero-consequence {
  display: grid;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-bookedly-line);
  background: var(--color-bookedly-mist);
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-zero-consequence .bookedly-availability-starter-action {
  justify-self: start;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-zero-consequence[hidden] {
  display: none;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-zero-consequence p {
  margin: 0;
  color: rgb(31 27 22 / 0.72);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-day-section {
  padding: 0 1.25rem 1rem;
  background: transparent;
  scroll-margin-bottom: 7rem;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-day-section + .bookedly-availability-day-section {
  border-top: 1px solid var(--color-bookedly-line);
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-day-section__header {
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  gap: 0.35rem;
  padding-block: 0.875rem 0.75rem;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-day-section__heading {
  margin: 0;
  color: var(--color-bookedly-ink);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.35;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-day-section__separator,
.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-day-total {
  color: var(--color-bookedly-muted);
  font-size: var(--text-sm);
  line-height: 1.4;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-interval-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.75rem 2.75rem;
  grid-template-areas:
    "range disclosure remove"
    "meta meta meta"
    "panel panel panel";
  gap: 0.5rem;
  align-items: end;
  min-width: 0;
  margin-inline: -0.75rem;
  padding: 1rem 0.75rem;
  border-top: 1px solid rgb(31 27 22 / 0.08);
  border-radius: var(--radius-sm);
  background: transparent;
  transition: background-color 160ms ease;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-day-section__header + .bookedly-availability-interval-row,
.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-day-section__header + .bookedly-availability-day-section__rows > .bookedly-availability-interval-row:first-child {
  border-top: 0;
}

@media (hover: hover) and (pointer: fine) {
  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-interval-row:hover {
    background: var(--color-bookedly-mist);
  }
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-interval-row:focus-within,
.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-interval-row--focused {
  background: var(--color-bookedly-mist);
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-grid-row__time-pair {
  grid-area: range;
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(100%, 20rem);
  min-width: 0;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-grid-row__time-pair > .form-item {
  grid-column: auto;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__field {
  min-width: 0;
  margin: 0;
  scroll-margin-bottom: 7rem;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__field--time label {
  position: absolute;
  top: 0.38rem;
  inset-inline-start: 0.75rem;
  z-index: 1;
  display: block;
  margin: 0;
  color: var(--color-bookedly-muted);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__field--time {
  position: relative;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__field input,
.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__field select {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__field--time input[type="text"] {
  min-height: 3.25rem;
  padding: 1.15rem 0.75rem 0.2rem;
  color: var(--color-bookedly-ink);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__field .description {
  margin: 0.45rem 0 0;
  color: var(--color-bookedly-muted);
  line-height: 1.45;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-interval-row__meta {
  grid-area: meta;
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  margin: 0;
  color: var(--color-bookedly-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-interval-row__meta[hidden] {
  display: none;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__advanced {
  display: contents;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__advanced > summary,
.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__remove {
  display: inline-flex;
  width: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  align-self: end;
  padding: 0;
  border: 1px solid var(--color-bookedly-line);
  border-radius: var(--radius-sm);
  background: var(--color-bookedly-white);
  color: var(--color-bookedly-muted);
  box-shadow: none;
  cursor: pointer;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__advanced > summary {
  grid-area: disclosure;
  grid-column: 2;
  grid-row: 1;
  font-size: 0;
  list-style: none;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__advanced > summary::-webkit-details-marker {
  display: none;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__advanced > summary::after {
  content: "";
  width: var(--bookedly-chevron-size);
  height: var(--bookedly-chevron-size);
  background: currentColor;
  -webkit-mask: var(--bookedly-chevron-mask) center / contain no-repeat;
  mask: var(--bookedly-chevron-mask) center / contain no-repeat;
  transform: rotate(0deg);
  transition: var(--bookedly-chevron-transition);
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__advanced[open] > summary::after {
  transform: rotate(180deg);
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__advanced.has-errors > summary {
  border-color: var(--color-bookedly-brand-dark);
  background: var(--color-bookedly-blush, var(--color-bookedly-mist));
  color: var(--color-bookedly-ink);
}

@media (hover: hover) and (pointer: fine) {
  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form :is(
    .bookedly-availability-block__advanced > summary,
    .bookedly-availability-block__remove
  ):hover {
    background: var(--color-bookedly-mist);
    color: var(--color-bookedly-ink);
  }
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form :is(
  .bookedly-availability-block__advanced > summary,
  .bookedly-availability-block__remove
):focus-visible {
  border-color: var(--color-bookedly-forest);
  outline: 2px solid rgb(var(--bookedly-brand-primary-rgb) / 0.32);
  outline-offset: 1px;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__remove {
  position: static;
  inset: auto;
  grid-area: remove;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__options-panel {
  grid-area: panel;
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: stretch;
  display: grid;
  grid-template-columns: minmax(0, 26rem);
  gap: var(--bookedly-form-field-gap);
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-top: 0.25rem;
  padding: 1rem;
  border: 1px solid var(--color-bookedly-line);
  border-radius: var(--radius-sm);
  background: var(--color-bookedly-mist);
  box-shadow: none;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__advanced:not([open]) ~ .bookedly-availability-block__options-panel {
  display: none;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__date-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--bookedly-form-field-gap);
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-day-section__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding-top: 0.25rem;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-day-section__action,
.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-remove-confirmation button,
.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-remove-confirmation input[type="submit"] {
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgb(31 27 22 / 0.66);
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  cursor: pointer;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-day-section__action:is(:hover, :focus-visible) {
  color: var(--color-bookedly-ink);
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form :is(
  input:not([type="hidden"]),
  select,
  button,
  summary
):focus-visible {
  outline: 2px solid rgb(var(--bookedly-brand-primary-rgb) / 0.38);
  outline-offset: 2px;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-day-section__action:focus-visible {
  border-radius: 0.2rem;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-remove-confirmation {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1rem;
  border-inline-start: 3px solid rgb(var(--bookedly-brand-primary-rgb) / 0.62);
  border-radius: var(--radius-sm);
  background: var(--color-bookedly-mist);
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-remove-confirmation[hidden] {
  display: none;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-remove-confirmation p {
  margin: 0;
  color: rgb(31 27 22 / 0.72);
  font-size: var(--text-sm);
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-remove-confirmation__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 1rem;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-remove-confirmation__confirm {
  color: var(--color-bookedly-brand-dark);
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-save-bar {
  position: sticky;
  right: auto;
  bottom: 0;
  left: auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block: 0;
  padding: 0.75rem 1rem max(0.75rem, env(safe-area-inset-bottom));
  border: 0;
  border-top: 1px solid var(--color-bookedly-line);
  border-radius: 0;
  background: var(--color-bookedly-paper);
  transform: none;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-outcome-bridge {
  display: flex;
  justify-content: flex-start;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-save-bar input[type="submit"]:disabled {
  cursor: default;
  opacity: 0.48;
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form.is-saving .bookedly-availability-save-state {
  color: rgb(31 27 22 / 0.68);
}

.bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form.is-saving [data-bookedly-save-submit] {
  pointer-events: none;
  opacity: 0.68;
}

@media (max-width: 47.99rem) {
  .bookedly-content-surface .bookedly-form.bookedly-scheduling-form.bookedly-weekly-availability-form,
  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form.bookedly-form-auto-body-surface > :is(
    .bookedly-availability-week-sections,
    .bookedly-availability-outcome-bridge,
    .bookedly-availability-save-bar
  ) {
    width: 100%;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-editor-header h1 {
    font-size: clamp(1.625rem, 7vw, 2rem);
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-editor-meta {
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 0.25rem 0.75rem;
    padding: 0.75rem;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-editor-meta__exception {
    grid-column: 1 / -1;
    justify-self: stretch;
    margin-top: 0.25rem;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-zero-consequence,
  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-guidance,
  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-day-section {
    padding-inline: 1.25rem;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-guidance__lifecycle-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-guidance__lifecycle-item .bookedly-inline-action {
    justify-self: start;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-interval-row {
    grid-template-columns: minmax(0, 1fr) 2.75rem 2.75rem;
    grid-template-areas:
      "range range range"
      ". disclosure remove"
      "meta meta meta"
      "panel panel panel";
    gap: 0.5rem;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-grid-row__time-pair {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    max-width: none;
    gap: 0.5rem;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__advanced > summary {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__remove {
    grid-column: 3;
    grid-row: 2;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-interval-row__meta {
    grid-row: 3;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-block__options-panel {
    grid-row: 4;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-day-section__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-day-section__action {
    width: 100%;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-remove-confirmation {
    align-items: flex-start;
    flex-direction: column;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-remove-confirmation__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    gap: 0.25rem;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-remove-confirmation__actions :is(button, input[type="submit"]) {
    width: 100%;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-save-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .bookedly-content-surface .bookedly-form.bookedly-weekly-availability-form .bookedly-availability-save-bar input[type="submit"] {
    width: 100%;
  }
}

.bookedly-content-surface .bookedly-money-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--color-bookedly-line);
  border-radius: var(--radius-md);
  background: var(--color-bookedly-mist);
}

.bookedly-content-surface .bookedly-money-summary__item {
  display: grid;
  align-content: center;
  gap: 0.25rem;
  min-width: 0;
  min-height: 4.5rem;
  padding: 0.875rem 1rem;
}

.bookedly-content-surface .bookedly-money-summary__item + .bookedly-money-summary__item {
  border-inline-start: 1px solid var(--color-bookedly-line);
}

.bookedly-content-surface .bookedly-money-summary__item small {
  color: rgb(31 27 22 / 0.58);
  font-size: var(--text-xs);
  line-height: 1.35;
}

.bookedly-content-surface .bookedly-money-summary__item strong {
  overflow-wrap: anywhere;
  color: var(--color-bookedly-ink);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.3;
}

.bookedly-content-surface .bookedly-money-summary__item--total strong {
  color: rgb(var(--bookedly-brand-primary-rgb));
}

.bookedly-content-surface .bookedly-form-hint-list {
  padding: 0.875rem 1rem;
  border-inline-start: 3px solid rgb(var(--bookedly-brand-primary-rgb) / 0.28);
  color: rgb(31 27 22 / 0.62);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.bookedly-content-surface .bookedly-form-hint-list p {
  margin: 0 0 0.35rem;
  color: var(--color-bookedly-ink);
  font-weight: 600;
}

.bookedly-content-surface .bookedly-form-hint-list ul {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  padding-inline-start: 1.1rem;
}

@media (max-width: 24rem) {
  .bookedly-content-surface .bookedly-money-summary__item {
    min-height: 4.25rem;
    padding-inline: 0.75rem;
  }
}
.bookedly-timezone-picker {
  display: grid;
  gap: 0.625rem;
  width: 100%;
}

.bookedly-timezone-picker__search,
.bookedly-timezone-picker select {
  width: 100%;
}

.bookedly-timezone-picker__count {
  color: var(--bookedly-color-text-muted, #665c54);
  font-size: 0.875rem;
}
