/**
 * Byond Lead & Meeting Manager — front-end forms.
 *
 * The plugin now owns the whole look of its three forms, so the theme rules
 * that used to style .bb-booking-form and friends are no longer needed.
 * Selectors are kept inside .bblm-form and doubled up where a theme reset is
 * likely to fight back, which avoids sprinkling !important everywhere.
 */

.bblm-form {
  --bblm-ink: #12304f;
  --bblm-ink-soft: #4a627a;
  --bblm-muted: #6b7f92;
  --bblm-accent: #e2601f;
  --bblm-accent-dark: #c44e14;
  --bblm-line: #dde5ee;
  --bblm-line-strong: #c3d1e0;
  --bblm-surface: #ffffff;
  --bblm-surface-soft: #f6f9fc;
  --bblm-error: #c0392b;
  --bblm-error-soft: #fdf3f1;
  --bblm-ok: #1a7f5a;
  --bblm-radius: 12px;
  --bblm-radius-lg: 16px;
  --bblm-shadow: 0 1px 2px rgba(18, 48, 79, .05);
  --bblm-focus: 0 0 0 3px rgba(226, 96, 31, .18);

  position: relative;
  display: block;
  /* A theme column that is a flex or grid item without min-width:0 cannot
     shrink below its content's min-content width. Everything below keeps this
     form's min-content small so it can never drag the page sideways. */
  min-width: 0;
  max-width: 100%;
  color: var(--bblm-ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.bblm-form * {
  box-sizing: border-box;
}

/* The theme has its own opinions about labels and fields inside a form. It
   was painting a background behind the consent row and adding vertical space
   the plugin had not asked for. Neutralised here, before the plugin's own
   rules run. */
.bblm-form label,
.bblm-form .bblm-field,
.bblm-form .bblm-section,
.bblm-form .bblm-section-body,
.bblm-form .bblm-footer,
.bblm-form .bblm-grid {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  min-height: 0;
  font-weight: inherit;
}

.bblm-form p {
  padding: 0;
}

.bblm-form .bblm-section,
.bblm-form .bblm-section-body,
.bblm-form .bblm-field,
.bblm-form .bblm-control-shell,
.bblm-form .bblm-footer,
.bblm-form .bblm-when,
.bblm-form .bblm-quick {
  min-width: 0;
}

.bblm-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Sections ----------------------------------------------------------------- */

.bblm-form .bblm-section {
  margin: 0 0 1.35rem;
  padding: 0 0 1.35rem;
  border-bottom: 1px solid var(--bblm-line);
}

.bblm-form .bblm-section:last-of-type {
  margin-bottom: 0;
  border-bottom: 0;
  padding-bottom: 0;
}

.bblm-form .bblm-section-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1rem;
}

.bblm-form .bblm-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bblm-ink);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.bblm-form .bblm-section-head > div {
  min-width: 0;
  flex: 1 1 auto;
}

