/* Booking form: rebuild of the iClosed scheduler layout. All visual tokens live here. */
.bf {
  --bf-bg: #ffffff;
  --bf-page: #f7f8fa;
  --bf-border: #d1d5db;
  --bf-text: #111928;
  --bf-text-2: rgba(17,25,40,.733);
  --bf-muted: #9aa0ad;
  --bf-faint: #c4c8d0;
  --bf-input: #f9fafb;
  --bf-input-border: #d1d5db;
  --bf-focus: #111928;
  --bf-accent: linear-gradient(135deg, #000000 0%, #031953 100%);
  --bf-accent-solid: #031953;
  --bf-day: rgba(3,25,83,.3);
  --bf-danger: #e5484d;
  --bf-ok-bg: #e8f7ee;
  --bf-ok-border: #b7e4c7;
  --bf-ok-text: #1f7a45;
  --bf-banner: #3b82f6;
  --bf-radius: 8px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--bf-text);
  font-size: 14px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
.bf *, .bf *::before, .bf *::after { box-sizing: border-box; }

.bf-card {
  background: var(--bf-bg);
  border: 1px solid var(--bf-border);
  border-radius: 8px;
  width: 810px;
  max-width: 100%;
  overflow: hidden;
}
.bf-card.is-cal-only { width: 405px; }
.bf-card.is-cal-times { width: 640px; }
.bf-card.is-done { width: 510px; }

/* Step strip */
.bf-steps { display: flex; justify-content: center; align-items: center; gap: 22px; height: 41px; box-sizing: border-box; border-bottom: 1px solid var(--bf-border); font-size: 14px; line-height: 20px; }
.bf-step { display: flex; align-items: center; gap: 8px; color: var(--bf-muted); }
.bf-step::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bf-faint); }
.bf-step.is-active { color: var(--bf-text); }
.bf-step.is-active::before { background: var(--bf-text); }
.bf-step.is-done::before { width: 12px; height: 8px; border-radius: 0; background: none; border-left: 1.5px solid var(--bf-muted); border-bottom: 1.5px solid var(--bf-muted); transform: rotate(-45deg) translateY(-2px); }

/* Two panes */
.bf-body { display: grid; grid-template-columns: 405px 1fr; min-height: 480px; }
.bf-pane { padding: 24px; }
.bf-pane + .bf-pane { border-left: 1px solid var(--bf-border); }
.is-cal-only .bf-body, .is-done .bf-body { grid-template-columns: 1fr; }
.is-cal-times .bf-body { grid-template-columns: 1fr 230px; }

