/*
 * Booking screens, and the shared pieces the account and buying pages build on
 * (buttons, fields, choices, cards, the toast).
 *
 * Every color, font and size comes from the theme's design tokens when the theme has them
 * (--ink, --surface, --gold, --serif, --fs-body…), with a plain fallback so the booking also
 * looks right on a theme without them. Change the look in the theme, not here: a theme can
 * restyle any .blvdc- class, or set the --blvdc- values below.
 *
 * Three levels, so the eye can tell areas apart:
 *   the page (--blvdc-surface), cards on it (--blvdc-card, lighter, with a soft shadow),
 *   and the dark summary panel (--blvdc-dark).
 */

.blvdc-booking,
.blvdc-page,
.blvdc-toast {
	--blvdc-surface: var(--surface, #f3f1ea);
	--blvdc-surface-soft: var(--surface-warm, #f6f4ee);
	--blvdc-card: var(--surface-card, #fbf9f3);
	--blvdc-ink: var(--ink, #222);
	--blvdc-ink-soft: var(--ink-soft, #4a4a4a);
	--blvdc-link: var(--link, #3d3128);
	--blvdc-accent: var(--gold, #b8955a);
	--blvdc-accent-fill: var(--gold-surface, #b8955a);
	--blvdc-on-accent: var(--on-gold, #fff);
	--blvdc-dark: var(--dark, #2b2b2b);
	--blvdc-on-dark: var(--paper, #fff);
	--blvdc-on-dark-label: var(--gold-light, #e0c48a);
	--blvdc-rule: var(--rule, rgba(0, 0, 0, .18));
	--blvdc-rule-on-dark: var(--rule-on-dark, rgba(255, 255, 255, .25));
	--blvdc-scrim: var(--scrim, rgba(0, 0, 0, .7));
	--blvdc-error: var(--error, #8a1c1c);
	--blvdc-heading: var(--serif, Georgia, serif);
	--blvdc-text: var(--sans, system-ui, sans-serif);
	--blvdc-ui: var(--ui, system-ui, sans-serif);
	--blvdc-fs-label: var(--fs-label, 13px);
	--blvdc-fs-button: var(--fs-button, 14px);
	--blvdc-fs-small: var(--fs-small, 15px);
	--blvdc-fs-body: var(--fs-body, 17px);
	--blvdc-fs-h4: var(--fs-h4, 22px);
	--blvdc-fs-h3: var(--fs-h3, 28px);
	--blvdc-tracking: var(--label-tracking, .14em);
	--blvdc-radius: var(--radius-card, 12px);
	--blvdc-radius-small: 8px;
	--blvdc-shadow: var(--shadow-card, 0 1px 2px rgba(61, 49, 40, .06), 0 10px 28px rgba(61, 49, 40, .07));
	--blvdc-shadow-raised: 0 2px 4px rgba(61, 49, 40, .08), 0 18px 40px rgba(61, 49, 40, .12);
}

.blvdc-booking [hidden],
.blvdc-page [hidden] { display: none !important; }

/* Text for screen readers only */
.blvdc-screen-reader { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }


/* ---------- The page ---------- */

.blvdc-page { background: var(--blvdc-surface); color: var(--blvdc-ink); padding: clamp(32px, 5vw, 64px) var(--gutter, 24px) 96px; }
.blvdc-page-inner { max-width: 1100px; margin: 0 auto; }
.blvdc-page-wide .blvdc-page-inner { max-width: 1240px; }
.blvdc-page-head { margin: 0 0 24px; }
.blvdc-page-title { font-family: var(--blvdc-heading); font-size: var(--fs-h2, 36px); font-weight: 400; line-height: 1.1; margin: 0 0 28px; }
.blvdc-page-head .blvdc-page-title { margin: 0; }


/* ---------- Frame: practice banner, busy bar, back, steps ---------- */

.blvdc-booking { position: relative; font-family: var(--blvdc-text); font-size: var(--blvdc-fs-body); color: var(--blvdc-ink); }

.blvdc-practice {
	display: inline-block;
	margin: 0 0 24px;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--blvdc-dark);
	color: var(--blvdc-on-dark);
	font-size: var(--blvdc-fs-small);
	line-height: 1.5;
}

.blvdc-busy { position: absolute; top: -12px; left: 0; right: 0; height: 3px; overflow: hidden; border-radius: 3px; }
.blvdc-booking.is-busy .blvdc-busy::before {
	content: '';
	position: absolute;
	top: 0;
	left: -40%;
	width: 40%;
	height: 100%;
	background: var(--blvdc-accent);
	animation: blvdc-busy 1s ease-in-out infinite;
}
@keyframes blvdc-busy { to { left: 100%; } }

/*
 * Loading: while anything is being asked of the booking system, the box being worked on is veiled and
 * a spinner with "Loading" shows near its top. The script adds "is-loading" after 0.3s of waiting and
 * keeps it through requests that follow one another, so there is one veil and it never flickers.
 */
.blvdc-screen, .blvdc-account-panel { position: relative; }
.blvdc-booking.is-busy .blvdc-busy::before { display: none; } /* the old thin line is replaced by the veil */
.blvdc-booking.is-loading .blvdc-screen::after,
.blvdc-booking.is-loading .blvdc-account-panel::after {
	content: 'Loading';
	position: absolute;
	inset: 0;
	z-index: 20;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 196px; /* under the spinner, which sits near the top so long screens still show it */
	border-radius: inherit;
	background: rgba(250, 248, 242, .78);
	color: var(--blvdc-ink);
	font-family: var(--blvdc-ui);
	font-size: var(--blvdc-fs-label);
	font-weight: 700;
	letter-spacing: var(--blvdc-tracking);
	text-transform: uppercase;
	opacity: 0;
	animation: blvdc-veil .15s ease forwards;
}
.blvdc-booking.is-loading .blvdc-screen::before,
.blvdc-booking.is-loading .blvdc-account-panel::before {
	content: '';
	position: absolute;
	z-index: 21;
	top: 140px;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-left: -20px;
	border: 3px solid var(--blvdc-rule);
	border-top-color: var(--blvdc-accent);
	border-radius: 50%;
	opacity: 0;
	animation: blvdc-veil .15s ease forwards, blvdc-spin .8s linear infinite;
}
@keyframes blvdc-veil { to { opacity: 1; } }
/* The "Loading…" line a page shows before its script has started: the same spinner, inline.
   Under the veil it is hidden, so a page never shows two spinners. */
.blvdc-booking.is-loading .blvdc-loading { visibility: hidden; }
.blvdc-loading::before {
	content: '';
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 10px;
	vertical-align: -4px;
	border: 2px solid var(--blvdc-rule);
	border-top-color: var(--blvdc-accent);
	border-radius: 50%;
	animation: blvdc-spin .8s linear infinite;
}
@keyframes blvdc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
	.blvdc-booking.is-loading .blvdc-screen::before,
	.blvdc-booking.is-loading .blvdc-account-panel::before { animation: blvdc-veil .15s ease forwards; }
}
.blvdc-booking.is-busy .blvdc-screen { cursor: progress; }
.blvdc-booking.is-busy .blvdc-screen button,
.blvdc-booking.is-busy .blvdc-summary button { pointer-events: none; }

/* Back and the steps share one row, centered on the same line. */
.blvdc-head {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0 0 28px;
	padding: 14px 18px;
	background: var(--blvdc-card);
	border-radius: var(--blvdc-radius);
	box-shadow: var(--blvdc-shadow);
}

.blvdc-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	height: 40px;
	padding: 0 16px 0 10px;
	border: 1px solid var(--blvdc-rule);
	border-radius: 999px;
	background: transparent;
	color: var(--blvdc-ink);
	font-family: var(--blvdc-ui);
	font-size: var(--blvdc-fs-button);
	letter-spacing: var(--blvdc-tracking);
	text-transform: uppercase;
	cursor: pointer;
}
.blvdc-back svg { width: 18px; height: 18px; }
.blvdc-back:hover { border-color: var(--blvdc-ink); }

.blvdc-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; list-style: none; margin: 0; padding: 0; }
.blvdc-step { display: flex; align-items: center; gap: 6px; }
.blvdc-step + .blvdc-step::before { content: ''; width: 22px; height: 1px; background: var(--blvdc-rule); margin-right: 4px; }
.blvdc-step-inner {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 4px 8px 4px 4px;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--blvdc-ink);
	font-family: var(--blvdc-ui);
	font-size: var(--blvdc-fs-label);
	font-weight: 700;
	letter-spacing: var(--blvdc-tracking);
	text-transform: uppercase;
	white-space: nowrap;
}
button.blvdc-step-inner { cursor: pointer; }
button.blvdc-step-inner:hover { background: var(--blvdc-surface-soft); }
.blvdc-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid var(--blvdc-rule);
	font-family: var(--blvdc-text);
	font-size: 14px;
	letter-spacing: 0;
}
.blvdc-step.is-done .blvdc-step-num { background: var(--blvdc-accent-fill); border-color: var(--blvdc-accent-fill); color: var(--blvdc-on-accent); }
.blvdc-step.is-current .blvdc-step-num { background: var(--blvdc-dark); border-color: var(--blvdc-dark); color: var(--blvdc-on-dark); }
.blvdc-step:not(.is-done):not(.is-current) .blvdc-step-inner { color: var(--blvdc-ink-soft); font-weight: 400; }
.blvdc-steps-short { display: none; margin: 0; }


/* ---------- Layout: the screen and the summary beside it ---------- */

.blvdc-layout { display: block; }
.blvdc-booking.has-summary .blvdc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.blvdc-screen {
	min-height: 320px;
	outline: none;
	padding: clamp(24px, 3.4vw, 40px);
	background: var(--blvdc-card);
	border-radius: var(--blvdc-radius);
	box-shadow: var(--blvdc-shadow);
}
.blvdc-screen-head { margin: 0 0 26px; padding-bottom: 22px; border-bottom: 1px solid var(--blvdc-rule); }
.blvdc-screen-head .blvdc-lead { margin-bottom: 0; }

.blvdc-title { font-family: var(--blvdc-heading); font-size: var(--blvdc-fs-h3); font-weight: 400; line-height: 1.15; margin: 0 0 8px; outline: none; }
.blvdc-lead { font-size: var(--blvdc-fs-body); line-height: 1.6; color: var(--blvdc-ink-soft); margin: 0 0 24px; max-width: 64ch; }
.blvdc-lead strong { color: var(--blvdc-ink); }
.blvdc-label {
	display: block;
	font-family: var(--blvdc-ui);
	font-size: var(--blvdc-fs-label);
	font-weight: 700;
	letter-spacing: var(--blvdc-tracking);
	text-transform: uppercase;
	line-height: 1.3;
	color: var(--blvdc-ink);
	margin: 0 0 12px;
}
.blvdc-loading,
.blvdc-empty { font-size: var(--blvdc-fs-body); color: var(--blvdc-ink-soft); margin: 18px 0; }
.blvdc-empty-box { padding: 28px; text-align: center; border: 1px dashed var(--blvdc-rule); border-radius: var(--blvdc-radius); }
.blvdc-empty-box .blvdc-empty { margin-top: 0; }

.blvdc-error {
	margin: 0 0 22px;
	padding: 14px 18px;
	border: 2px solid var(--blvdc-error);
	border-radius: var(--blvdc-radius-small);
	color: var(--blvdc-error);
	font-size: var(--blvdc-fs-body);
	line-height: 1.5;
	background: var(--blvdc-card);
}


/* ---------- Buttons and links ---------- */

.blvdc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: var(--blvdc-ui);
	font-size: var(--blvdc-fs-button);
	letter-spacing: var(--blvdc-tracking);
	text-transform: uppercase;
	line-height: 1.3;
	min-height: 48px;
	padding: 12px 24px;
	border: 1px solid var(--blvdc-ink);
	border-radius: 999px;
	background: transparent;
	color: var(--blvdc-ink);
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.blvdc-btn:hover { background: var(--blvdc-ink); color: var(--blvdc-on-dark); }
.blvdc-btn-main { background: var(--blvdc-accent-fill); border-color: var(--blvdc-accent-fill); color: var(--blvdc-on-accent); }
.blvdc-btn-main:hover { background: var(--blvdc-ink); border-color: var(--blvdc-ink); color: var(--blvdc-on-dark); }
.blvdc-btn-small { min-height: 46px; padding: 0 18px; }
.blvdc-btn[disabled] { opacity: .45; cursor: not-allowed; }
.blvdc-btn[disabled]:hover { background: transparent; color: var(--blvdc-ink); }
.blvdc-btn-main[disabled]:hover { background: var(--blvdc-accent-fill); color: var(--blvdc-on-accent); }
.blvdc-btn.is-added { background: var(--blvdc-dark); border-color: var(--blvdc-dark); color: var(--blvdc-on-dark); }
.blvdc-btn.is-added::before { content: '\2713'; }

.blvdc-link {
	font: inherit;
	font-size: var(--blvdc-fs-small);
	color: var(--blvdc-link);
	text-decoration: underline;
	text-underline-offset: 3px;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

.blvdc-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 32px; }
.blvdc-actions-start { justify-content: flex-start; }


/* ---------- Clinic ---------- */

.blvdc-choices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.blvdc-choice {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	height: 100%;
	text-align: left;
	padding: 24px;
	border: 1px solid var(--blvdc-rule);
	border-radius: var(--blvdc-radius);
	background: var(--blvdc-card);
	color: var(--blvdc-ink);
	font: inherit;
	cursor: pointer;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.blvdc-choice:hover { border-color: var(--blvdc-accent); box-shadow: var(--blvdc-shadow); }
.blvdc-choice.is-chosen { background: var(--blvdc-dark); border-color: var(--blvdc-dark); color: var(--blvdc-on-dark); }
.blvdc-choice-name { font-family: var(--blvdc-heading); font-size: var(--blvdc-fs-h4); line-height: 1.2; }
.blvdc-choice-text { font-size: var(--blvdc-fs-small); line-height: 1.5; }
.blvdc-choice-go { margin-top: auto; padding-top: 14px; font-family: var(--blvdc-ui); font-size: var(--blvdc-fs-label); font-weight: 700; letter-spacing: var(--blvdc-tracking); text-transform: uppercase; }
.blvdc-choice-go::after { content: ' \2192'; }


/* ---------- Treatment: search, sort, category chips, picture cards ---------- */

.blvdc-finder { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 16px; align-items: end; margin: 0 0 18px; }
.blvdc-search-box {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	height: 52px;
	padding: 0 14px 0 18px;
	border: 1px solid var(--blvdc-rule);
	border-radius: 999px;
	background: var(--blvdc-surface-soft);
}
.blvdc-search-box:focus-within { border-color: var(--blvdc-ink); background: var(--blvdc-card); }
.blvdc-search-box svg { width: 20px; height: 20px; flex-shrink: 0; }
.blvdc-booking .blvdc-finder .blvdc-search-box input[type='search'] { border: 0; padding: 0; height: 100%; background: transparent; }
.blvdc-booking .blvdc-finder .blvdc-search-box input[type='search']:focus { border: 0; padding: 0; }
.blvdc-search-box input::-webkit-search-cancel-button { display: none; }
.blvdc-search-clear { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--blvdc-rule); color: var(--blvdc-ink); font-size: 20px; line-height: 1; cursor: pointer; flex-shrink: 0; }
.blvdc-sort .blvdc-label { margin-bottom: 6px; }
.blvdc-booking .blvdc-sort select { height: 52px; padding: 0 36px 0 18px; border: 1px solid var(--blvdc-rule); border-radius: 999px; background-color: var(--blvdc-surface-soft); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; }
.blvdc-booking .blvdc-sort select:focus { border: 1px solid var(--blvdc-ink); padding: 0 36px 0 18px; }

.blvdc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.blvdc-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 16px;
	border: 1px solid var(--blvdc-rule);
	border-radius: 999px;
	background: var(--blvdc-card);
	color: var(--blvdc-ink);
	font-family: var(--blvdc-ui);
	font-size: var(--blvdc-fs-button);
	letter-spacing: .06em;
	text-transform: uppercase;
	cursor: pointer;
}
.blvdc-chip:hover { border-color: var(--blvdc-ink); }
.blvdc-chip[aria-pressed='true'] { background: var(--blvdc-dark); border-color: var(--blvdc-dark); color: var(--blvdc-on-dark); }
.blvdc-chip-count { font-family: var(--blvdc-text); font-size: 13px; letter-spacing: 0; opacity: .8; }

.blvdc-count { margin: 0 0 14px; font-size: var(--blvdc-fs-small); color: var(--blvdc-ink-soft); }
.blvdc-category { margin: 0 0 34px; }
.blvdc-category-name { font-family: var(--blvdc-heading); font-size: var(--blvdc-fs-h4); font-weight: 400; margin: 0 0 14px; }

.blvdc-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.blvdc-treatment {
	position: relative;
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	grid-template-rows: auto auto;
	gap: 0 16px;
	padding: 14px;
	border: 1px solid var(--blvdc-rule);
	border-radius: var(--blvdc-radius);
	background: var(--blvdc-card);
	cursor: pointer;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.blvdc-treatment:hover { border-color: var(--blvdc-accent); box-shadow: var(--blvdc-shadow); }
.blvdc-treatment.is-added { border-color: var(--blvdc-dark); box-shadow: inset 0 0 0 1px var(--blvdc-dark); }
.blvdc-treatment.is-unavailable { cursor: default; opacity: .65; }
.blvdc-treatment-media { grid-row: 1 / span 2; width: 96px; height: 96px; border-radius: var(--blvdc-radius-small); overflow: hidden; background: var(--blvdc-surface-soft); }
.blvdc-treatment-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blvdc-treatment-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-right: 4px; }
.blvdc-treatment-cat { font-family: var(--blvdc-ui); font-size: var(--blvdc-fs-label); font-weight: 700; letter-spacing: var(--blvdc-tracking); text-transform: uppercase; color: var(--blvdc-link); }
.blvdc-treatment-cat:empty { display: none; }
.blvdc-treatment-name { font-family: var(--blvdc-heading); font-size: var(--blvdc-fs-h4); font-weight: 400; line-height: 1.15; margin: 0; }
.blvdc-treatment-desc { margin: 0; font-size: var(--blvdc-fs-small); line-height: 1.45; color: var(--blvdc-ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blvdc-treatment-desc:empty { display: none; }
.blvdc-treatment-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.blvdc-fact { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--blvdc-surface-soft); font-size: 14px; }
.blvdc-fact:empty { display: none; }
.blvdc-fact-price { font-weight: 600; }
.blvdc-treatment-note { margin: 4px 0 0; font-size: var(--blvdc-fs-small); color: var(--blvdc-ink-soft); }
.blvdc-treatment > .blvdc-btn { grid-column: 2; justify-self: start; margin-top: 12px; }
.blvdc-options { grid-column: 1 / -1; margin-top: 14px; padding: 18px; border-radius: var(--blvdc-radius-small); background: var(--blvdc-surface-soft); cursor: default; }
.blvdc-options .blvdc-btn { margin-top: 6px; }

/* A picture's stand-in: the first letter on the brand's soft color. */
.blvdc-monogram { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-family: var(--blvdc-heading); font-size: 34px; color: var(--blvdc-link); background: var(--blvdc-surface-soft); }

.blvdc-next-bar {
	position: sticky;
	bottom: 16px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 28px;
	padding: 12px 12px 12px 22px;
	border-radius: 999px;
	background: var(--blvdc-dark);
	color: var(--blvdc-on-dark);
	box-shadow: var(--blvdc-shadow-raised);
}
.blvdc-next-text { font-size: var(--blvdc-fs-small); }


/* ---------- Choices: options, add-ons, saved cards ---------- */

.blvdc-fieldset { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.blvdc-fieldset > legend { padding: 0; }
.blvdc-option-list { display: grid; gap: 8px; }
.blvdc-option {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 4px 14px;
	align-items: center;
	padding: 14px 18px;
	border: 1px solid var(--blvdc-rule);
	border-radius: var(--blvdc-radius-small);
	background: var(--blvdc-card);
	cursor: pointer;
	font-size: var(--blvdc-fs-body);
	transition: border-color .2s ease, background .2s ease;
}
.blvdc-option:hover { border-color: var(--blvdc-accent); }
.blvdc-option:has(input:checked) { border-color: var(--blvdc-ink); box-shadow: inset 0 0 0 1px var(--blvdc-ink); }
.blvdc-option:has(input:disabled) { cursor: default; }
.blvdc-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--blvdc-dark); }
.blvdc-option-meta { font-size: var(--blvdc-fs-small); text-align: right; }
.blvdc-option-text { grid-column: 2 / -1; font-size: var(--blvdc-fs-small); line-height: 1.5; color: var(--blvdc-ink-soft); }
.blvdc-option-text:empty { display: none; }
.blvdc-option-inline { display: inline-grid; grid-template-columns: auto auto; margin-right: 10px; }


/* ---------- Provider and add-ons ---------- */

.blvdc-line { padding: 26px 0; border-top: 1px solid var(--blvdc-rule); }
.blvdc-line:first-child { border-top: 0; padding-top: 0; }
.blvdc-line-head { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-bottom: 22px; }
.blvdc-line-media { width: 64px; height: 64px; border-radius: var(--blvdc-radius-small); overflow: hidden; }
.blvdc-line-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blvdc-line-name { font-family: var(--blvdc-heading); font-size: var(--blvdc-fs-h4); font-weight: 400; margin: 0; }
.blvdc-line-meta { margin: 2px 0 0; font-size: var(--blvdc-fs-small); color: var(--blvdc-ink-soft); }

.blvdc-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.blvdc-person,
.blvdc-addon {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 44px 14px 14px;
	border: 1px solid var(--blvdc-rule);
	border-radius: var(--blvdc-radius);
	background: var(--blvdc-card);
	cursor: pointer;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.blvdc-person:hover,
.blvdc-addon:hover { border-color: var(--blvdc-accent); box-shadow: var(--blvdc-shadow); }
.blvdc-person:has(input:checked),
.blvdc-addon:has(input:checked) { border-color: var(--blvdc-dark); box-shadow: inset 0 0 0 1px var(--blvdc-dark); }
.blvdc-person:has(input:focus-visible),
.blvdc-addon:has(input:focus-visible) { outline: 2px solid var(--blvdc-accent); outline-offset: 2px; }
.blvdc-person:has(input:disabled) { cursor: default; }
.blvdc-person-input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.blvdc-avatar {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--blvdc-surface-soft);
	color: var(--blvdc-link);
	font-family: var(--blvdc-heading);
	font-size: 22px;
}
.blvdc-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
/* "First available": three small faces overlapping. */
.blvdc-avatar-stack { display: inline-flex; flex-shrink: 0; width: 56px; height: 56px; align-items: center; }
.blvdc-avatar-stack .blvdc-avatar { width: 34px; height: 34px; font-size: 14px; border: 2px solid var(--blvdc-card); }
.blvdc-avatar-stack .blvdc-avatar + .blvdc-avatar { margin-left: -16px; }
.blvdc-avatar-stack.is-small { width: auto; }

.blvdc-person-text,
.blvdc-addon-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.blvdc-person-name,
.blvdc-addon-name { font-weight: 600; font-size: var(--blvdc-fs-body); line-height: 1.3; }
.blvdc-person-role,
.blvdc-addon-desc { font-size: var(--blvdc-fs-small); color: var(--blvdc-ink-soft); line-height: 1.4; }
.blvdc-person-role:empty,
.blvdc-addon-desc:empty { display: none; }
.blvdc-person-meta { font-size: var(--blvdc-fs-small); line-height: 1.4; }
.blvdc-fav-tag {
	position: absolute;
	top: -10px;
	left: 14px;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--blvdc-accent-fill);
	color: var(--blvdc-on-accent);
	font-family: var(--blvdc-ui);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

/* The tick in the corner of a chosen card. */
.blvdc-check { position: absolute; top: 50%; right: 14px; width: 22px; height: 22px; margin-top: -11px; border: 1px solid var(--blvdc-rule); border-radius: 50%; background: var(--blvdc-card); }
.blvdc-check-box { border-radius: 6px; }
input:checked ~ .blvdc-check { background: var(--blvdc-dark); border-color: var(--blvdc-dark); }
input:checked ~ .blvdc-check::after { content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--blvdc-on-dark); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.blvdc-addons-title { margin-top: 26px; }
.blvdc-addons { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; } /* One column: real add-on descriptions run long. */
.blvdc-addon { align-items: flex-start; } /* Name, price and box line up at the top of a long description. */
.blvdc-addon .blvdc-check { top: 14px; margin-top: 0; }
.blvdc-addon-media { width: 48px; height: 48px; border-radius: var(--blvdc-radius-small); overflow: hidden; flex-shrink: 0; }
.blvdc-addon-media img { width: 100%; height: 100%; object-fit: cover; }
.blvdc-addon-media .blvdc-monogram { font-size: 20px; }
.blvdc-addon-meta { font-size: var(--blvdc-fs-small); font-weight: 600; white-space: nowrap; }


/* ---------- Date and time: a month calendar beside the times ---------- */

.blvdc-when { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 32px; align-items: start; }
.blvdc-calendar { padding: 18px; border: 1px solid var(--blvdc-rule); border-radius: var(--blvdc-radius); background: var(--blvdc-card); }
.blvdc-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.blvdc-cal-month { font-family: var(--blvdc-heading); font-size: var(--blvdc-fs-h4); font-weight: 400; margin: 0; }
.blvdc-arrow { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--blvdc-rule); border-radius: 50%; background: transparent; color: var(--blvdc-ink); cursor: pointer; }
.blvdc-arrow svg { width: 18px; height: 18px; }
.blvdc-arrow:hover:not([disabled]) { border-color: var(--blvdc-ink); }
.blvdc-arrow[disabled] { opacity: .3; cursor: not-allowed; }
.blvdc-cal-week,
.blvdc-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.blvdc-cal-week { margin-bottom: 6px; }
.blvdc-cal-week span { text-align: center; font-family: var(--blvdc-ui); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blvdc-ink-soft); }
.blvdc-day {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	max-height: 46px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--blvdc-ink);
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}
.blvdc-day.is-open::after { content: ''; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--blvdc-accent); }
.blvdc-day:hover:not([disabled]) { background: var(--blvdc-surface-soft); }
.blvdc-day.is-today { box-shadow: inset 0 0 0 1px var(--blvdc-rule); }
.blvdc-day.is-chosen { background: var(--blvdc-dark); color: var(--blvdc-on-dark); }
.blvdc-day.is-chosen::after { background: var(--blvdc-on-dark-label); }
.blvdc-day[disabled] { cursor: default; font-weight: 400; color: var(--blvdc-ink-soft); opacity: .45; }
.blvdc-day.is-blank { visibility: hidden; }
.blvdc-month { margin-bottom: 12px; }

.blvdc-slots { min-width: 0; }
.blvdc-day-title { font-family: var(--blvdc-heading); font-size: var(--blvdc-fs-h4); font-weight: 400; margin: 6px 0 18px; }
.blvdc-time-group { margin-bottom: 22px; }
.blvdc-time-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.blvdc-time {
	height: 46px;
	padding: 0 10px;
	border: 1px solid var(--blvdc-rule);
	border-radius: 999px;
	background: var(--blvdc-card);
	color: var(--blvdc-ink);
	font: inherit;
	font-size: var(--blvdc-fs-small);
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
}
.blvdc-time:hover { border-color: var(--blvdc-ink); }
.blvdc-time.is-chosen { background: var(--blvdc-dark); border-color: var(--blvdc-dark); color: var(--blvdc-on-dark); }
/* A time being held: a small spinner in the chosen button, nothing else on the screen moves. */
.blvdc-time.is-holding { position: relative; color: transparent; }
.blvdc-time.is-holding::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	border: 2px solid rgba(255, 255, 255, .35);
	border-top-color: var(--blvdc-on-dark);
	border-radius: 50%;
	animation: blvdc-spin .8s linear infinite;
}
/* Times being found for a day: the times area alone is veiled, after 0.3s, with a spinner. */
.blvdc-times { position: relative; min-height: 96px; }
.blvdc-times > * { transition: opacity .15s ease; }
.blvdc-times.is-finding > * { opacity: .15; pointer-events: none; } /* the other day's times fade at once */
.blvdc-times.is-finding::after {
	content: 'Finding times';
	position: absolute;
	inset: 0;
	z-index: 5;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 64px;
	background: rgba(250, 248, 242, .82);
	color: var(--blvdc-ink);
	font-family: var(--blvdc-ui);
	font-size: var(--blvdc-fs-label);
	font-weight: 700;
	letter-spacing: var(--blvdc-tracking);
	text-transform: uppercase;
	opacity: 0;
	animation: blvdc-veil .15s ease .3s forwards;
}
.blvdc-times.is-finding::before {
	content: '';
	position: absolute;
	z-index: 6;
	top: 18px;
	left: 50%;
	width: 32px;
	height: 32px;
	margin-left: -16px;
	border: 3px solid var(--blvdc-rule);
	border-top-color: var(--blvdc-accent);
	border-radius: 50%;
	opacity: 0;
	animation: blvdc-veil .15s ease .3s forwards, blvdc-spin .8s linear infinite;
}

.blvdc-held { margin: 20px 0 0; padding: 12px 16px; border-radius: var(--blvdc-radius-small); background: var(--blvdc-surface-soft); font-size: var(--blvdc-fs-small); line-height: 1.5; }

/* Waitlist, under the times */
.blvdc-waitlist-offer { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--blvdc-rule); }
.blvdc-waitlist { margin-top: 18px; padding: 22px 24px; border-radius: var(--blvdc-radius); background: var(--blvdc-surface-soft); }
.blvdc-waitlist .blvdc-lead { margin-top: 6px; }
.blvdc-waitlist > .blvdc-field { max-width: 260px; margin-bottom: 18px; }
.blvdc-waitlist-times { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 20px; }
.blvdc-waitlist-times .blvdc-option-name { white-space: nowrap; }
.blvdc-waitlist .blvdc-fields { margin-top: 4px; }
.blvdc-waitlist .blvdc-actions { margin-top: 8px; }