.bblm-form .bblm-section-head small {
  display: block;
  color: var(--bblm-accent);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.bblm-form .bblm-section-head strong {
  display: block;
  margin-top: .1rem;
  color: var(--bblm-ink);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}

.bblm-form .bblm-tz-badge {
  flex: 0 0 auto;
  padding: .3rem .6rem;
  border: 1px solid var(--bblm-line-strong);
  border-radius: 999px;
  background: var(--bblm-surface-soft);
  color: var(--bblm-ink-soft);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

/* Grid and fields ---------------------------------------------------------- */

.bblm-form .bblm-grid {
  display: grid;
  gap: .9rem 1rem;
  margin: 0 0 .9rem;
}

.bblm-form .bblm-grid:last-child {
  margin-bottom: 0;
}

.bblm-form .bblm-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bblm-form .bblm-field {
  display: block;
  margin: 0 0 .9rem;
  min-width: 0;
}

.bblm-form .bblm-grid .bblm-field {
  margin: 0;
}

.bblm-form .bblm-label {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  margin: 0 0 .35rem;
  color: var(--bblm-ink);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.bblm-form .bblm-required {
  color: var(--bblm-accent);
  font-weight: 700;
}

.bblm-form .bblm-optional {
  margin-left: auto;
  color: var(--bblm-muted);
  font-size: .68rem;
  font-weight: 500;
  font-style: normal;
  text-transform: lowercase;
}

.bblm-form .bblm-control-shell {
  position: relative;
  display: block;
}

/* Controls ----------------------------------------------------------------- */

.bblm-form .bblm-control,
.bblm-form .bblm-control:focus {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: .68rem .85rem;
  border: 1px solid var(--bblm-line-strong);
  border-radius: var(--bblm-radius);
  background: var(--bblm-surface);
  box-shadow: var(--bblm-shadow);
  color: var(--bblm-ink);
  font-family: inherit;
  font-size: .9rem;
  line-height: 1.45;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.bblm-form .bblm-control::placeholder {
  color: #9aabbc;
  opacity: 1;
}

.bblm-form .bblm-control:hover:not(:focus) {
  border-color: #a9bccf;
}

.bblm-form .bblm-control:focus,
.bblm-form .bblm-control:focus-visible {
  outline: none;
  border-color: var(--bblm-accent);
  box-shadow: var(--bblm-focus);
}

.bblm-form .bblm-textarea {
  min-height: 110px;
  resize: vertical;
}

.bblm-form .bblm-textarea-shell {
  display: block;
}

.bblm-form .bblm-counter {
  position: absolute;
  right: .7rem;
  bottom: .5rem;
  padding: .1rem .35rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, .92);
  color: var(--bblm-muted);
  font-size: .66rem;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.bblm-form .bblm-counter-over {
  color: var(--bblm-error);
  font-weight: 700;
}

/* Dropdowns ---------------------------------------------------------------- */

.bblm-form .bblm-select-shell {
  position: relative;
}

.bblm-form .bblm-select,
.bblm-form select.bblm-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.4rem;
  background-image: none;
  background-color: var(--bblm-surface);
  cursor: pointer;
  text-overflow: ellipsis;
}

.bblm-form .bblm-select-empty {
  color: #9aabbc;
}

.bblm-form .bblm-select option {
  color: var(--bblm-ink);
  background: #fff;
  padding: .4rem;
}

.bblm-form .bblm-select-arrow {
  position: absolute;
  top: 50%;
  right: .95rem;
  width: 12px;
  height: 8px;
  margin-top: -4px;
  color: var(--bblm-ink-soft);
  pointer-events: none;
  transition: color .16s ease, transform .16s ease;
}

.bblm-form .bblm-select-shell:hover .bblm-select-arrow,
.bblm-form .bblm-select:focus ~ .bblm-select-arrow {
  color: var(--bblm-accent);
}

/* Date row ----------------------------------------------------------------- */

.bblm-form .bblm-when {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: .9rem 1.1rem;
}

@media (min-width: 641px) {
  .bblm-form .bblm-when {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  }
}

.bblm-form .bblm-field-date {
  margin: 0;
}

.bblm-form .bblm-date {
  min-height: 44px;
  font-variant-numeric: tabular-nums;
}

.bblm-form .bblm-date::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: .55;
  transition: opacity .16s ease;
}

.bblm-form .bblm-date:hover::-webkit-calendar-picker-indicator {
  opacity: 1;
}

.bblm-form .bblm-quick {
  position: relative;
  min-width: 0;
}

/* The chip strip scrolls sideways on a narrow screen. A fade on the right
   edge is the only cue that there is more to see. */
.bblm-form .bblm-quick::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 34px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 78%);
  pointer-events: none;
}