/* Form pane */
.bf-logo { font-weight: 700; font-size: 15px; line-height: 24px; height: 24px; letter-spacing: -.01em; margin-bottom: 16px; }
.bf-title { font-size: 20px; font-weight: 600; line-height: 24px; margin: 0 0 12px; letter-spacing: -.01em; }
.bf-intro { color: var(--bf-text-2); font-size: 14px; line-height: 17.5px; }
.bf-intro { margin-top: 12px; }
.bf-intro p { margin: 0 0 17.5px; }
.bf-fields { display: grid; gap: 16px; margin-top: 13px; }
.bf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bf-label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 8px; }
.bf-label .req { color: var(--bf-danger); }
.bf-input, .bf-select-btn {
  width: 100%; height: 40px; box-sizing: border-box; padding: 0 16px;
  background: var(--bf-input); border: 1px solid var(--bf-input-border); border-radius: var(--bf-radius);
  font: inherit; color: var(--bf-text); outline: none;
}
.bf-input::placeholder { color: #4b5563; }
.bf-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 1px #2563eb; }
.bf-input { color: #374151; line-height: 1.25; }
.bf-input.is-invalid, .bf-select.is-invalid .bf-select-btn, .bf-phone.is-invalid { border-color: var(--bf-danger); box-shadow: none; }
.bf-error { color: var(--bf-danger); font-size: 12px; margin-top: 6px; }
.bf-highlight { animation: bf-blink 1.2s ease-in-out 2; }
@keyframes bf-blink { 50% { box-shadow: 0 0 0 3px rgba(17,19,24,.18); } }

.bf-phone { display: flex; height: 40px; box-sizing: border-box; background: var(--bf-input); border: 1px solid var(--bf-input-border); border-radius: var(--bf-radius); }
.bf-phone select { appearance: none; border: 0; border-right: 1px solid var(--bf-input-border); background: transparent; font: inherit; padding: 0 22px 0 10px; border-radius: var(--bf-radius) 0 0 var(--bf-radius); outline: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #444 50%), linear-gradient(135deg, #444 50%, transparent 50%);
  background-position: calc(100% - 11px) 16px, calc(100% - 7px) 16px; background-size: 4px 4px; background-repeat: no-repeat; }
.bf-phone input { flex: 1; border: 0; background: transparent; font: inherit; padding: 0 10px; outline: none; min-width: 0; }

.bf-select { position: relative; }
.bf-select-btn { display: flex; align-items: center; justify-content: space-between; text-align: left; cursor: pointer; }
.bf-select-btn .ph { color: var(--bf-text-2); }
.bf-select-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid #555; border-bottom: 1.5px solid #555; transform: rotate(45deg) translateY(-2px); flex: none; margin-left: 8px; transition: transform .15s; }
.bf-select.is-open .bf-select-btn::after { transform: rotate(-135deg) translateY(-2px); }
.bf-options { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; right: 0; margin: 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid var(--bf-border); border-radius: var(--bf-radius); box-shadow: 0 8px 24px rgba(16,24,40,.10); max-height: 240px; overflow: auto; }
.bf-options li { padding: 6px 10px; height: 28px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.bf-options li:hover, .bf-options li.is-active { background: #f2f3f5; }
.bf-options li.is-selected::after { content: ""; width: 9px; height: 5px; border-left: 1.5px solid #3b6fe0; border-bottom: 1.5px solid #3b6fe0; transform: rotate(-45deg); margin-right: 4px; }

.bf-consent { font-size: 12px; line-height: 18px; color: var(--bf-text); margin: 18px 0 14px; }
.bf-consent a { color: inherit; font-weight: 600; }
.bf-btn { width: 100%; height: 40px; border: 0; border-radius: var(--bf-radius); background: var(--bf-accent); color: #fff; font: inherit; font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.bf-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg); }
.bf-btn:disabled { opacity: .75; cursor: default; }
@container (max-width: 767px) { .bf-btn { height: 44px; } }
.bf-reveal { display: grid; gap: 16px; animation: bf-in .25s ease; }
@keyframes bf-in { from { opacity: 0; transform: translateY(-4px); } }

/* Calendar */
.bf-cal { position: relative; }
.bf-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.bf-month { font-size: 14px; line-height: 20px; color: #09090b; font-weight: 500; }
.bf-nav { display: flex; gap: 4px; }
.bf-nav button { width: 32px; height: 32px; padding: 0; border: 0; background: transparent; border-radius: 6px; cursor: pointer; display: grid; place-items: center; }
.bf-nav button::before { content: ""; width: 6px; height: 6px; border-left: 1.5px solid #09090b; border-bottom: 1.5px solid #09090b; transform: rotate(45deg) translate(1px,-1px); }
.bf-nav button.next::before { transform: rotate(-135deg) translate(1px,-1px); }
.bf-nav button:disabled { opacity: .5; cursor: default; }
.bf-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 8px; text-align: center; }
.bf-dow { display: block; font-size: 12.8px; font-weight: 400; text-transform: lowercase; color: #71717a; padding-bottom: 4px; }
.bf-dow::first-letter { text-transform: uppercase; }
.bf-day { position: relative; height: 40px; width: 40px; margin: 0 auto; padding: 0; border: 0; background: none; border-radius: 6px; font: inherit; font-size: 14px; font-weight: 400; color: #a1a1aa; display: grid; place-items: center; cursor: default; }
.bf-day.is-avail { color: #09090b; cursor: pointer; }
.bf-day.is-avail:hover { background: rgba(3,25,83,.1); color: #031953; box-shadow: inset 0 0 0 1px rgba(3,25,83,.25); }
.bf-day.is-today { background: #f4f4f5; color: #09090b; }
.bf-day.is-selected, .bf-day.is-selected:hover { background: var(--bf-accent); color: #fff; box-shadow: none; }
.bf-cal.is-locked .bf-grid, .bf-cal.is-locked .bf-cal-head { opacity: .3; pointer-events: none; }
.bf-overlay { position: absolute; left: 50%; top: 54%; transform: translate(-50%,-50%); width: 270px; max-width: 80%; box-sizing: border-box; background: #fff; border: 1px solid var(--bf-border); border-radius: 4px; box-shadow: none; padding: 12px; text-align: center; font-size: 14px; line-height: 20px; color: var(--bf-text); }
.bf-tz { display: flex; align-items: center; gap: 8px; margin-top: 26px; color: var(--bf-text-2); font-size: 13px; }
.bf-tz select { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; outline: none; max-width: 100%; }

.bf-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--bf-border); border-top: 3px solid var(--bf-banner); border-radius: 6px; padding: 8px 12px; font-size: 12px; margin-bottom: 18px; }
.bf-banner b { font-variant-numeric: tabular-nums; font-size: 13px; }

/* Times */
.bf-times-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.bf-times-head b { font-weight: 500; font-size: 14px; }
.bf-toggle { display: flex; border: 1px solid var(--bf-border); border-radius: 6px; overflow: hidden; }
.bf-toggle button { border: 0; background: #fff; font: inherit; font-size: 12px; padding: 4px 7px; cursor: pointer; color: var(--bf-text-2); }
.bf-toggle button.is-on { background: #eef1f6; color: var(--bf-text); }
.bf-times { display: grid; gap: 8px; max-height: 390px; overflow: auto; padding-right: 6px; }
.bf-slot { display: flex; gap: 8px; }
.bf-slot button { flex: 1; height: 36px; border: 1px solid #e4e4e7; background: #fff; color: #09090b; border-radius: 6px; font: inherit; font-weight: 500; font-size: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.05); cursor: pointer; }
.bf-slot button:hover { background: rgba(3,25,83,.06); border-color: #031953; color: #031953; }
.bf-slot .confirm { background: var(--bf-accent); color: #fff; border: 0; animation: bf-in .15s ease; }
.bf-slot button.confirm, .bf-slot button.confirm:hover { background: var(--bf-accent); color: #fff; border: 0; box-shadow: none; }
.bf-slot button.confirm:hover { filter: brightness(1.15); }
.bf-empty { color: var(--bf-muted); font-size: 13px; }

/* Confirmation */
.bf-done { padding: 24px 20px; }
.bf-done h2 { text-align: center; font-size: 18px; font-weight: 600; margin: 4px 0 16px; }
.bf-ok { background: var(--bf-ok-bg); border: 1px solid var(--bf-ok-border); color: var(--bf-ok-text); border-radius: 6px; padding: 8px 14px; text-align: center; font-size: 12.5px; margin-bottom: 18px; }
.bf-details { border: 1px solid var(--bf-border); border-radius: 8px; padding: 0 14px; }
.bf-details > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; font-size: 13px; }
.bf-details > div + div { border-top: 1px solid var(--bf-border); }
.bf-details .k { color: var(--bf-text-2); }
.bf-details .v { font-weight: 600; text-align: right; }
.bf-host small { display: block; color: var(--bf-text-2); font-size: 12.5px; margin-bottom: 4px; }
.bf-host b { font-weight: 500; font-size: 14px; }
.bf-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--bf-accent); color: #fff; display: grid; place-items: center; font-weight: 600; flex: none; }
.bf-addcal { text-align: center; margin-top: 22px; font-size: 12px; }
.bf-addcal div { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.bf-addcal a { width: 33px; height: 33px; border: 1px solid var(--bf-border); border-radius: 6px; display: grid; place-items: center; text-decoration: none; color: var(--bf-text); font-size: 12px; font-weight: 600; }

.bf-foot { border-top: 1px solid var(--bf-border); height: 24px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 500; color: var(--bf-text); gap: 4px; }
.bf-foot b { font-weight: 700; }

/* Phone: panes stack, calendar under the form */

.bf [hidden] { display: none !important; }
.bf { max-width: 100%; min-width: 0; }

/* matched to iClosed screens 07, 08, 10 */
.bf-ico { width: 16px; height: 16px; flex: none; color: var(--bf-text-2); vertical-align: -3px; }
.bf-tz { display: flex; align-items: center; gap: 8px; }
.bf-cal.has-slots .bf-month { color: var(--bf-text); }
.bf-details .k { display: inline-flex; align-items: center; gap: 8px; }
.bf-details .v { display: inline-flex; align-items: center; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.bf-zoom { width: 20px; height: 20px; border-radius: 50%; background: #4a8cff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Crect x='4' y='8' width='11' height='8' rx='2'/%3E%3Cpath d='M16 11l4-2.5v7L16 13z'/%3E%3C/svg%3E") center/14px no-repeat; }
.bf-addcal a.g { font-weight: 700; background: linear-gradient(90deg,#4285f4 0 25%,#ea4335 25% 50%,#fbbc05 50% 75%,#34a853 75%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bf-addcal a.o { color: #0a64c8; font-weight: 700; }
.bf-addcal a .bf-ico { color: var(--bf-text); }
/* flag-only country picker, dial code lives in the input (screen 11) */
.bf-cc { position: relative; display: flex; align-items: center; gap: 4px; padding: 0 8px 0 10px; border-right: 1px solid var(--bf-input-border); cursor: pointer; }
.bf-cc::after { content: ""; border: 4px solid transparent; border-top: 5px solid var(--bf-text-2); margin-top: 4px; }
.bf-flag { font-size: 18px; line-height: 1; }
.bf-phone .bf-cc select { position: absolute; inset: 0; opacity: 0; width: 100%; padding: 0; border: 0; }

/* ---- motion + dropdown, measured on iClosed's live form (10-31) ---- */
/* First field: 2px border blinking every 1s, linear, until the first keystroke. */
.bf-phone { transition: border-color .2s ease, box-shadow .2s ease; }
.bf-phone.bf-highlight { border: 2px solid #111928; animation: bf-breathe 2.4s ease-in-out infinite; }
@keyframes bf-breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(17,25,40,0); } 50% { box-shadow: 0 0 0 4px rgba(17,25,40,.10); } }
/* Questions fade and slide in. */
.bf-reveal { animation: bf-in .28s cubic-bezier(.2,.8,.2,1); }
/* Dropdown: Headless UI listbox. Opens instantly, closes with a 100ms ease-in fade, chevron flips instantly. */
.bf-select-btn { height: 40px; background: #f9fafb; border-color: #d1d5db; }
.bf-select.is-open .bf-select-btn { border-color: #d1d5db; box-shadow: none; }
.bf-select-btn::after { transition: none; }
.bf-options { top: calc(100% + 4px); padding: 4px 0; border: 0; border-radius: 6px; max-height: none; overflow: visible;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); }
.bf-options.is-leaving { opacity: 0; transition: opacity .1s cubic-bezier(.4,0,1,1); }
.bf-options li { position: relative; height: auto; min-height: 36px; padding: 8px 40px 8px 12px; font-size: 14px; line-height: 20px; color: #111928; display: block; }
.bf-options li:hover, .bf-options li.is-active { background: #f9fafb; }
.bf-options li.is-selected { background: #f3f4f6; }
.bf-options li.is-selected::after { position: absolute; right: 16px; top: 50%; width: 10px; height: 5px; margin: -4px 0 0; border-color: #2563eb; border-width: 0 0 2px 2px; border-style: solid; transform: rotate(-45deg); }
/* Countdown: 4px blue bar along the top that empties over the timer, ease-in. */
.bf-banner { position: relative; overflow: hidden; border: 1px solid #d1d5db; border-radius: 8px; padding: 12px 16px; font-size: 13px; }
.bf-banner span { font-weight: 500; flex: 1; min-width: 0; }
.bf-banner b { width: 36px; text-align: right; }
.bf-banner::before { content: ""; position: absolute; top: 0; left: 0; height: 4px; width: 100%; background: #3b82f6; border-radius: 8px 8px 0 0;
  animation: bf-timer var(--bf-timer, 180s) ease-in forwards; animation-delay: var(--bf-timer-delay, 0s); }
@keyframes bf-timer { from { width: 100%; } to { width: 0; } }
/* Confirm grows in beside the picked time. */
.bf-slot .confirm { animation: bf-pop .18s cubic-bezier(.2,.8,.2,1); }

/* ---- responsive: iClosed's container breakpoints (520 / 768 / 900), measured 10-31 ----
   Container queries, so an embed in a narrow column behaves like a small screen. */
.bf { container-type: inline-size; width: 100%; }
.bf-card { margin: 0 auto; }
/* < 900: form and calendar stack in a 480px card */
@container (max-width: 899px) {
  .bf-card { width: 480px; }
  .bf-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .bf-pane + .bf-pane { border-left: 0; border-top: 1px solid var(--bf-border); }
  .bf-pane { padding: 20px; }
}
/* 768 - 899: the booking step keeps calendar and times side by side */
@container (min-width: 768px) and (max-width: 899px) {
  .bf-card.is-cal-times { width: 640px; }
  .is-cal-times .bf-body { grid-template-columns: 1fr 230px; }
  .is-cal-times .bf-pane + .bf-pane { border-top: 0; border-left: 1px solid var(--bf-border); }
}
/* < 768: times drop under the calendar */
@container (max-width: 767px) {
  .bf-card.is-cal-times { width: 480px; }
  .is-cal-times .bf-body { grid-template-columns: minmax(0, 1fr); }
  .bf-times { max-height: none; }
}
/* < 520: edge to edge, no border or corners */
@container (max-width: 519px) {
  .bf-card, .bf-card.is-cal-only, .bf-card.is-cal-times, .bf-card.is-done { width: 100%; border: 0; border-radius: 0; }
}

/* Phone widths, measured on iClosed at 375px: taller step strip, no line between form and calendar */
@container (max-width: 519px) {
  .bf-steps { height: 52px; gap: 12px; }
  .bf-card:not(.is-cal-only):not(.is-cal-times) .bf-pane + .bf-pane { border-top: 0; padding-top: 40px; }
}

/* ---------- Motion: no flicker ----------
   The card is patched in place, so only things that really change move. Step changes
   morph the card's size with a View Transition; small state changes ease. */
.bf { transition: opacity .25s ease; }
.bf.is-loading { opacity: 0; }
.bf-input, .bf-select-btn { transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.bf-btn { transition: filter .15s ease, transform .1s ease, opacity .15s ease; }
.bf-btn:hover:not(:disabled) { filter: brightness(1.15); }
.bf-btn:active:not(:disabled) { transform: scale(.985); }
.bf-day { transition: background-color .1s ease, color .1s ease, box-shadow .1s ease, transform .1s ease; }
.bf-day.is-avail:active { transform: scale(.94); }
.bf-nav button { transition: background-color .15s ease, opacity .15s ease; }
.bf-nav button:hover:not(:disabled) { background: #f9fafb; }
.bf-slot button { transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.bf-cal.is-locked .bf-grid, .bf-cal.is-locked .bf-cal-head { transition: opacity .25s ease; }
.bf-overlay { animation: bf-fade .2s ease; }
.bf-options:not([hidden]):not(.is-leaving) { animation: bf-drop .14s cubic-bezier(.2,.8,.2,1); transform-origin: top; }
.bf-select-btn::after { transition: transform .18s ease; }
.bf-error:not([hidden]) { animation: bf-fade .18s ease; }
@keyframes bf-fade { from { opacity: 0; } }
@keyframes bf-drop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
@keyframes bf-pop { from { opacity: 0; transform: translateX(-6px); } }

/* Step change: the card glides to its new size while the content cross-fades. */
::view-transition-group(*) { animation-duration: .32s; animation-timing-function: cubic-bezier(.2,.8,.2,1); }
::view-transition-old(*), ::view-transition-new(*) { height: 100%; width: 100%; object-fit: none; object-position: top center; }
::view-transition-old(*) { animation: bf-vt-out .16s ease both; }
::view-transition-new(*) { animation: bf-vt-in .24s ease .08s both; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
@keyframes bf-vt-out { to { opacity: 0; } }
@keyframes bf-vt-in { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .bf *, .bf { animation: none !important; transition: none !important; }
  .bf-banner::before { animation: bf-timer var(--bf-timer, 180s) linear forwards !important; animation-delay: var(--bf-timer-delay, 0s) !important; }
}

/* ---------- Variant pieces (all off unless the config turns them on) ---------- */
/* Tap options: every answer visible, one tap */
.bf-taps { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.bf-tap { min-height: 40px; padding: 9px 12px; border: 1px solid var(--bf-input-border); border-radius: var(--bf-radius); background: var(--bf-input);
  font: inherit; font-size: 14px; line-height: 20px; color: #374151; text-align: left; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease; }
.bf-tap:hover { border-color: #9ca3af; background: #fff; }
.bf-tap:focus-visible { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 1px #2563eb; }
.bf-tap[aria-checked="true"] { border-color: #2563eb; background: #eff6ff; color: var(--bf-text); box-shadow: 0 0 0 1px #2563eb; font-weight: 500; }
.bf-tap:active { transform: scale(.985); }
.bf-taps.is-invalid .bf-tap { border-color: var(--bf-danger); }
@container (max-width: 519px) { .bf-taps { grid-template-columns: 1fr 1fr; } .bf-tap { min-height: 44px; } }

/* Testimonial right above the fields */
.bf-proof { margin: 16px 0 0; padding: 14px 16px; border: 1px solid var(--bf-border); border-left: 3px solid var(--bf-accent-solid); border-radius: var(--bf-radius); background: #fcfcfd; }
.bf-proof blockquote { margin: 0; font-size: 14px; line-height: 20px; color: var(--bf-text); }
.bf-proof blockquote::before { content: "“"; } .bf-proof blockquote::after { content: "”"; }
.bf-proof figcaption { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; }
.bf-proof figcaption img, .bf-proof-ini { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; }
.bf-proof-ini { display: grid; place-items: center; background: var(--bf-accent); color: #fff; font-weight: 600; font-size: 12px; }
.bf-proof b { font-weight: 600; display: block; }
.bf-proof small { color: var(--bf-text-2); font-size: 12px; }

/* Honest demand cue: what the calendar really says */
.bf-cues { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 10px 14px; margin-bottom: 18px; border: 1px solid var(--bf-border); border-radius: var(--bf-radius); font-size: 13px; color: var(--bf-text-2); }
.bf-cues i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px #dcfce7; flex: none; }
.bf-cues b { color: var(--bf-text); font-weight: 600; }
.bf-cues .n { margin-left: auto; }
@container (max-width: 519px) { .bf-cues .n { margin-left: 20px; } }

/* Soonest badge on the earliest time */
.bf-slot button { position: relative; }
.bf-soon { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 10.5px; font-weight: 600; line-height: 16px; padding: 0 6px; border-radius: 999px; background: #eff6ff; color: #1d4ed8; }
.bf-slot.is-soon > button:first-child { border-color: #93c5fd; }

/* Confirmation: commitment, bigger calendar buttons, real photo, cost of missing */
.bf-avatar { overflow: hidden; }
.bf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bf-tzline { display: block; flex-basis: 100%; text-align: right; font-weight: 400; color: var(--bf-text-2); font-size: 12px; margin-top: 2px; }
.bf-commit { margin: 0 0 18px; padding: 16px; border: 1px solid var(--bf-border); border-radius: var(--bf-radius); background: #fcfcfd; animation: bf-fade .2s ease; }
.bf-commit textarea { height: auto; min-height: 64px; padding: 10px 16px; resize: vertical; margin-bottom: 12px; display: block; }
.bf-commit .bf-btn { margin-top: 0; }
.bf-commit.is-done { background: var(--bf-ok-bg); border-color: var(--bf-ok-border); color: var(--bf-ok-text); font-size: 13px; text-align: center; }
.bf-addcal.is-big { font-size: 13px; font-weight: 600; }
.bf-addcal.is-big div { gap: 10px; }
.bf-addcal.is-big a { width: 48px; height: 44px; border-radius: 8px; transition: border-color .15s ease, background-color .15s ease; }
.bf-addcal.is-big a:hover { border-color: var(--bf-text); background: #f9fafb; }
.bf-miss { margin: 18px 0 0; text-align: center; font-size: 12.5px; line-height: 18px; color: var(--bf-text-2); }