/* ---------- Forms: details and card ---------- */

.blvdc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; margin-bottom: 24px; }
.blvdc-field { display: block; min-width: 0; }
.blvdc-field-wide { grid-column: 1 / -1; }
.blvdc-form > .blvdc-field { margin-bottom: 24px; }
.blvdc-questions { display: grid; gap: 22px; margin-bottom: 24px; }
.blvdc-question-control { display: block; }

.blvdc-booking input:not([type='checkbox']):not([type='radio']),
.blvdc-booking select,
.blvdc-booking textarea {
	display: block;
	width: 100%;
	border: 0;
	border-bottom: 1px solid var(--blvdc-ink);
	border-radius: 0;
	background-color: transparent;
	padding: 10px 0 12px;
	font-family: var(--blvdc-text);
	font-size: var(--blvdc-fs-body);
	line-height: 1.4;
	color: var(--blvdc-ink);
	outline: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.blvdc-booking input:focus,
.blvdc-booking select:focus,
.blvdc-booking textarea:focus { border-bottom: 2px solid var(--blvdc-accent); padding-bottom: 11px; }
.blvdc-booking textarea { resize: vertical; min-height: 90px; }
.blvdc-booking select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 7px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.blvdc-booking .is-invalid input,
.blvdc-booking input.is-invalid,
.blvdc-booking select.is-invalid,
.blvdc-booking textarea.is-invalid { border-bottom: 2px solid var(--blvdc-error); }
.blvdc-question.is-invalid .blvdc-label { color: var(--blvdc-error); }

.blvdc-practice-note,
.blvdc-secure { font-size: var(--blvdc-fs-small); line-height: 1.5; margin: 0 0 8px; padding: 12px 16px; border-radius: var(--blvdc-radius-small); background: var(--blvdc-surface-soft); }

.blvdc-card-choice { margin-bottom: 0; }
.blvdc-option-new { margin-top: 8px; }
.blvdc-card-choice + .blvdc-actions { margin-top: 24px; }
.blvdc-card-form { margin-top: 26px; }


/* ---------- Review and done ---------- */

.blvdc-review { margin: 0 0 22px; }
.blvdc-review-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 20px; padding: 16px 0; border-bottom: 1px solid var(--blvdc-rule); }
.blvdc-review-row dt { margin: 3px 0 0; }
.blvdc-review-row dd { margin: 0; font-size: var(--blvdc-fs-body); line-height: 1.5; }
.blvdc-review-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.blvdc-review-meta { display: block; font-size: var(--blvdc-fs-small); color: var(--blvdc-ink-soft); }
.blvdc-review-total dd { font-weight: 600; }
.blvdc-policy { font-size: var(--blvdc-fs-small); line-height: 1.6; color: var(--blvdc-ink-soft); max-width: 70ch; }