.bblm-form .bblm-quick-label {
  display: block;
  margin: 0 0 .35rem;
  color: var(--bblm-muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.bblm-form .bblm-quick-list {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.bblm-form .bblm-chip {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: .28rem;
  padding: .45rem .6rem;
  border: 1px solid var(--bblm-line-strong);
  border-radius: 10px;
  background: var(--bblm-surface);
  color: var(--bblm-ink-soft);
  font-family: inherit;
  font-size: .74rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

.bblm-form .bblm-chip:hover {
  border-color: var(--bblm-accent);
  color: var(--bblm-ink);
}

.bblm-form .bblm-chip:focus-visible {
  outline: none;
  box-shadow: var(--bblm-focus);
}

.bblm-form .bblm-chip-day {
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: .64rem;
}

.bblm-form .bblm-chip-date {
  font-weight: 700;
  font-size: .88rem;
  color: var(--bblm-ink);
}

.bblm-form .bblm-chip-month {
  font-size: .66rem;
  text-transform: uppercase;
}

.bblm-form .bblm-chip-active {
  border-color: var(--bblm-ink);
  background: var(--bblm-ink);
  color: #fff;
}

.bblm-form .bblm-chip-active .bblm-chip-date {
  color: #fff;
}

.bblm-form .bblm-availability {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  margin: .85rem 0 0;
  color: var(--bblm-muted);
  font-size: .74rem;
  line-height: 1.45;
}

.bblm-form .bblm-availability svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: .12rem;
}

/* Time slots ---------------------------------------------------------------
   Five stacked full-width rows became a four-across grid, which is where most
   of the vertical space on the booking page was going. */

.bblm-form .bblm-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(148px, 100%), 1fr));
  gap: .55rem;
}

.bblm-form .bblm-slot {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.bblm-form .bblm-slot-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.bblm-form .bblm-slot-body {
  position: relative;
  display: block;
  padding: .6rem .7rem;
  border: 1px solid var(--bblm-line-strong);
  border-radius: var(--bblm-radius);
  background: var(--bblm-surface);
  box-shadow: var(--bblm-shadow);
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.bblm-form .bblm-slot:hover .bblm-slot-body {
  border-color: var(--bblm-accent);
  transform: translateY(-1px);
}

.bblm-form .bblm-slot-primary {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  color: var(--bblm-ink);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.2;
}

.bblm-form .bblm-slot-primary em {
  font-style: normal;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--bblm-muted);
}

.bblm-form .bblm-slot-secondary {
  display: block;
  margin-top: .18rem;
  color: var(--bblm-muted);
  font-size: .68rem;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.bblm-form .bblm-slot-local {
  display: block;
  color: var(--bblm-accent);
  font-weight: 600;
}

.bblm-form .bblm-slot-tick {
  position: absolute;
  top: .55rem;
  right: .55rem;
  width: 13px;
  height: 13px;
  color: #fff;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .16s ease, transform .16s ease;
}

.bblm-form .bblm-slot-input:checked ~ .bblm-slot-body {
  border-color: var(--bblm-ink);
  background: var(--bblm-ink);
  box-shadow: 0 6px 16px rgba(18, 48, 79, .18);
}

.bblm-form .bblm-slot-input:checked ~ .bblm-slot-body .bblm-slot-primary,
.bblm-form .bblm-slot-input:checked ~ .bblm-slot-body .bblm-slot-primary em,
.bblm-form .bblm-slot-input:checked ~ .bblm-slot-body .bblm-slot-secondary,
.bblm-form .bblm-slot-input:checked ~ .bblm-slot-body .bblm-slot-local {
  color: #fff;
}

.bblm-form .bblm-slot-input:checked ~ .bblm-slot-body .bblm-slot-primary em,
.bblm-form .bblm-slot-input:checked ~ .bblm-slot-body .bblm-slot-secondary {
  color: rgba(255, 255, 255, .78);
}

.bblm-form .bblm-slot-input:checked ~ .bblm-slot-body .bblm-slot-tick {
  opacity: 1;
  transform: scale(1);
}

.bblm-form .bblm-slot-input:focus-visible ~ .bblm-slot-body {
  border-color: var(--bblm-accent);
  box-shadow: var(--bblm-focus);
}

.bblm-form .bblm-slot-disabled {
  cursor: not-allowed;
}

.bblm-form .bblm-slot-disabled .bblm-slot-body {
  opacity: .42;
  background: var(--bblm-surface-soft);
  transform: none;
  box-shadow: none;
}

.bblm-form .bblm-slot-disabled .bblm-slot-input {
  cursor: not-allowed;
}

.bblm-form .bblm-hint-slots {
  margin-top: .7rem;
}

/* Hints, errors and the summary -------------------------------------------- */

.bblm-form .bblm-hint {
  margin: .35rem 0 0;
  color: var(--bblm-muted);
  font-size: .72rem;
  line-height: 1.45;
}

.bblm-form .bblm-error {
  display: flex;
  align-items: flex-start;
  gap: .3rem;
  margin: .35rem 0 0;
  color: var(--bblm-error);
  font-size: .73rem;
  font-weight: 600;
  line-height: 1.4;
}

.bblm-form .bblm-error[hidden] {
  display: none;
}

.bblm-form .bblm-error::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: .42rem;
  border-radius: 50%;
  background: currentColor;
}

.bblm-form .bblm-has-error .bblm-control {
  border-color: var(--bblm-error);
  background: var(--bblm-error-soft);
}

/* Ringing the whole group reads better than turning seven cards red. */
.bblm-form .bblm-field-slots.bblm-has-error .bblm-slots {
  margin: -.5rem;
  padding: .5rem;
  border-radius: 14px;
  background: var(--bblm-error-soft);
  box-shadow: inset 0 0 0 1px rgba(192, 57, 43, .38);
}

.bblm-form .bblm-field-slots.bblm-has-error .bblm-error {
  margin-top: .75rem;
}

.bblm-form .bblm-has-error .bblm-control:focus {
  box-shadow: 0 0 0 3px rgba(192, 57, 43, .16);
}

.bblm-form .bblm-is-valid .bblm-control:not(:focus) {
  border-color: #b7d6c7;
}

.bblm-summary {
  margin: 0 0 1.1rem;
  padding: .85rem 1rem;
  border: 1px solid #efb2aa;
  border-left: 3px solid var(--bblm-error, #c0392b);
  border-radius: 12px;
  background: #fdf3f1;
  color: #8a2c20;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .8rem;
  line-height: 1.5;
}

.bblm-summary[hidden] {
  display: none;
}

.bblm-summary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, .16);
}

.bblm-summary-title {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: 0 0 .35rem;
  font-size: .82rem;
  font-weight: 700;
}

.bblm-summary-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.bblm-summary ul {
  margin: .3rem 0 0;
  padding-left: 1.15rem;
  list-style: disc;
}

.bblm-summary li {
  margin: .18rem 0;
}

.bblm-summary-link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.bblm-summary-link:hover {
  color: var(--bblm-error, #c0392b);
}

/* Footer ------------------------------------------------------------------- */

.bblm-form .bblm-footer {
  margin-top: 1.15rem;
}

.bblm-form .bblm-recap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .45rem;
  margin: 0 0 .85rem;
  padding: .6rem .85rem;
  border: 1px dashed var(--bblm-line-strong);
  border-radius: var(--bblm-radius);
  background: var(--bblm-surface-soft);
  font-size: .8rem;
}

.bblm-form .bblm-recap[hidden] {
  display: none;
}

.bblm-form .bblm-recap-label {
  color: var(--bblm-accent);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bblm-form .bblm-recap strong {
  min-width: 0;
  color: var(--bblm-ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

/* Consent ------------------------------------------------------------------ */

.bblm-form .bblm-field-consent {
  margin: 0 0 .95rem;
}

.bblm-form .bblm-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: .6rem;
  align-items: start;
  margin: 0;
  color: var(--bblm-ink-soft);
  font-size: .76rem;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
}

/**
 * One element, not two.
 *
 * The previous version hid the real checkbox with opacity and drew a
 * replacement box next to it. The theme forces checkboxes back to
 * `appearance: checkbox; opacity: 1`, so the real one reappeared and the
 * visitor saw two squares. Styling the native input directly means there is
 * only ever one box on screen, whatever the theme does.
 */
.bblm-form .bblm-consent input[type="checkbox"] {
  position: relative !important;
  display: inline-block !important;
  flex: none;
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: .05rem 0 0 !important;
  padding: 0 !important;
  border: 1px solid var(--bblm-line-strong) !important;
  border-radius: 5px !important;
  background: #fff !important;
  box-shadow: none !important;
  opacity: 1 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}

.bblm-form .bblm-consent input[type="checkbox"]::before,
.bblm-form .bblm-consent input[type="checkbox"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: no-repeat center / 11px 11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.6 7.3 5.6 10.3 11.4 4.2' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  opacity: 0;
  transition: opacity .15s ease;
}

.bblm-form .bblm-consent input[type="checkbox"]:checked {
  border-color: var(--bblm-ink) !important;
  background: var(--bblm-ink) !important;
}

.bblm-form .bblm-consent input[type="checkbox"]:checked::after {
  opacity: 1;
}

.bblm-form .bblm-consent input[type="checkbox"]:focus-visible {
  outline: none;
  border-color: var(--bblm-accent) !important;
  box-shadow: var(--bblm-focus) !important;
}

.bblm-form .bblm-consent-text {
  min-width: 0;
}

.bblm-form .bblm-has-error .bblm-consent input[type="checkbox"] {
  border-color: var(--bblm-error) !important;
  background: var(--bblm-error-soft) !important;
}

/* Submit ------------------------------------------------------------------- */

.bblm-form .bblm-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  min-height: 48px;
  padding: .8rem 1.4rem;
  border: 0;
  border-radius: var(--bblm-radius);
  background: var(--bblm-accent);
  box-shadow: 0 6px 18px rgba(226, 96, 31, .22);
  color: #fff;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.bblm-form .bblm-submit:hover:not([disabled]) {
  background: var(--bblm-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(226, 96, 31, .28);
}

.bblm-form .bblm-submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(226, 96, 31, .3);
}

.bblm-form .bblm-submit[disabled] {
  cursor: wait;
  opacity: .76;
  transform: none;
}

.bblm-form .bblm-submit-arrow {
  width: 15px;
  height: 11px;
  transition: transform .16s ease;
}

.bblm-form .bblm-submit:hover:not([disabled]) .bblm-submit-arrow {
  transform: translateX(3px);
}

.bblm-form .bblm-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: bblm-spin .7s linear infinite;
}