.blvdc-done-head { text-align: center; margin: 0 0 26px; padding-bottom: 26px; border-bottom: 1px solid var(--blvdc-rule); }
.blvdc-done-head .blvdc-lead { margin: 0 auto; }
.blvdc-done-mark { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 50%; background: var(--blvdc-accent-fill); color: var(--blvdc-on-accent); }
.blvdc-done-mark svg { width: 30px; height: 30px; }


/* ---------- Summary: the dark panel beside the screens ---------- */

.blvdc-summary {
	position: sticky;
	top: calc(var(--header-h, 0px) + 16px);
	padding: 24px;
	border-radius: var(--blvdc-radius);
	background: var(--blvdc-dark);
	color: var(--blvdc-on-dark);
	box-shadow: var(--blvdc-shadow-raised);
}
.blvdc-summary .blvdc-label,
.blvdc-summary .blvdc-summary-key { color: var(--blvdc-on-dark-label); }
.blvdc-summary .blvdc-link { color: var(--blvdc-on-dark); }
.blvdc-summary-toggle { display: none; }
.blvdc-summary-title { margin-bottom: 14px; }
.blvdc-summary-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 14px 0; border-top: 1px solid var(--blvdc-rule-on-dark); font-size: var(--blvdc-fs-small); line-height: 1.45; }
.blvdc-summary-key { grid-column: 1 / -1; font-family: var(--blvdc-ui); font-size: var(--blvdc-fs-label); font-weight: 700; letter-spacing: var(--blvdc-tracking); text-transform: uppercase; }
.blvdc-summary-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--blvdc-rule-on-dark); }
.blvdc-summary-line { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 12px 0; font-size: var(--blvdc-fs-small); line-height: 1.45; }
.blvdc-summary-line + .blvdc-summary-line { border-top: 1px dotted var(--blvdc-rule-on-dark); }
.blvdc-summary-thumb { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: rgba(255, 255, 255, .08); }
.blvdc-summary-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.blvdc-summary-thumb .blvdc-monogram { font-size: 18px; background: transparent; color: var(--blvdc-on-dark-label); }
.blvdc-summary-line.is-add-on .blvdc-summary-thumb { visibility: hidden; height: 0; }
.blvdc-summary-line-name { grid-column: 2; font-weight: 600; }
.blvdc-summary-line-meta { grid-column: 2; opacity: .9; }
.blvdc-remove { grid-column: 3; grid-row: 1 / span 2; align-self: center; width: 32px; height: 32px; border: 1px solid var(--blvdc-rule-on-dark); border-radius: 50%; background: transparent; color: var(--blvdc-on-dark); font-size: 20px; line-height: 1; cursor: pointer; }
.blvdc-remove:hover { border-color: var(--blvdc-on-dark); }
.blvdc-summary-total { font-size: var(--blvdc-fs-body); font-weight: 600; }
.blvdc-summary-total [data-slot='total'] { font-family: var(--blvdc-heading); font-size: var(--blvdc-fs-h3); font-weight: 400; }
.blvdc-summary .blvdc-held { margin: 0 0 4px; background: rgba(255, 255, 255, .08); color: var(--blvdc-on-dark); }
.blvdc-summary-note { margin: 12px 0 0; font-size: var(--blvdc-fs-small); line-height: 1.5; }
.blvdc-start-over { margin-top: 16px; }


/* ---------- Sign-in (account page and inside the booking) ---------- */

.blvdc-signin { max-width: 560px; }
.blvdc-signin-title { font-family: var(--blvdc-heading); font-size: var(--blvdc-fs-h3); font-weight: 400; line-height: 1.15; margin: 0 0 10px; }
.blvdc-signin .blvdc-field { margin-bottom: 18px; }
.blvdc-signin .blvdc-actions { justify-content: flex-start; }
/* Under the code screen's Sign in button: the two side routes, as plain links. */
.blvdc-signin-more { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 22px 0 0; }
.blvdc-signin.is-busy { opacity: .7; }
.blvdc-error.is-note { border-color: var(--blvdc-rule); color: var(--blvdc-ink); background: var(--blvdc-surface-soft); }

/* Inside the booking: the "Been here before?" box on the details screen. */
.blvdc-signin-offer { margin: 0 0 30px; padding: 20px 22px; border-radius: var(--blvdc-radius); background: var(--blvdc-surface-soft); }
.blvdc-signin-offer p { margin: 0 0 14px; font-size: var(--blvdc-fs-body); line-height: 1.5; }
.blvdc-signin-offer .blvdc-signin-title { font-size: var(--blvdc-fs-h4); }
.blvdc-booking-as { margin: 0 0 26px; font-size: var(--blvdc-fs-body); line-height: 1.5; }