.bblm-form .bblm-submit[aria-busy="true"] .bblm-spinner {
  display: block;
}

.bblm-form .bblm-submit[aria-busy="true"] .bblm-submit-arrow {
  display: none;
}

@keyframes bblm-spin {
  to { transform: rotate(360deg); }
}

.bblm-form .bblm-privacy {
  margin: .7rem 0 0;
  color: var(--bblm-muted);
  font-size: .7rem;
  line-height: 1.45;
  text-align: center;
}

/* Callback form is a narrow widget, so it gets its own rhythm. */

.bblm-form-callback .bblm-field {
  margin-bottom: .8rem;
}

/* Small screens ------------------------------------------------------------ */

@media (max-width: 640px) {
  .bblm-form .bblm-grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .bblm-form .bblm-slots {
    grid-template-columns: repeat(auto-fit, minmax(min(128px, 100%), 1fr));
  }

  .bblm-form .bblm-when {
    align-items: stretch;
  }

  .bblm-form .bblm-section-head {
    flex-wrap: wrap;
  }

  .bblm-form .bblm-tz-badge {
    order: 3;
    margin: .3rem 0 0 42px;
  }

  /* iOS zooms the page in whenever a focused control is under 16px. */
  .bblm-form input:not([type="checkbox"]):not([type="radio"]),
  .bblm-form select,
  .bblm-form textarea {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bblm-form *,
  .bblm-summary * {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}