/* ---------- Toast with Undo and a close button ---------- */

/* Centered by its side margins, so it can be as wide as its words need. */
.blvdc-toast {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 24px;
	z-index: 100010;
	display: flex;
	align-items: center;
	gap: 18px;
	width: fit-content;
	max-width: min(680px, calc(100vw - 32px));
	margin: 0 auto;
	padding: 8px 8px 8px 22px;
	border-radius: 999px;
	background: var(--blvdc-dark);
	color: var(--blvdc-on-dark);
	font-family: var(--blvdc-text);
	font-size: var(--blvdc-fs-small);
	box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}
.blvdc-toast[hidden] { display: none; }
.blvdc-toast-undo {
	font-family: var(--blvdc-ui);
	font-size: var(--blvdc-fs-button);
	letter-spacing: var(--blvdc-tracking);
	text-transform: uppercase;
	color: var(--blvdc-on-dark-label);
	background: none;
	border: 0;
	border-bottom: 1px solid currentColor;
	padding: 2px 0;
	cursor: pointer;
	white-space: nowrap;
}
.blvdc-toast-text { flex: 1 1 auto; min-width: 0; line-height: 1.45; }
.blvdc-toast-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--blvdc-on-dark);
	cursor: pointer;
}
.blvdc-toast-close svg { width: 18px; height: 18px; }
.blvdc-toast-close:hover { color: var(--blvdc-on-dark-label); }


/* ---------- Narrower screens ---------- */

@media (max-width: 1100px) {
	.blvdc-booking.has-summary .blvdc-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
	.blvdc-when { grid-template-columns: minmax(0, 1fr); }
	.blvdc-calendar { max-width: 420px; }
	.blvdc-step-name { display: none; }
	.blvdc-step.is-current .blvdc-step-name { display: inline; }
}

@media (max-width: 900px) {
	.blvdc-booking.has-summary .blvdc-layout { display: flex; flex-direction: column; align-items: stretch; gap: 0; }

	/* The summary becomes a bar fixed to the bottom of the screen; tap to open it. */
	.blvdc-summary { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 85; margin: 0; padding: 0 0 env(safe-area-inset-bottom, 0px); border-radius: var(--blvdc-radius) var(--blvdc-radius) 0 0; }
	/* Room under the page for the bar, so it never covers the end of the page. */
	body:has(.blvdc-summary:not([hidden])) { padding-bottom: calc(57px + env(safe-area-inset-bottom, 0px)); }
	/* The toast sits just above that bar, and above the Continue bar when that is showing. */
	.blvdc-booking:has(.blvdc-summary:not([hidden])) .blvdc-toast { bottom: calc(69px + env(safe-area-inset-bottom, 0px)); }
	.blvdc-booking:has(.blvdc-next-bar:not([hidden])) .blvdc-toast { bottom: calc(152px + env(safe-area-inset-bottom, 0px)); }
	.blvdc-summary-toggle {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
		width: 100%;
		padding: 16px 18px;
		background: transparent;
		border: 0;
		color: var(--blvdc-on-dark);
		font: inherit;
		cursor: pointer;
	}
	.blvdc-summary-toggle .blvdc-label { margin: 0; }
	.blvdc-summary-toggle .blvdc-label::after { content: ' \25B4'; }
	.blvdc-summary.is-open .blvdc-summary-toggle .blvdc-label::after { content: ' \25BE'; }
	.blvdc-summary-short { font-size: var(--blvdc-fs-small); text-align: right; }
	.blvdc-summary-body { display: none; padding: 0 18px 18px; max-height: 55vh; overflow-y: auto; }
	.blvdc-summary.is-open .blvdc-summary-body { display: block; }
	.blvdc-summary-title { display: none; }
	.blvdc-next-bar { bottom: 76px; }
}

@media (max-width: 700px) {
	.blvdc-page { padding: 24px 16px 40px; }
	.blvdc-page-title { font-size: var(--blvdc-fs-h3); }
	.blvdc-practice { border-radius: var(--blvdc-radius-small); }
	.blvdc-head { gap: 12px; padding: 10px 12px; margin-bottom: 16px; }
	.blvdc-steps { display: none; }
	.blvdc-steps-short { display: block; font-family: var(--blvdc-ui); font-size: var(--blvdc-fs-label); font-weight: 700; letter-spacing: var(--blvdc-tracking); text-transform: uppercase; }
	.blvdc-steps-short span { display: block; margin-top: 6px; height: 4px; border-radius: 4px; background: var(--blvdc-surface-soft); overflow: hidden; }
	.blvdc-steps-short span::before { content: ''; display: block; height: 100%; width: var(--blvdc-progress, 0%); background: var(--blvdc-accent); }
	.blvdc-steps-short { flex: 1; }
	.blvdc-screen { padding: 20px 16px; margin: 0 -4px; }
	.blvdc-screen-head { margin-bottom: 20px; padding-bottom: 16px; }
	.blvdc-title { font-size: var(--blvdc-fs-h4); }
	.blvdc-finder { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.blvdc-sort { display: flex; align-items: center; gap: 12px; }
	.blvdc-sort .blvdc-label { margin: 0; white-space: nowrap; }
	.blvdc-booking .blvdc-sort select { height: 44px; }
	.blvdc-chips { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; }
	.blvdc-chips::-webkit-scrollbar { display: none; }
	.blvdc-chip { flex-shrink: 0; }
	.blvdc-cards { grid-template-columns: minmax(0, 1fr); }
	.blvdc-treatment { grid-template-columns: 76px minmax(0, 1fr); gap: 0 12px; padding: 12px; }
	.blvdc-treatment-media { width: 76px; height: 76px; }
	.blvdc-treatment-name { font-size: 20px; }
	.blvdc-next-bar { border-radius: var(--blvdc-radius); padding: 10px 10px 10px 16px; }
	.blvdc-fields { grid-template-columns: minmax(0, 1fr); }
	.blvdc-actions { justify-content: stretch; }
	.blvdc-actions .blvdc-btn { flex: 1 1 100%; white-space: nowrap; }
	.blvdc-review-row { grid-template-columns: minmax(0, 1fr); }
	.blvdc-line-head { grid-template-columns: 48px minmax(0, 1fr); }
	.blvdc-line-media { width: 48px; height: 48px; }
	.blvdc-line-head .blvdc-link { grid-column: 2; justify-self: start; }
	.blvdc-people,
	.blvdc-addons { grid-template-columns: minmax(0, 1fr); }
	.blvdc-calendar { max-width: none; padding: 12px; }
	.blvdc-time-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.blvdc-waitlist { padding: 18px 16px; }
	.blvdc-waitlist-times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.blvdc-waitlist > .blvdc-field { max-width: none; }
	/* The toast in one column: the words across the full width, Undo under them, the close button in the corner. */
	.blvdc-toast { left: 12px; right: 12px; bottom: 16px; width: auto; max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 40px; align-items: start; gap: 0 4px; padding: 6px 6px 12px 18px; }
	.blvdc-toast-text { grid-column: 1; grid-row: 1; padding-top: 10px; }
	.blvdc-toast-close { grid-column: 2; grid-row: 1; }
	.blvdc-toast-undo { grid-column: 1; grid-row: 2; justify-self: start; margin-top: 10px; }
	.blvdc-toast-undo[hidden] + .blvdc-toast-close { align-self: center; }
	.blvdc-signin-more { flex-direction: column; align-items: flex-start; gap: 16px; }
}


/* ---------- Kept for the account's move-a-visit panel (a week of dates) ---------- */

.blvdc-dates { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; align-items: center; margin-bottom: 24px; }
.blvdc-date-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.blvdc-date { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border: 1px solid var(--blvdc-rule); border-radius: var(--blvdc-radius-small); background: var(--blvdc-card); color: var(--blvdc-ink); font: inherit; cursor: pointer; }
.blvdc-date:hover:not([disabled]) { border-color: var(--blvdc-ink); }
.blvdc-date.is-chosen { background: var(--blvdc-dark); border-color: var(--blvdc-dark); color: var(--blvdc-on-dark); }
.blvdc-date[disabled] { cursor: not-allowed; opacity: .45; }
.blvdc-date-day { font-family: var(--blvdc-ui); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.blvdc-date-num { font-size: 18px; line-height: 1.2; }
.blvdc-date-note { display: none; }

/* Booked: the step bar has nothing left to say. */
.blvdc-booking.is-done .blvdc-head { display: none; }

/* "You also have a Botox booking started. Go back to it" */
.blvdc-kept { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 20px; padding: 12px 16px; border-radius: var(--blvdc-radius-small); background: var(--blvdc-surface-soft); font-size: var(--blvdc-fs-small); }

/* Clinic photo across the top of its card */
.blvdc-choice-media { display: block; margin: -24px -24px 14px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--blvdc-radius) var(--blvdc-radius) 0 0; }
.blvdc-choice-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blvdc-choice:has(.blvdc-choice-media:not([hidden])) { padding-top: 24px; overflow: hidden; }
/* Phones: a clinic is a compact row, a small fixed photo beside its name and address; the whole row is the button. */
@media (max-width: 700px) {
	.blvdc-choices { gap: 12px; }
	.blvdc-choice:has(.blvdc-choice-media:not([hidden])) {
		display: grid;
		grid-template-columns: 88px minmax(0, 1fr);
		column-gap: 14px;
		row-gap: 2px;
		align-items: center;
		padding: 12px 14px 12px 12px;
	}
	.blvdc-choice:has(.blvdc-choice-media:not([hidden])) .blvdc-choice-media {
		grid-row: 1 / span 3;
		width: 88px;
		height: 88px;
		margin: 0;
		aspect-ratio: auto;
		border-radius: var(--blvdc-radius-small, 6px);
	}
	.blvdc-choice:has(.blvdc-choice-media:not([hidden])) .blvdc-choice-name,
	.blvdc-choice:has(.blvdc-choice-media:not([hidden])) .blvdc-choice-text { grid-column: 2; }
	.blvdc-choice:has(.blvdc-choice-media:not([hidden])) .blvdc-choice-name { font-size: 20px; }
	.blvdc-choice:has(.blvdc-choice-media:not([hidden])) .blvdc-choice-go { display: none; } /* The whole row is the button. */
}

/* A quieter button for the step back from something (cancel a membership): text, underlined. */
.blvdc-btn.blvdc-btn-quiet { border-color: transparent; text-decoration: underline; text-underline-offset: 4px; padding-left: 12px; padding-right: 12px; }
.blvdc-btn.blvdc-btn-quiet:hover { background: transparent; color: var(--blvdc-error); border-color: transparent; }

/*
 * Each new screen's heading takes focus (so screen readers start there); that is not a keyboard
 * move, so no focus ring is drawn around it.
 */
.blvdc-booking [tabindex='-1']:focus,
.blvdc-booking [tabindex='-1']:focus-visible { outline: none; box-shadow: none; }

/* Card screen: the new-card form has its own heading, set apart from the saved cards. */
/* A heading inside a screen ("Choose a card", "Add a new card"): the heading face, one size below the screen title. */
.blvdc-subtitle { display: block; padding: 0; margin: 0 0 16px; font-family: var(--blvdc-heading); font-size: var(--blvdc-fs-h4); font-weight: 400; line-height: 1.2; letter-spacing: 0; text-transform: none; color: var(--blvdc-ink); }
.blvdc-card-form-title { margin: 0 0 28px; padding-top: 30px; border-top: 1px solid var(--blvdc-rule); }
.blvdc-card-choice + [data-slot='saved-go'],
.blvdc-actions[data-slot='saved-go'] { margin-top: 24px; }

/*
 * Square buttons, like the rest of the site (Book Now, the theme's buttons): buttons, Back, the
 * category and view switches, times, the search box and sort menus, the practice note and the
 * toast. Cards keep their soft corners; photos, faces, step numbers and calendar days stay round.
 */
.blvdc-btn,
.blvdc-back,
.blvdc-chip,
.blvdc-time,
.blvdc-search-box,
.blvdc-booking .blvdc-sort select,
.blvdc-segment,
.blvdc-segment button,
.blvdc-next-bar,
.blvdc-practice,
.blvdc-toast,
.blvdc-tag,
.blvdc-search-clear,
.blvdc-remove,
.blvdc-arrow { border-radius: 0; }
.blvdc-booking .blvdc-finder .blvdc-sort select,
.blvdc-account .blvdc-sort select { border-radius: 0; }

/* One button height everywhere in the plugin (46px): full buttons, small ones, switches, sort menus. */
.blvdc-btn,
.blvdc-btn.blvdc-btn-small { box-sizing: border-box; min-height: 46px; height: auto; }
.blvdc-btn.blvdc-btn-small { padding-top: 0; padding-bottom: 0; }
/* Buttons inside cards never stretch with the card. */
.blvdc-treatment > .blvdc-btn,
.blvdc-package .blvdc-btn,
.blvdc-todo-row .blvdc-btn,
.blvdc-provider .blvdc-btn { align-self: start; height: 46px; min-height: 46px; }
.blvdc-package .blvdc-btn,
.blvdc-todo-row .blvdc-btn { align-self: center; }

/* "Your package pays for this visit." in the summary */
.blvdc-summary-package { padding: 12px 14px; background: rgba(255, 255, 255, .08); }
.blvdc-summary-package .blvdc-link { display: inline-block; margin-top: 6px; }

/* "Start over" at the right end of the buying pages' step bar */
.blvdc-head-restart { margin-left: auto; white-space: nowrap; }

/* ---------- Add to calendar: one button, a small menu with brand glyphs (booking and account) ---------- */

.blvdc-cal { position: relative; display: inline-flex; }
.blvdc-cal[hidden] { display: none; }
.blvdc-cal-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 30;
	display: grid;
	min-width: 240px;
	padding: 6px;
	background: var(--blvdc-card);
	border: 1px solid var(--blvdc-rule);
	border-radius: var(--blvdc-radius);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
}
.blvdc-cal-menu[hidden] { display: none; }
.blvdc-cal-menu.is-end { left: auto; right: 0; }
.blvdc-cal-option {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 46px;
	padding: 0 14px;
	border-radius: 6px;
	color: var(--blvdc-ink);
	font-size: var(--blvdc-fs-body);
	text-decoration: none;
	white-space: nowrap;
}
.blvdc-cal-option:hover, .blvdc-cal-option:focus-visible { background: rgba(0, 0, 0, .05); outline: none; }
.blvdc-cal-glyph { width: 20px; height: 20px; flex: none; }
