/*!
 * BHS Amelia Skin - reskins Amelia 9.x "Step-by-Step Booking Form 2.0" (sbsNew)
 * to the Bal Harbour Shops Personal Shopping mock (design-src/template.html,
 * design-src-mobile/template.html).
 *
 * Scoping
 * -------
 * Form rules live under `.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper`.
 * The ID is written twice on purpose: Amelia's own root rule is
 * `.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper`, so a single ID would
 * only tie with it and the winner would depend on stylesheet order (proved by
 * panel/C-evidence/order.js). Two IDs beat every Amelia form selector
 * whichever file loads last.
 * Rules outside that scope, all Amelia-only classes:
 *   - `.el-popper.am-select-popper.am-select-popper.am-select-popper` (dropdowns are teleported
 *     to <body> by Element Plus);
 *   - `.amelia-v2-booking:has(> #amelia-container.am-fs__wrapper)` (container
 *     query root, step-by-step form only).
 *
 * !important policy
 * -----------------
 * Used only where Amelia writes inline `style=""` attributes from Vue
 * (CSS custom properties, sidebar width/padding, FullCalendar heights).
 * Inline styles beat any selector, so !important is the only override.
 * Each such block is marked "inline:".
 */

/* =========================================================================
   1. TOKENS
   ========================================================================= */

/* inline: Amelia sets all --am-c-* / --am-font-family / --am-mw-main / --am-brad-main
   on #amelia-container from Amelia > Customize. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper {
	--bhs-black: #000;
	--bhs-white: #fff;
	--bhs-page: #f2f1ef;
	--bhs-line: #e2e2e2;
	--bhs-line-2: #d6d6d6;
	--bhs-line-3: #cfcfcf;
	--bhs-input: #555;
	--bhs-muted: #6b6b6b;
	--bhs-muted-2: #4a4a4a;
	--bhs-error: #b00020;
	--bhs-disabled-bg: #f6f5f3;
	--bhs-disabled-fg: #b5b5b5;
	--bhs-other-fg: #d4d4d4;
	--bhs-btn-off: #bdbdbd;
	/* Theme fonts, already self-hosted by balharbourshop/style.css:
	   ogg_roman 400 only; sofia_pro 300/400/500/600/700. Fallbacks = theme's. */
	--bhs-serif: ogg_roman, "Times New Roman", Times, Baskerville, Georgia, serif;
	--bhs-sans: sofia_pro, Arial, "Helvetica Neue", Helvetica, sans-serif;

	--am-c-primary: #000 !important;
	--am-c-success: #000 !important;
	--am-c-error: #b00020 !important;
	--am-c-warning: #4a4a4a !important;
	--am-c-main-bgr: #fff !important;
	--am-c-main-heading-text: #000 !important;
	--am-c-main-text: #111 !important;
	--am-c-sb-bgr: #000 !important;
	--am-c-sb-text: #fff !important;
	--am-c-inp-bgr: #fff !important;
	--am-c-inp-border: #555 !important;
	--am-c-inp-text: #111 !important;
	--am-c-inp-placeholder: #6b6b6b !important;
	--am-c-drop-bgr: #fff !important;
	--am-c-drop-text: #111 !important;
	--am-c-btn-prim: #000 !important;
	--am-c-btn-prim-text: #fff !important;
	--am-c-btn-sec: #000 !important;
	--am-c-btn-sec-text: #fff !important;
	--am-c-skeleton-op20: rgba(0, 0, 0, .06) !important;
	--am-c-skeleton-op60: rgba(0, 0, 0, .12) !important;
	--am-font-family: sofia_pro, Arial, "Helvetica Neue", Helvetica, sans-serif !important;
	--am-mw-main: 1120px !important;
	--am-brad-main: 0 !important;

	/* layout (not inline) */
	height: 820px;
	margin: 48px auto;
	border: 1px solid var(--bhs-line);
	border-radius: 0;
	box-shadow: none;
	background: var(--bhs-white);
	font-family: var(--bhs-sans);
	font-weight: 300;
	color: #111;
	-webkit-font-smoothing: antialiased;
}

/* inline: per-component variable sets Amelia writes on child elements. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb {
	--am-c-sb-text-op5: transparent !important;
	--am-c-sb-text-op10: rgba(255, 255, 255, .2) !important;
	--am-c-sb-text-op60: rgba(255, 255, 255, .72) !important;
	--am-c-scroll-op30: rgba(255, 255, 255, .3) !important;
	--am-c-scroll-op10: transparent !important;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main {
	--am-mw-fsm: 780px !important;
	--am-c-scroll-op30: rgba(0, 0, 0, .25) !important;
	--am-c-scroll-op10: transparent !important;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-heading {
	--am-c-main-heading-text-op15: transparent !important;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-footer {
	--am-c-main-text-op15: transparent !important;
	--am-c-success-op20: transparent !important;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-button--primary {
	--am-c-btn-first: #000 !important;
	--am-c-btn-second: #fff !important;
	--am-c-btn-first-op80: #333 !important;
	--am-c-btn-first-op30: rgba(0, 0, 0, .3) !important;
	--am-c-btn-first-op20: rgba(0, 0, 0, .08) !important;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-button--secondary {
	--am-c-btn-first: #000 !important;
	--am-c-btn-second: #fff !important;
	--am-c-btn-first-op80: #333 !important;
	--am-c-btn-first-op30: #000 !important;
	--am-c-btn-first-op20: #f6f5f3 !important;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-select {
	--am-c-select-bgr: #fff !important;
	--am-c-select-border: #555 !important;
	--am-c-select-text: #111 !important;
	--am-c-select-placeholder: #6b6b6b !important;
	--am-c-select-shadow: transparent !important;
	--am-font-family: sofia_pro, Arial, "Helvetica Neue", Helvetica, sans-serif !important;
}

/* Calendar palette. Mapping (mock -> Amelia variable):
   available cell bg #fff, border #cfcfcf, text #000; hover bg #f6f5f3;
   selected #000 / #fff; disabled bg #f6f5f3 text #b5b5b5; busy bar off. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__wrapper {
	--am-c-cal-indicator: hidden !important;
	--am-c-cal-init: #000 !important;
	--am-c-cal-init-text: #000 !important;
	--am-c-cal-init-op10: #fff !important;
	--am-c-cal-init-op20: #f6f5f3 !important;
	--am-c-cal-init-op30: transparent !important;
	--am-c-cal-init-op60: #cfcfcf !important;
	--am-c-cal-selected: #000 !important;
	--am-c-cal-selected-text: #fff !important;
	--am-c-cal-selected-op80: #000 !important;
	--am-c-cal-disabled: #f6f5f3 !important;
	--am-c-cal-disabled-text: #b5b5b5 !important;
	--am-c-cal-disabled-op10: #f6f5f3 !important;
	--am-c-cal-disabled-op60: #f6f5f3 !important;
	--am-c-cal-low: #000 !important;
	--am-c-cal-high: #000 !important;
	--am-c-cal-low-text: #000 !important;
	--am-c-cal-high-text: #000 !important;
	--am-c-cal-low-op10: #fff !important;
	--am-c-cal-high-op10: #fff !important;
	--am-c-cal-low-op30: transparent !important;
	--am-c-cal-high-op30: transparent !important;
	--am-c-cal-low-op60: #cfcfcf !important;
	--am-c-cal-high-op60: #cfcfcf !important;
	--am-c-advsc-bgr-op10: #f6f5f3 !important;
	--am-rad-advsc-slot: 0;
	--am-fs-advsc: 15px;
	--am-fs-asdvsc-slot: 15px;
}

/* inline: dropdowns are teleported to <body> with their own variable set. */
.el-popper.am-select-popper.am-select-popper {
	--am-c-option-bgr: #fff !important;
	--am-c-option-border: #000 !important;
	--am-c-option-text: #111 !important;
	--am-c-option-text-op65: #4a4a4a !important;
	--am-c-option-text-op50: #6b6b6b !important;
	--am-c-option-text-op15: #e2e2e2 !important;
	--am-c-option-hover: #f6f5f3 !important;
	--am-c-option-selected: #000 !important;
	--am-c-option-selected-op10: #f6f5f3 !important;
	--am-c-option-img-bgr: #000 !important;
	--am-c-option-img-text: #fff !important;
	--am-c-error: #b00020 !important;
	--am-font-family: sofia_pro, Arial, "Helvetica Neue", Helvetica, sans-serif !important;
}

/* =========================================================================
   2. GLOBAL RESETS INSIDE THE FORM: no radius, no shadow, no lime
   ========================================================================= */

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper *,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper *::before,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper *::after {
	border-radius: 0;
	box-shadow: none;
}

/* The two round things the mock keeps: step circles and the "today" dot. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__step-icon,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .fc-day-today .fc-daygrid-day-frame::after {
	border-radius: 50%;
}

/* Accessible focus ring: black 2px, offset 2px (white inside the black sidebar). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper :is(a, button, input, textarea, select, [tabindex]):focus-visible {
	outline: 2px solid #000;
	outline-offset: 2px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb :is(a, button, [tabindex]):focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
	box-shadow: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb .am-fs-sb__menu:focus-visible [class*="am-icon-"] {
	box-shadow: none;
}

/* =========================================================================
   3. SIDEBAR (desktop / tablet, Amelia renders it when the form is > 560px)
   ========================================================================= */

/* inline: Amelia sets `width: 240px|72px; padding-bottom: Npx` on .am-fs-sb. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 32px;
	background: #000;
	color: #fff;
	padding: 44px 40px 32px !important;
	border-radius: 0;
	font-family: var(--bhs-sans);
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb:not(.am-collapsed) {
	width: 340px !important;
	max-width: 340px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb.am-collapsed {
	padding: 44px 16px 32px !important;
	gap: 24px;
}

/* Title block "Personal Shopping / Book a consultation" (pure CSS; static copy). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb:not(.am-collapsed)::before {
	content: "Personal Shopping and Styling";
	display: block;
	flex: none;
	font-family: var(--bhs-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .16em;
	line-height: 1.2;
	text-transform: uppercase;
	margin-bottom: -18px; /* 32px flex gap - 14px mock gap */
	text-wrap: balance; /* v1.3.7: the longer label wraps to two even lines in a narrow sidebar */
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb:not(.am-collapsed) .am-fs-sb__step-wrapper::before {
	content: "Book a consultation";
	display: block;
	font-family: var(--bhs-serif);
	font-size: 32px;
	font-weight: 400;
	line-height: 1.15;
	padding-bottom: 32px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__step-wrapper {
	flex: 0 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding: 0;
	counter-reset: bhs-step;
}

/* Step rows: [26px circle | label + value] with hairline separators. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__step {
	counter-increment: bhs-step;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	column-gap: 4px;
	row-gap: 4px;
	align-items: start;
	margin: 0;
	padding: 20px 0;
	background: transparent;
	border-top: 1px solid rgba(255, 255, 255, .2);
	opacity: .7; /* mock .5 fails WCAG (3.14:1); .7 gives 5.39:1, see design/SPEC.md */
	animation: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__step:has(.am-fs-sb__step-checker-selected),
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__step:has(.am-icon-check) {
	opacity: 1;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__step-inner {
	display: contents;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__step-icon {
	grid-column: 1;
	grid-row: 1 / span 2;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	box-sizing: border-box;
	border: 1px solid #fff;
	font-size: 11px;
	font-weight: 500;
	line-height: 1;
	color: #fff;
	background: transparent;
}

/* Hide Amelia's pictogram, show the step number instead. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__step-icon > [class*="am-icon-"] {
	display: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__step-icon::before {
	content: counter(bhs-step);
	font-family: var(--bhs-sans);
}

/* Completed step: filled white circle with a black check. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__step:has(.am-icon-check) .am-fs-sb__step-icon {
	background: #fff;
	color: #000;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__step:has(.am-icon-check) .am-fs-sb__step-icon::before {
	content: "";
	width: 5px;
	height: 9px;
	margin-top: -2px;
	border: solid #000;
	border-width: 0 1.5px 1.5px 0;
	transform: rotate(45deg);
}

/* The right-hand checker ring is replaced by the circle above. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__step-checker {
	display: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__step-heading {
	grid-column: 2;
	margin: 3px 0 0;
	font-family: var(--bhs-sans);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.35;
	color: #fff;
	animation: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__step-selection__wrapper {
	grid-column: 2;
	display: block;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__step-selection {
	font-family: var(--bhs-sans);
	font-size: 13px;
	font-weight: 300;
	line-height: 1.5;
	color: rgba(255, 255, 255, .72);
	padding: 0;
	border: 0;
	white-space: normal;
	animation: none;
}

/* Placeholders for empty steps (mock: "Not chosen yet" / "Name, email and phone"). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__step:not(:last-child) .am-fs-sb__step-selection__wrapper:empty::before {
	content: "Not chosen yet";
	font-size: 13px;
	font-weight: 300;
	line-height: 1.5;
	color: rgba(255, 255, 255, .72);
}

/* Collapsed sidebar (72px): circles only. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb.am-collapsed .am-fs-sb__step {
	grid-template-columns: 1fr;
	justify-items: center;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb.am-collapsed .am-fs-sb__step-selection__wrapper {
	display: none;
}

/* Footer: contact + collapse. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__footer {
	position: static;
	width: auto;
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Native Amelia support block (rendered when Settings > Company has an email). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__support {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 0;
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .72);
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__support-heading {
	font-size: 13px;
	font-weight: 300;
	color: rgba(255, 255, 255, .72);
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__support-email {
	font-size: 13px;
	font-weight: 300;
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
	word-break: break-all;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__menu {
	padding: 18px 0 0;
	border-top: 1px solid rgba(255, 255, 255, .2);
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__menu-text {
	font-family: var(--bhs-sans);
	font-size: 14px;
	font-weight: 400;
	color: #fff;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb__menu [class*="am-icon-arrow-circle"] {
	font-size: 16px;
	color: #fff;
}

/* =========================================================================
   4. MAIN COLUMN: heading / scroll area / footer
   ========================================================================= */

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main {
	max-width: none;
	flex: 1 1 auto;
	min-width: 0;
	border-radius: 0;
	background: #fff;
}

/* Turn Amelia's absolute-footer layout into a column so heading/footer can
   take the mock's heights and the content scrolls in between. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-heading {
	flex: none;
	padding: 32px 56px 20px;
	border-bottom: 1px solid var(--bhs-line);
	box-shadow: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-heading-inner {
	gap: 0 20px;
	align-items: center;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-heading-inner-title {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-family: var(--bhs-serif);
	font-size: 28px;
	font-weight: 400;
	line-height: 1.1;
	color: #000;
	white-space: normal;
}

/* Eyebrow "Step N", derived from which step Amelia marks as current. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-heading-inner-title::before {
	display: block;
	font-family: var(--bhs-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .16em;
	line-height: 1.2;
	text-transform: uppercase;
	color: #000;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-fs-sb__step:nth-child(1) .am-fs-sb__step-checker-selected) .am-fs__main-heading-inner-title::before {
	content: "Step 1";
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-fs-sb__step:nth-child(2) .am-fs-sb__step-checker-selected) .am-fs__main-heading-inner-title::before {
	content: "Step 2";
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-fs-sb__step:nth-child(3) .am-fs-sb__step-checker-selected) .am-fs__main-heading-inner-title::before {
	content: "Step 3";
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-fs-sb__step:nth-child(4) .am-fs-sb__step-checker-selected) .am-fs__main-heading-inner-title::before {
	content: "Step 4";
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-fs-sb__step:nth-child(5) .am-fs-sb__step-checker-selected) .am-fs__main-heading-inner-title::before {
	content: "Step 5";
}

/* Card layout (layout=2) paints step 1 before Amelia marks it current. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-fs-sb):not(:has(.am-fs-sb__step-checker-selected)):not(:has(.am-fs-sb__step .am-icon-check)) .am-fs__main-heading-inner-title::before {
	content: "Step 1";
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:not(:has(.am-fs-sb__step-checker-selected)):not(:has(.am-fs-sb__step .am-icon-check)) .am-fs-sb__step:first-child {
	opacity: 1;
}

/* Back button: 40px black outline square. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-heading-prev.am-button {
	--am-h-btn: 40px;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	flex: none;
	background: #fff;
	border: 1px solid #000;
	color: #000;
	font-size: 16px;
}

@media (hover: hover) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-heading-prev.am-button:hover {
		background: #f6f5f3;
	}
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-inner > .am-fs__main-content {
	flex: 1 1 auto;
	min-height: 0;
	height: auto;
	padding: 28px 56px 36px;
	overflow-y: auto;
	font-family: var(--bhs-sans);
	font-weight: 300;
	color: #111;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-inner > .am-fs__main-content.am-fs__init {
	padding-top: 28px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-footer {
	position: static;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 24px;
	width: 100%;
	padding: 20px 56px 28px;
	border-top: 1px solid var(--bhs-line);
	background: #fff;
	box-shadow: none;
}

/* =========================================================================
   5. BUTTONS
   ========================================================================= */

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-button {
	--am-rad-btn: 0;
	font-family: var(--bhs-sans);
	letter-spacing: 0;
	box-shadow: none;
}

/* Primary: black, 52px. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-footer .am-button,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-button--primary.am-button--filled {
	--am-h-btn: 52px;
	--am-fs-btn: 15px;
	--am-fw-btn: 400;
	--am-padd-btn: 0 48px;
	height: 52px;
	padding: 0 48px;
	font-size: 15px;
	font-weight: 400;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-button--primary.am-button--filled {
	background: #000;
	border: 1px solid #000;
	color: #fff;
}

@media (hover: hover) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-button--primary.am-button--filled:not(.is-disabled):hover {
		background: #333;
		border-color: #333;
	}
}

/* Mock uses #bdbdbd (1.88:1 with white text); #6b6b6b keeps it legible (5.33:1). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-button--primary.am-button--filled.is-disabled {
	background: #6b6b6b;
	border-color: #6b6b6b;
	color: #fff;
	opacity: 1;
	cursor: default;
}

/* Secondary / outline. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-button--plain,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-button--secondary.am-button--filled {
	background: #fff;
	border: 1px solid #000;
	color: #000;
}

@media (hover: hover) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-button--plain:not(.is-disabled):hover {
		background: #f6f5f3;
	}
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-button--text {
	background: transparent;
	border-color: transparent;
	color: #000;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* =========================================================================
   6. INPUTS, SELECTS, LABELS (step 1 selects, step 3 info form)
   ========================================================================= */

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .el-form-item {
	margin-bottom: 20px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .el-form-item > .el-form-item__label,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__info-form .el-form-item > .el-form-item__label,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-form .el-form-item > .el-form-item__label,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-form__label,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__info-form__label {
	display: inline-block;
	margin: 0 0 8px;
	padding: 0;
	font-family: var(--bhs-sans);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: #000;
}

/* Amelia's red "*" is replaced by a word, as in the mock ("Email required"). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .el-form-item.is-required.asterisk-left > .el-form-item__label::before {
	content: none;
	display: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__info-form .el-form-item.is-required .am-fs__info-form__label::after {
	content: " required"; /* fallback for engines without alt text */
	content: " required" / ""; /* visible, but not added to the accessible name (aria-required carries it) */
	font-weight: 300;
	color: var(--bhs-muted);
}

/* Text inputs */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input-wrapper {
	--am-c-input-border: #555;
	--am-c-input-shadow: transparent;
	--am-rad-input: 0;
	--am-h-input: 48px;
	--am-fs-input: 15px;
	--am-padd-input: 0 14px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input .el-input__wrapper,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper :is(.am-input, .am-textarea) .el-textarea__inner {
	min-height: 48px;
	padding: 0 14px;
	background: #fff;
	border: 0;
	border-radius: 0;
	box-shadow: 0 0 0 1px #555 inset;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper :is(.am-input, .am-textarea) .el-textarea__inner {
	padding: 12px 14px;
	/* !important: Amelia writes an inline min-height (47-48px) on the textarea. */
	min-height: 110px !important;
	resize: vertical;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input .el-input__inner,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper :is(.am-input, .am-textarea) .el-textarea__inner {
	height: 46px;
	font-family: var(--bhs-sans);
	font-size: 15px;
	font-weight: 300;
	color: #111;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper :is(.am-input, .am-textarea) .el-textarea__inner {
	height: auto;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input .el-input__inner::placeholder,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper :is(.am-input, .am-textarea) .el-textarea__inner::placeholder {
	color: #6b6b6b;
	opacity: 1;
}

@media (hover: hover) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input .el-input__wrapper:not(.is-focus):hover,
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper :is(.am-input, .am-textarea) .el-textarea__inner:not(:focus):hover {
		box-shadow: 0 0 0 1px #000 inset;
	}
}

/* v1.3.6: custom-field text areas ("Describe your needs") render as
   .el-textarea.am-textarea, outside .am-input, so the textarea selectors above
   now match both wrappers. */

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input .el-input__wrapper.is-focus,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper :is(.am-input, .am-textarea) .el-textarea__inner:focus {
	box-shadow: 0 0 0 2px #000 inset;
}

/* The input itself sits inside the drawn box; ring the box, not the bare input. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input .el-input__inner:focus-visible {
	outline: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper :is(.am-input, .am-textarea) .el-textarea__inner:focus-visible {
	outline: none;
}

/* Selects (Element Plus) */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-select .el-select__wrapper {
	height: 48px;
	min-height: 48px;
	padding: 0 16px;
	background: #fff;
	border: 0;
	border-radius: 0;
	box-shadow: 0 0 0 1px #555 inset;
	font-family: var(--bhs-sans);
	font-size: 15px;
	font-weight: 300;
	cursor: pointer;
}

@media (hover: hover) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-select .el-select__wrapper:not(.is-focused):hover {
		box-shadow: 0 0 0 1px #000 inset;
	}
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-select .el-select__wrapper.is-focused {
	box-shadow: 0 0 0 2px #000 inset;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-select .el-select__input:focus-visible {
	outline: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-select .el-select__selected-item,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-select .el-select__placeholder,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-select .el-select__input {
	font-family: var(--bhs-sans);
	font-size: 15px;
	font-weight: 300;
	color: #111;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-select .el-select__placeholder.is-transparent {
	color: #6b6b6b;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-select .el-select__caret {
	color: #000;
	font-size: 14px;
}

/* Phone (maz-ui inside Amelia). Amelia draws this border with a box-shadow
   driven by --am-c-ph-inp-border, and hard-codes 6px radii with 6-class
   selectors, hence the long selectors below (no !important needed). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input-phone.m-input-phone-number {
	--am-c-ph-inp-border: #555;
	--am-c-ph-inp-text: #111;
	--am-c-ph-inp-placeholder: #6b6b6b;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input-phone.m-input-phone-number .m-input-wrapper.--border,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input-phone.m-input-phone-number .m-input-wrapper.--border:first-child,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input-phone.m-input-phone-number .m-phone-input .m-input-wrapper.--border:first-child {
	border-radius: 0;
	box-shadow: 0 0 0 1px var(--am-c-ph-inp-border) inset;
}

@media (hover: hover) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input-phone.m-input-phone-number .m-input-wrapper.--border:hover {
		--am-c-ph-inp-border: #000;
	}
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input-phone.m-input-phone-number .m-input-wrapper.--border:focus-within,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input-phone.m-input-phone-number .m-input-wrapper.--border:first-child:focus-within,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input-phone.m-input-phone-number .m-phone-input .m-input-wrapper.--border:first-child:focus-within {
	--am-c-ph-inp-border: #000;
	box-shadow: 0 0 0 2px #000 inset;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input-phone.m-input-phone-number .m-phone-input .m-input-wrapper.--border:first-child {
	padding-left: 14px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input-phone.m-input-phone-number .m-select-country {
	margin-right: -1px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input-phone.m-input-phone-number .m-input-wrapper-input {
	height: 48px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input-phone.m-input-phone-number .m-input-wrapper input {
	font-family: var(--bhs-sans);
	font-size: 15px;
	font-weight: 300;
}

/* maz-ui "Country code" label is #8a8a8a (3.45:1); use #6b6b6b (5.33:1). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input-phone.m-input-phone-number .m-input-label {
	color: #6b6b6b;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input-phone.m-input-phone-number .m-input-wrapper input:focus-visible {
	outline: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .el-form-item.is-error .am-input-phone.m-input-phone-number,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-input-phone.m-input-phone-number .m-input-wrapper.--border.maz-border-destructive {
	--am-c-ph-inp-border: #b00020;
}

/* v1.3.8: phone field's "Country code" label in the error state was Amelia's
   lighter red (4.02:1); use the skin's error red. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .m-input-label.\!maz-text-destructive-600 {
	color: #b00020 !important;
}

/* Validation errors (#b00020). Amelia/Element add .is-error on the item; the
   phone component adds .--error on its own wrapper while invalid. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .el-form-item.is-error .am-input .el-input__wrapper,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .el-form-item.is-error :is(.am-input, .am-textarea) .el-textarea__inner,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .el-form-item.is-error .am-select .el-select__wrapper {
	box-shadow: 0 0 0 1px #b00020 inset;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .el-form-item.is-error .el-form-item__label,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .el-form-item.is-error .am-fs__info-form__label {
	color: #b00020;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .el-form-item__error {
	position: static;
	padding-top: 8px;
	font-family: var(--bhs-sans);
	font-size: 13px;
	font-weight: 300;
	line-height: 1.4;
	color: #b00020;
}

/* Info form grid: 2 columns, 20px x 16px gaps. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__info-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 16px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__info-form > * {
	width: auto;
	min-width: 0;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__info-form .el-form-item.am-cf-width-100,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__info-form .el-form-item.am-subscribe,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__info-form .am-fs__payments-sentence {
	grid-column: 1 / -1;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__info-form .el-form-item:has(textarea) {
	grid-column: 1 / -1;
}

/* inline: Amelia sets `margin-bottom: 24px` on the phone item. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__info-form .el-form-item {
	margin-bottom: 20px !important;
}

/* Checkbox / radio (custom fields, terms) */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .el-checkbox__inner,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .el-radio__inner {
	border-color: #555;
	border-radius: 0;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .el-checkbox__input.is-checked .el-checkbox__inner {
	background: #000;
	border-color: #000;
}

/* =========================================================================
   7. STEP 1 (init form) - single select per row, mock spacing
   ========================================================================= */

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-form__item {
	margin-bottom: 24px;
}

/* =========================================================================
   7b. CARD LAYOUT - shortcode [ameliastepbooking layout=2]
   stepForm-*.js swaps the dropdown step for ServiceStep / EmployeeStep /
   LocationStep when layout === "2". Cards share .am-fs__init-item.
   Employee step verified by rewriting `layout` to "2" in a local browser
   session (dev/tree-l2-step-1.txt). Service and location steps are skipped
   live (one service, one location) and are styled from the bundle only.
   ========================================================================= */

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-scl {
	gap: 14px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-scl__filters:empty {
	display: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-scl__content {
	gap: 12px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item {
	position: relative;
	gap: 0;
	padding: 0;
	background: #fff;
	border: 1px solid var(--bhs-line);
	border-radius: 0;
	color: #000;
	cursor: pointer;
	transition: border-color .15s ease;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item:focus {
	border-color: var(--bhs-line);
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item:focus-visible {
	outline: 2px solid #000;
	outline-offset: 2px;
}

@media (hover: hover) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item:not(.am--disabled):hover {
		border-color: #000;
	}
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item.am--selected {
	border-color: #000;
	outline: 1px solid #000;
	outline-offset: -2px;
	background: #fff;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item.am--selected:focus-visible {
	outline: 2px solid #000;
	outline-offset: 2px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item__name {
	min-width: 0;
	overflow-wrap: anywhere;
	font-family: var(--bhs-serif);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.3;
	color: inherit;
	white-space: normal;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item__heading {
	align-items: baseline;
	gap: 4px 8px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item.am--selected .am-fs__init-item__heading::after {
	content: "Selected";
	flex: none;
	white-space: nowrap;
	font-family: var(--bhs-sans);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin-left: auto;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item__info-name,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item__footer-actions {
	font-family: var(--bhs-sans);
	font-size: 13px;
	font-weight: 300;
	line-height: 1.55;
	color: #4a4a4a;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item__info [class^="am-icon-"] {
	color: #000;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item__footer {
	border-top: 1px solid var(--bhs-line);
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item__footer-actions {
	text-decoration: underline;
	text-underline-offset: 2px;
	color: #000;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item__price {
	padding: 0;
	background: none;
	font-family: var(--bhs-sans);
	font-size: 13px;
	font-weight: 300;
	color: #6b6b6b;
}

/* Employee step: 3-up stylist cards, 4:5 photo (mock screen 01). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs-scl__content {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item {
	flex-direction: column;
	flex-wrap: nowrap;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	border: 0;
	border-radius: 0;
	background: #efeeec;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__img img {
	object-position: center top;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__content {
	width: auto;
	padding: 16px 16px 18px;
	gap: 6px;
	justify-content: flex-start;
}

/* "Any employee" tile: black with Amelia's own icon. Its name comes from the
   any_employee label (rename in Amelia, see README). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__img.am-item-any {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 20px;
	background: #000;
	color: #fff;
	text-align: center;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__img.am-item-any > [class*="am-icon-"] {
	position: static;
	transform: none;
	font-size: 40px;
	color: #fff;
}

/* Service step: full-width rows (mock screen 01, top). Untested live. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-service-step .am-fs__init-item {
	flex-wrap: nowrap;
	align-items: center;
	gap: 24px;
	padding: 20px 24px;
	border-color: var(--bhs-line-2);
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-service-step .am-fs__init-item__img {
	display: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-service-step .am-fs__init-item__content {
	width: auto;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-service-step .am-fs__init-item__name {
	font-size: 20px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-service-step .am-fs__init-item.am--selected {
	background: #000;
	color: #fff;
	outline: 0;
}

/* v1.3.4: outline: 0 above also removed the keyboard focus ring; restore it. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-service-step .am-fs__init-item.am--selected:focus-visible {
	outline: 2px solid #000;
	outline-offset: 2px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-service-step .am-fs__init-item.am--selected .am-fs__init-item__info-name,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-service-step .am-fs__init-item.am--selected .am-fs__init-item__price,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-service-step .am-fs__init-item.am--selected .am-fs__init-item__footer-actions,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-service-step .am-fs__init-item.am--selected [class^="am-icon-"] {
	color: rgba(255, 255, 255, .75);
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-service-step .am-fs__init-item.am--selected .am-fs__init-item__heading::after {
	content: none;
}

/* Location step: same rows as services. Untested live. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-location-step .am-fs__init-item {
	padding: 16px 20px;
	gap: 16px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-location-step .am-fs__init-item__img {
	width: 64px;
	height: 64px;
	border: 0;
	border-radius: 0;
}

/* Mobile cards: photo 96x120 beside the text (mobile mock screen 01). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs-scl__content {
	grid-template-columns: minmax(0, 1fr);
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item {
	display: block;
}

/* Photo is a direct child of the card (form 371-560px)... */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item:has(> .am-fs__init-item__img) {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
}

/* ...or Amelia moves it inside the heading (form <= 370px, .am-rw-370). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__heading:has(> .am-fs__init-item__img) {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	align-items: start;
	align-content: start;
	gap: 6px 14px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__heading > .am-fs__init-item__img {
	grid-row: 1 / span 2;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__heading > .am-fs__init-item__name {
	grid-column: 2;
	padding-top: 12px;
	order: 0;
	width: auto;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__heading:has(> .am-fs__init-item__img)::after {
	grid-column: 2;
	margin: 0;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__content:has(.am-fs__init-item__heading > .am-fs__init-item__img) {
	padding: 0;
	width: 100%;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__img {
	width: 96px;
	height: 120px;
	aspect-ratio: auto;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__img.am-item-any {
	padding: 8px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__content {
	width: auto;
	padding: 12px 14px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__name {
	font-size: 17px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-service-step .am-fs__init-item {
	padding: 16px 18px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-service-step .am-fs__init-item__name {
	font-size: 18px;
}

@container bhs-amelia (max-width: 899px) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs-scl__content {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* v1.2.3: the "Learn More" popup (.am-fs-iipu) is rendered INSIDE the form
   wrapper (verified: .am-fs__main-inner > .am-fs-iipu), so it is scoped like
   every other rule. Amelia shows a generated initials avatar for services
   without a picture: an <img> whose src is a data: URI. Hide only that one;
   an uploaded picture (http/https src) still shows. The heading is flex with
   a gap, so the name moves flush left with no extra rule. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu__heading > img[src^="data:"] {
	display: none;
}

/* v1.2.3: on narrow forms Amelia moves the photo into the heading and the
   skin removes the content padding, which left "Learn More" flush with the
   card edge. Give the footer the card's inner padding (14px sides). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__content:has(.am-fs__init-item__heading > .am-fs__init-item__img) > .am-fs__init-item__footer {
	margin-top: 0;
	padding: 8px 14px 12px;
}

/* =========================================================================
   7c. v1.3.0 - "LEARN MORE" AS AN INLINE PANEL + MODULE-STYLE STYLIST CARDS
   Reference: the website team module "A. One row of five, profile opens
   below" (square photos, display-serif names, "View profile +" toggle whose
   + turns 45deg, #f4f4f2 panel opening below the row with a grid-template-rows
   animation, 44px close, non-active cards faded). Fonts stay the theme's:
   ogg_roman replaces the module's Italiana, sofia_pro replaces Jost.

   Amelia renders the popup INSIDE the form, as a sibling between the card
   list and the footer: .am-fs__main-inner > .am-slide-popup__block.am-fs-iipu
   (the block) > .am-slide-popup__block-inner[role=dialog] (verified,
   qa/v130/data/probe0.json). Taking the block out of absolute positioning
   puts it in the flow below the cards; the list above it keeps scrolling.
   Nothing is moved in the DOM. Amelia's dialog semantics, focus move, focus
   trap, Esc and focus return are untouched. The helper (bhs-amelia-a11y.js,
   item 6) adds role=button, aria-expanded and the "View details"/"Close"
   labels on the trigger; without it the trigger keeps Amelia's "Learn More".
   ========================================================================= */

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-inner {
	--bhs-px: 56px;
}

/* --- Trigger: "VIEW DETAILS +" / "VIEW PROFILE +" -------------------------- */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item__footer {
	margin: 0;
	padding: 0;
	border-top: 0;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item__footer-actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	padding: 4px 0;
	font-family: var(--bhs-sans);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	color: #000;
	cursor: pointer;
	white-space: nowrap;
}

/* Helper present: the visible text comes from data-bhs-label (the accessible
   name is the helper's aria-label, so the CSS text is not read twice). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item__footer-actions[data-bhs-label] {
	font-size: 0;
	letter-spacing: 0;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item__footer-actions[data-bhs-label]::before {
	content: attr(data-bhs-label);
	content: attr(data-bhs-label) / "";
	font-size: 12px;
	letter-spacing: .06em;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item__footer-actions::before {
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease;
}

/* The + : two 1px bars, turned 45deg into an x while the panel is open. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item__footer-actions::after {
	content: "";
	flex: none;
	width: 11px;
	height: 11px;
	background:
		linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
		linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
	transition: transform .35s cubic-bezier(.32, .72, 0, 1);
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item__footer-actions[aria-expanded="true"]::after {
	transform: rotate(45deg);
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item__footer-actions:focus {
	outline: 0;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item__footer-actions:focus-visible {
	outline: 2px solid #000;
	outline-offset: 3px;
}

@media (hover: hover) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item__footer-actions:hover::before {
		border-bottom-color: currentColor;
	}
}

/* Without the helper the label is Amelia's own text node: underline it on hover instead. */
@media (hover: hover) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__init-item__footer-actions:not([data-bhs-label]):hover {
		text-decoration: underline;
		text-underline-offset: 3px;
	}
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-service-step .am-fs__init-item.am--selected .am-fs__init-item__footer-actions {
	color: #fff;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-service-step .am-fs__init-item.am--selected .am-fs__init-item__footer-actions:focus-visible {
	outline-color: #fff;
}

/* --- Service rows: name and duration left, trigger right ------------------ */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-service-step .am-fs-scl__content {
	gap: 10px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-service-step .am-fs__init-item {
	padding: 14px 24px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-service-step .am-fs__init-item__content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 4px 24px;
	width: 100%;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-service-step .am-fs__init-item__content > * {
	grid-column: 1;
	margin: 0;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-service-step .am-fs__init-item__content > .am-fs__init-item__footer {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
}

/* v1.3.7: "Complimentary" after the duration (all services are free for now;
   remove this rule when paid services are added). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-service-step .am-fs__init-item__info-inner:has(.am-icon-clock) .am-fs__init-item__info-name::after {
	content: " \2013  Complimentary";
}

/* v1.3.7, v1.3.14: confirmation "Location" value, one line per address line (set by the helper). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__ci-value[data-bhs-loc] {
	white-space: pre-line;
}

/* --- Stylist cards: square photo, centred serif name, module spacing ------- */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs-scl__content {
	gap: 28px 20px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item {
	display: flex;
	flex-direction: column;
	border-color: transparent;
	text-align: center;
}

@media (hover: hover) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item:not(.am--disabled):hover {
		border-color: var(--bhs-line);
	}
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item.am--selected {
	border-color: #000;
}

/* The photo box, wherever Amelia puts it (beside the content, or inside the
   heading when the list is <= 370px wide). Its background is the no-photo
   state: a #f4f4f2 square with a thin outline portrait, shown only when there
   is no uploaded photo (a real photo covers it). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__img {
	position: relative;
	display: block;
	flex: none;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	margin: 0;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: #f4f4f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23a3a3a0' stroke-width='1'%3E%3Ccircle cx='32' cy='25' r='9.5'/%3E%3Cpath d='M14 53c1.8-10 8.8-16 18-16s16.2 6 18 16'/%3E%3C/svg%3E") center / 38% no-repeat;
	transition: opacity .35s ease;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__img > img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 0;
	object-fit: cover;
	object-position: center top;
	transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

/* Amelia's generated initials avatar (a data: PNG) is never shown. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__img > img[src^="data:"] {
	visibility: hidden;
}

@media (hover: hover) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item:not(.am--disabled):hover .am-fs__init-item__img > img {
		transform: scale(1.04);
	}
}

/* "Any stylist": black square, Amelia's icon. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__img.am-item-any {
	display: flex;
	padding: 20px;
	background: #000;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	width: auto;
	padding: 14px 10px 14px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__heading {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
	gap: 6px;
	width: 100%;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__name {
	width: auto;
	font-family: var(--bhs-serif);
	font-size: 24px;
	font-weight: 400;
	line-height: 1.15;
	text-align: center;
	transition: color .35s ease;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item.am--selected .am-fs__init-item__heading::after {
	margin: 0;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__footer {
	display: flex;
	justify-content: center;
	align-self: stretch;
}

/* --- Fade: the module dims every card but the open one ---------------------
   1. A panel is open: every card except the open one and the selected one.
   2. No panel, a named stylist is selected (not Amelia's default "Any
      stylist"): every other stylist card.
   The photo goes to .45 like the module; text goes to #6b6b6b (5.33:1 on
   white) instead of .45 opacity, which would drop it to about 3.4:1.
   Hover and keyboard focus bring a card back to full strength. Needs :has().
   v1.3.3: never on the selected card - on the black service row that rule
   turned the name and trigger black (invisible) once the row had focus. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-scl__content:has([aria-expanded="true"]) .am-fs__init-item:not(.am--selected):not(:has([aria-expanded="true"])) .am-fs__init-item__img,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs-scl__content:not(:has([aria-expanded="true"])):has(.am--selected .am-fs__init-item__img:not(.am-item-any)) .am-fs__init-item:not(.am--selected) .am-fs__init-item__img {
	opacity: .45;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-scl__content:has([aria-expanded="true"]) .am-fs__init-item:not(.am--selected):not(:has([aria-expanded="true"])) :is(.am-fs__init-item__name, .am-fs__init-item__info-name, .am-fs__init-item__footer-actions, [class^="am-icon-"]),
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs-scl__content:not(:has([aria-expanded="true"])):has(.am--selected .am-fs__init-item__img:not(.am-item-any)) .am-fs__init-item:not(.am--selected) :is(.am-fs__init-item__name, .am-fs__init-item__footer-actions) {
	color: #6b6b6b;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-scl__content .am-fs__init-item:focus-within .am-fs__init-item__img {
	opacity: 1;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-scl__content .am-fs__init-item:not(.am--selected):focus-within :is(.am-fs__init-item__name, .am-fs__init-item__footer-actions) {
	color: #000;
}

@media (hover: hover) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-scl__content .am-fs__init-item:hover .am-fs__init-item__img {
		opacity: 1;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-scl__content .am-fs__init-item:not(.am--selected):hover :is(.am-fs__init-item__name, .am-fs__init-item__footer-actions) {
		color: #000;
	}
}

/* --- The panel ------------------------------------------------------------ */
/* Block: in the flow under the card list, no grey overlay. Amelia mounts it
   already visible (v-if in the popup's parent), so its own Vue transition
   never runs; the opening is a keyframe on mount instead: the single grid row
   grows 0fr -> 1fr as in the module. Closing is instant (the node is removed
   at once). Reduced motion: section 15 sets animation:none. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-inner > .am-fs-iipu {
	position: relative;
	inset: auto;
	z-index: 1;
	display: grid;
	grid-template-rows: 1fr;
	flex: none;
	width: 100%;
	height: auto;
	padding: 16px var(--bhs-px) 20px;
	background: none;
	opacity: 1;
	transition: none;
	animation: bhs-iipu-open .45s cubic-bezier(.32, .72, 0, 1) both;
}

@keyframes bhs-iipu-open {
	from {
		grid-template-rows: 0fr;
		padding-top: 0;
		padding-bottom: 0;
		opacity: 0;
	}
}

/* Inner = Amelia's dialog element: a #f4f4f2 panel. Padding lives on its
   children so the row can collapse to 0. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-inner > .am-fs-iipu > .am-slide-popup__block-inner {
	position: relative;
	inset: auto;
	display: block;
	width: auto;
	max-width: none;
	height: auto;
	min-height: 0;
	max-height: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	transform: none;
	border-radius: 0;
	box-shadow: none;
	background: #f4f4f2;
	color: #1d1d1b;
	opacity: 1;
	transition: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-slide-popup__block-header {
	display: block;
	margin: 0;
	padding: 30px 76px 0 48px;
	background: none;
	color: #1d1d1b;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-fs-iipu__header {
	font-family: var(--bhs-sans);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #1d1d1b;
}

/* Close: 44px target, top right, as in the module. Amelia's span, role=button. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-slide-popup__block-header .am-icon-close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 0;
	box-shadow: none;
	font-size: 18px;
	color: #1d1d1b;
	cursor: pointer;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-slide-popup__block-header .am-icon-close:focus {
	outline: 0;
	box-shadow: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-slide-popup__block-header .am-icon-close:focus-visible {
	outline: 2px solid #1d1d1b;
	outline-offset: -4px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-fs-iipu__content {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-height: 300px;
	margin: 0;
	padding: 14px 48px 36px;
	overflow-x: hidden;
	overflow-y: auto;
	font-family: var(--bhs-sans);
	color: #3f3f3d;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-fs-iipu__heading {
	display: block;
}

/* The card above already shows the photo; the module's panel has none. This
   also keeps generated initials avatars out (v1.2.3 hid only those). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-fs-iipu__heading > img {
	display: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-fs-iipu__name {
	font-family: var(--bhs-serif);
	font-size: 40px;
	font-weight: 400;
	line-height: 1.1;
	color: #1d1d1b;
	overflow-wrap: anywhere;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-fs-iipu__description,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-fs-iipu__description.am-tap-description {
	max-width: 760px;
	font-family: var(--bhs-sans);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.75;
	color: #3f3f3d;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-fs-iipu__description.am-tap-description p {
	font-size: inherit;
	line-height: inherit;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-fs-iipu__description.am-tap-description p + p {
	margin-top: 12px;
}

/* Service panel: Amelia's row of round stylist thumbnails (mouse-only, and it
   would show generated avatars) is not shown; the next step lists the stylists. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-fs-iipu__employee {
	display: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-fs-iipu__location {
	font-size: 13px;
	line-height: 1.55;
	color: #4a4a4a;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-fs-iipu__location-label {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #1d1d1b;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-fs-iipu__location-wrapper,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-fs-iipu__location-inner {
	margin: 4px 0 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	font-size: 13px;
	color: #4a4a4a;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-fs-iipu__location-inner,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-fs-iipu__location-inner a {
	white-space: normal;
	overflow: visible;
	text-overflow: clip;
	overflow-wrap: anywhere;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-fs-iipu__location-inner a {
	font-size: 13px;
	color: #000;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* --- Widths ---------------------------------------------------------------- */
@container bhs-amelia (max-width: 1119px) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-inner {
		--bhs-px: 36px;
	}
}

@container bhs-amelia (max-width: 899px) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-inner {
		--bhs-px: 24px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__name {
		font-size: 21px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-slide-popup__block-header {
		padding: 24px 64px 0 32px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-fs-iipu__content {
		padding: 12px 32px 28px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-fs-iipu__name {
		font-size: 34px;
	}
}

/* Mobile (form <= 560px, progress bar shown). Same selectors as section 7b's
   mobile rows so these, being later, replace them: 2-up square tiles. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs__main-inner {
	--bhs-px: 20px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs-scl__content {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 12px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item:has(> .am-fs__init-item__img) {
	display: flex;
	flex-direction: column;
	grid-template-columns: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__heading:has(> .am-fs__init-item__img) {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__heading > .am-fs__init-item__img {
	align-self: stretch;
	margin-bottom: 6px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__heading > .am-fs__init-item__name {
	padding: 0 8px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__heading:has(> .am-fs__init-item__img)::after {
	margin: 0;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__content:has(.am-fs__init-item__heading > .am-fs__init-item__img) {
	padding: 0 0 12px;
	width: 100%;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__img.am-item-any {
	padding: 12px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__content {
	padding: 12px 8px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__name {
	font-size: 19px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__content:has(.am-fs__init-item__heading > .am-fs__init-item__img) > .am-fs__init-item__footer {
	margin-top: 0;
	padding: 0 8px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs__init-item__footer-actions {
	min-height: 40px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-service-step .am-fs__init-item {
	padding: 16px 18px 10px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-service-step .am-fs__init-item__content {
	grid-template-columns: minmax(0, 1fr);
	gap: 4px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-service-step .am-fs__init-item__content > .am-fs__init-item__footer {
	grid-column: 1;
	grid-row: auto;
	justify-self: start;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-iipu .am-slide-popup__block-header {
	padding: 20px 60px 0 20px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-iipu .am-slide-popup__block-header .am-icon-close {
	top: 6px;
	right: 6px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-iipu .am-fs-iipu__content {
	max-height: 36svh;
	padding: 10px 20px 22px;
	gap: 10px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-iipu .am-fs-iipu__name {
	font-size: 28px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-iipu .am-fs-iipu__description,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-iipu .am-fs-iipu__description.am-tap-description {
	font-size: 15px;
	line-height: 1.65;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs__main-inner > .am-fs-iipu {
	padding-top: 12px;
	padding-bottom: 12px;
}

@container bhs-amelia (max-width: 340px) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__name {
		font-size: 17px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs-scl__content {
		gap: 18px 10px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs__init-item__footer-actions[data-bhs-label]::before {
		font-size: 11px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-iipu .am-fs-iipu__name {
		font-size: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item:hover .am-fs__init-item__img > img {
		transform: none;
	}
}

/* =========================================================================
   7d. v1.3.1 - PANEL AFTER THE OPENER'S ROW, STYLISTS IN ONE ROW
   With the helper running (data-bhs-panel on the shortcode container), Amelia's
   popup is hidden and the helper's own panel (#bhs-iipu.bhs-panel, role=region)
   sits right after the opener's row inside the scrolling list. Without the
   helper, section 7c's docked panel still works.
   ========================================================================= */

.amelia-v2-booking[data-bhs-panel] #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-inner > .am-fs-iipu {
	display: none !important; /* inline: Amelia's v-show writes style="display: ..." */
}

/* No-helper fallback: drop the eyebrow text and the location line (module has neither). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-fs-iipu__header {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-iipu .am-fs-iipu__location {
	display: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .bhs-panel {
	position: relative;
	display: grid;
	grid-template-rows: 1fr;
	flex: none;
	width: 100%;
	margin: 6px 0 10px;
	padding: 0;
	grid-column: 1 / -1;
	animation: bhs-iipu-open .45s cubic-bezier(.32, .72, 0, 1) both;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .bhs-panel__inner {
	position: relative;
	min-height: 0;
	overflow: hidden;
	padding: 44px 56px 44px 48px;
	background: #f4f4f2;
	color: #3f3f3d;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .bhs-panel__close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	font-size: 18px;
	color: #1d1d1b;
	cursor: pointer;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .bhs-panel__close:focus {
	outline: 0;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .bhs-panel__close:focus-visible {
	outline: 2px solid #1d1d1b;
	outline-offset: -4px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .bhs-panel__name {
	margin: 0 40px 16px 0;
	padding: 0;
	font-family: var(--bhs-serif);
	font-size: 44px;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: none;
	color: #1d1d1b;
	overflow-wrap: anywhere;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .bhs-panel__desc {
	max-width: 760px;
	font-family: var(--bhs-sans);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.75;
	color: #3f3f3d;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .bhs-panel__desc p {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .bhs-panel__desc p + p {
	margin-top: 12px;
}

/* --- Stylists: wrapping grid, all cards visible at once ------------------
   v1.3.3: was one sideways-scrolling row (module style), which hid stylists
   once there were more than five cards. Now up to 4 equal columns that wrap;
   a column is never narrower than 100px (4+3 on tablets too); phones are 2-up.
   The helper (placePanel) already opens "View profile" below the opener's
   row when the list wraps; .bhs-panel spans the full row (grid-column 1/-1). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs-scl__content {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(max(100px, calc((100% - 3 * 16px) / 4)), 1fr));
	grid-auto-flow: row;
	grid-auto-columns: auto;
	gap: 24px 16px;
	padding: 4px 4px 12px;
	overflow: visible;
	scroll-snap-type: none;
	flex: none;
}

/* 103px cards (768 / iPad portrait): keep "VIEW PROFILE +" inside the card. */
@container bhs-amelia (max-width: 899px) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__footer-actions {
		gap: 5px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__footer-actions[data-bhs-label]::before {
		letter-spacing: .03em;
	}
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item {
	scroll-snap-align: none;
	min-width: 0;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__name {
	font-size: 18px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__content {
	padding: 12px 4px 10px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__footer-actions[data-bhs-label]::before {
	font-size: 11px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__img.am-item-any {
	padding: 12px;
}

@container bhs-amelia (max-width: 899px) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__name {
		font-size: 19px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .bhs-panel__inner {
		padding: 36px 48px 36px 32px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .bhs-panel__name {
		font-size: 36px;
	}
}

/* Mobile (same selectors as the 7b/7c mobile rules, so these win). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs-scl__content {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 12px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__name {
	font-size: 18px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .bhs-panel__inner {
	padding: 28px 20px 28px 20px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .bhs-panel__close {
	top: 6px;
	right: 6px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .bhs-panel__name {
	margin-right: 44px;
	margin-bottom: 12px;
	font-size: 30px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .bhs-panel__desc {
	font-size: 15px;
	line-height: 1.65;
}

@container bhs-amelia (max-width: 340px) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs-employee-step .am-fs__init-item__name {
		font-size: 16px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .bhs-panel__name {
		font-size: 26px;
	}
}

/* =========================================================================
   8. DROPDOWN PANELS (teleported to <body>)
   ========================================================================= */

.el-popper.am-select-popper.am-select-popper {
	border: 1px solid #000;
	border-radius: 0;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
	background: #fff;
}

.el-popper.am-select-popper.am-select-popper .el-popper__arrow {
	display: none;
}

.el-popper.am-select-popper.am-select-popper .el-select-dropdown__list {
	padding: 4px 0;
}

.el-popper.am-select-popper.am-select-popper .el-select-dropdown__item {
	height: auto;
	min-height: 48px;
	padding: 8px 16px;
	display: flex;
	align-items: center;
	font-family: sofia_pro, Arial, "Helvetica Neue", Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.4;
	color: #111;
	border-radius: 0;
	background: #fff;
}

/* Keyboard (and mouse) highlight: Element Plus sets .is-hovering on the
   active option. #4a4a4a/#fff is 8.9:1 against the white list, and stays
   distinct from the selected option (#000). */
/* Amelia paints options with !important through --am-c-select-option-bgr /
   --am-c-select-option-text, so the highlight is set through those variables. */
.el-popper.am-select-popper.am-select-popper .el-select-dropdown__item.is-hovering:not(.is-selected) {
	--am-c-select-option-bgr: #4a4a4a;
	--am-c-select-option-text: #fff;
	background: #4a4a4a;
	color: #fff;
}

.el-popper.am-select-popper.am-select-popper .el-select-dropdown__item.is-hovering:not(.is-selected) * {
	color: #fff;
}

@media (hover: hover) {
	.el-popper.am-select-popper.am-select-popper .el-select-dropdown__item:not(.is-selected):hover {
		--am-c-select-option-bgr: #4a4a4a;
		--am-c-select-option-text: #fff;
		background: #4a4a4a;
		color: #fff;
	}

	.el-popper.am-select-popper.am-select-popper .el-select-dropdown__item:not(.is-selected):hover * {
		color: #fff;
	}
}

.el-popper.am-select-popper.am-select-popper .el-select-dropdown__item.is-selected {
	background: #000;
	color: #fff;
	font-weight: 400;
}

.el-popper.am-select-popper.am-select-popper .el-select-dropdown__item.is-selected * {
	color: #fff;
}

.el-popper.am-select-popper.am-select-popper .am-oit__data-label-name {
	font-family: ogg_roman, "Times New Roman", Times, Georgia, serif;
	font-size: 17px;
	font-weight: 400;
	color: inherit;
}

/* Employee photos: square, 40x50 portrait crop, like the mock cards. */
.el-popper.am-select-popper.am-select-popper .am-oit__img,
.el-popper.am-select-popper.am-select-popper .am-oit__img-placeholder {
	width: 40px;
	height: 50px;
	min-width: 40px;
	border-radius: 0;
	background-size: cover;
	background-position: center top;
}

.el-popper.am-select-popper.am-select-popper .am-oit__img-placeholder {
	background-color: #000;
}

.el-popper.am-select-popper.am-select-popper .am-oit__img-placeholder > span {
	font-family: sofia_pro, Arial, "Helvetica Neue", Helvetica, sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .08em;
	color: #fff;
}

/* =========================================================================
   9. STEP 2 - CALENDAR
   ========================================================================= */

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__wrapper {
	display: flex;
	flex-direction: column;
}

/* Header row: month | year (160px) | prev/next pair. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 160px auto;
	gap: 12px;
	margin-bottom: 20px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__header .am-select .el-select__wrapper {
	height: 48px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__header .am-button-group {
	display: flex;
	gap: 0;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__header .am-button {
	--am-h-btn: 48px;
	width: 48px;
	height: 48px;
	padding: 0;
	margin: 0;
	font-size: 16px;
	background: #fff;
	border: 1px solid #000;
	color: #000;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__header .am-button + .am-button {
	border-left: 0;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__header .am-button.is-disabled {
	opacity: .3;
	cursor: default;
}

/* Time-zone line moves below the grid (mock: "Times in Eastern Time (Miami).").
   We keep Amelia's real zone string so it is never wrong. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__time-zone {
	order: 1;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin: 6px 6px 0;
	font-size: 13px;
	color: #6b6b6b;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__time-zone span {
	padding: 0;
	background: none;
	font-family: var(--bhs-sans);
	font-size: 13px;
	font-weight: 300;
	line-height: 1.5;
	color: #6b6b6b;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__time-zone span:not(:empty):not(.bhs-sr-tz)::before {
	content: "Times shown in ";
}

/* v1.3.7: the helper sets data-bhs-tz on known zones ("Eastern Time (ET)");
   the IANA name stays in the DOM but is not shown. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__time-zone span[data-bhs-tz] {
	font-size: 0;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__time-zone span[data-bhs-tz]:not(.bhs-sr-tz)::before {
	content: "Times shown in " attr(data-bhs-tz);
	font-size: 13px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__slots-wrapper {
	order: 2;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc {
	margin-bottom: 0;
}

/* Amelia fixes `.am-advsc[am-mobile-s=true]` at 230px on small forms; with
   our 46-58px cells that overflows onto the line below. Let it size to rows. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc[am-mobile-s="true"].fc-theme-standard {
	height: auto;
}

/* inline: FullCalendar writes `height: Npx` on the harness from its aspect
   ratio (too tall at this width). Let rows size to the 52px cells instead. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc .fc-view-harness {
	height: auto !important;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc .fc-view-harness > .fc-view {
	position: relative;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc .fc-scroller-liquid-absolute {
	position: static;
}

/* inline: FullCalendar sets table heights in px. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc .fc-scrollgrid-sync-table {
	height: auto !important;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard th.am-advsc__dayGridMonth-header-cell {
	padding: 0 3px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard th.am-advsc__dayGridMonth-header-cell .fc-col-header-cell-cushion {
	display: block;
	padding: 8px 0;
	font-family: var(--bhs-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #6b6b6b;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell {
	height: 58px; /* 52px cell + 2 x 3px gap */
	padding: 3px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell .fc-daygrid-day-frame {
	top: 3px;
	left: 3px;
	width: calc(100% - 6px);
	height: calc(100% - 6px);
	border-radius: 0;
	transition: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell .fc-daygrid-day-number {
	font-family: var(--bhs-sans);
	font-size: 15px;
	font-weight: 300;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell.am-advsc__dayGridMonth-selected .fc-daygrid-day-number {
	font-weight: 400;
}

/* Days from the previous/next month. Amelia leaves them focusable and
   selectable (tabindex=0, role=button) but they belong to another month, so
   they are hidden outright: visibility:hidden removes them from the tab order
   and from pointer hit-testing (qa/QA-REPORT.md M1). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell.fc-day-other,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell.fc-day-other * {
	visibility: hidden;
	pointer-events: none;
}

/* Exception (qa/FINAL-v1.2.md R2): Amelia keeps a selected date when the
   month changes, so the selection can sit in an other-month cell. Keep that
   one cell visible, muted, so the grid never hides what the sidebar shows.
   It stays inert (pointer-events:none above + the helper's guard). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell.fc-day-other.am-advsc__dayGridMonth-selected,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell.fc-day-other.am-advsc__dayGridMonth-selected * {
	visibility: visible;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell.fc-day-other.am-advsc__dayGridMonth-selected .fc-daygrid-day-frame {
	background: #6b6b6b;
	border-color: #6b6b6b;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell.fc-day-other.am-advsc__dayGridMonth-selected .fc-daygrid-day-number {
	color: #fff;
}

/* FullCalendar sets `.fc-day-other .fc-daygrid-day-top` to opacity .3, which
   rendered the white digit at 1.85:1. Reset it: #fff on #6b6b6b = 5.33:1. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell.fc-day-other.am-advsc__dayGridMonth-selected .fc-daygrid-day-top {
	opacity: 1;
}

/* FullCalendar always renders 6 weeks (fixedWeekCount); drop weeks that are
   entirely in the next month. Needs :has(); without it the row stays hidden-but-present. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc .fc-daygrid-body tr:not(:has(td:not(.fc-day-other))):not(:has(.am-advsc__dayGridMonth-selected)) {
	display: none;
}

/* Disabled days: grey fill, no border. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell.am-advsc__dayGridMonth-disabled:not(.fc-day-other) .fc-daygrid-day-frame {
	background: #f6f5f3;
	border-color: #f6f5f3;
}

/* Weekend columns Amelia greys out when weekdays are disabled. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell.am-advsc__dayGridMonth-weekend .fc-daygrid-day-frame {
	background: #f6f5f3;
	border-color: #f6f5f3;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell.am-advsc__dayGridMonth-weekend .fc-daygrid-day-number {
	color: #b5b5b5;
}

/* Keyboard focus on a day (the <td> is the focusable role=button). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell:focus,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell:focus-visible {
	outline: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell:focus-visible .fc-daygrid-day-frame {
	outline: 2px solid #000;
	outline-offset: 2px;
}

/* Busy bar inside cells: off (mock has none). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc .am-advsc__slot-wrapper {
	display: none;
}

/* Today: 4px dot centred at the bottom (Amelia puts it top-right). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell.fc-day-today .fc-daygrid-day-frame::after {
	top: auto;
	right: auto;
	bottom: 7px;
	left: 50%;
	margin-left: -2px;
	width: 4px;
	height: 4px;
	background-color: #000;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell.fc-day-today.am-advsc__dayGridMonth-selected .fc-daygrid-day-frame {
	background: #000;
	border-color: #000;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell.fc-day-today.am-advsc__dayGridMonth-selected .fc-daygrid-day-number {
	color: #fff;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell.fc-day-today.am-advsc__dayGridMonth-selected .fc-daygrid-day-frame::after {
	background-color: #fff;
}

/* =========================================================================
   10. STEP 2 - TIME SLOTS (2 columns, 52px, square)
   ========================================================================= */

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__slots-wrapper {
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid var(--bhs-line);
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__slots-heading {
	margin: 0 0 14px;
	padding: 0;
	font-family: var(--bhs-serif);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.25;
	color: #000;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__slots {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__slots-item {
	width: auto;
	max-width: none;
	animation: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__slots-item__inner {
	height: 52px;
	padding: 0 8px;
	border-radius: 0;
	font-family: var(--bhs-sans);
	font-size: 15px;
	font-weight: 300;
	line-height: 1.2;
	transition: background-color .15s ease;
}

@media (hover: hover) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__slots-item:not(.am-advsc__slots-item__selected) .am-advsc__slots-item__inner:hover {
		background: #f6f5f3;
		border-color: #000;
	}
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__slots-item span {
	background: transparent;
	padding: 0;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__slots-item:focus {
	outline: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__slots-item:focus-visible .am-advsc__slots-item__inner {
	outline: 2px solid #000;
	outline-offset: 2px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__slots-item-disabled .am-advsc__slots-item__inner {
	background: #f6f5f3;
	border-color: #f6f5f3;
	color: #b5b5b5;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__duration:empty {
	display: none;
}

/* =========================================================================
   11. CONGRATULATIONS (am-fs__congrats, -main, -main-heading, -main-atc, -info,
       -info-customer, am-fs__ci-label, am-fs__ci-value, am-fs__ci-border).
       Checked against a rendered screen with a mocked booking response
       (qa/v124/), not against a real booking. No-sidebar widths: section 14.
   ========================================================================= */

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-inner > .am-fs__main-content.am-fs__congrats {
	height: auto;
	padding: 68px 56px 36px;
	max-width: 652px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__congrats-main {
	align-items: flex-start;
	gap: 0;
	margin: 0 0 28px;
	text-align: left;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__congrats-main img {
	display: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__congrats-main-heading {
	margin: 0 0 12px;
	font-family: var(--bhs-serif);
	font-size: 44px;
	font-weight: 400;
	line-height: 1.1;
	color: #000;
}

/* bhs-amelia-a11y.js moves focus here for screen readers; it is not a control. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__congrats-main-heading:focus {
	outline: none;
}

/* :not(): the mobile calendar tiles sit inside this block and their icons are
   font glyphs. Without it they took 13px, #6b6b6b and the wrong font family. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__congrats-main span:not([class*="am-icon-"]) {
	font-family: var(--bhs-sans);
	font-size: 13px;
	font-weight: 300;
	color: #6b6b6b;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__congrats-main-atc {
	margin-top: 24px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__congrats-info,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__congrats-info-mobile {
	margin: 0;
	padding: 0;
	border-top: 1px solid #000;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__congrats-info-customer {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0 24px;
	padding: 0;
	background: transparent;
	border: 0;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__ci-label,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__ci-value {
	padding: 16px 0;
	border-bottom: 1px solid var(--bhs-line);
	font-family: var(--bhs-sans);
	font-size: 15px;
	font-weight: 300;
	line-height: 1.4;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__ci-label {
	color: #6b6b6b;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__ci-value {
	color: #000;
	text-align: right;
	overflow-wrap: anywhere;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__ci-border {
	display: none;
}

/* =========================================================================
   12. SKELETON LOADERS
   ========================================================================= */

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .el-skeleton__item {
	border-radius: 0;
}

/* =========================================================================
   13. NARROWER DESKTOP / TABLET (sidebar layout, form 561-1119px wide)
   Amelia picks its layout from the FORM width, not the viewport
   (stepForm-*.js: sidebar when containerWidth > 560; progress bar when
   containerWidth <= 560; .am-fs__main-heading-mobile when < 410). We match
   that with a container query on the shortcode root.
   ========================================================================= */

.amelia-v2-booking:has(> #amelia-container.am-fs__wrapper) {
	container-type: inline-size;
	container-name: bhs-amelia;
}

@container bhs-amelia (max-width: 1119px) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb:not(.am-collapsed) {
		width: 280px !important; /* inline: see section 3 */
		max-width: 280px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb {
		padding: 36px 28px 28px !important; /* inline: see section 3 */
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-heading {
		padding: 28px 36px 18px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-inner > .am-fs__main-content {
		padding: 24px 36px 32px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-footer {
		padding: 18px 36px 24px;
	}
}

@container bhs-amelia (max-width: 899px) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb:not(.am-collapsed) {
		width: 220px !important; /* inline: see section 3 */
		max-width: 220px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb {
		padding: 28px 20px 24px !important; /* inline: see section 3 */
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb:not(.am-collapsed) .am-fs-sb__step-wrapper::before {
		font-size: 22px;
		padding-bottom: 20px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-heading {
		padding: 24px 24px 16px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-inner > .am-fs__main-content {
		padding: 20px 24px 28px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-footer {
		padding: 16px 24px 20px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__header {
		grid-template-columns: minmax(0, 1fr) 96px auto;
		gap: 8px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__info-form {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Sidebar still shown on a 561-700px form: time labels would wrap in 2 columns. */
@container bhs-amelia (max-width: 700px) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-fs-sb) .am-advsc__slots {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* =========================================================================
   14. MOBILE LAYOUT - design-src-mobile/template.html (390 x 844)
   Hooked on `.am-progress-bar`, which Amelia renders on steps 1-4 when it drops
   the sidebar (form <= 560px). This covers both the 410-560px band (no
   .am-fs__main-heading-mobile) and < 410px. The confirmation has no progress
   bar: its rules are in 14a and are keyed on the missing sidebar instead.
   ========================================================================= */

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) {
	height: min(844px, 100svh);
	min-height: 640px;
	margin: 0 auto;
}

/* Black header: eyebrow + serif step title + back button. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs__main-heading {
	padding: 18px 20px 0;
	background: #000;
	border-bottom: 0;
	color: #fff;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs__main-heading-inner {
	gap: 0 12px;
	min-height: 44px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs__main-heading-inner-title {
	font-size: 22px;
	line-height: 1.15;
	color: #fff;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs__main-heading-inner-title::before {
	content: "Personal Shopping and Styling";
	color: #fff;
	white-space: nowrap; /* v1.3.7: one line in the mobile header */
	letter-spacing: .1em;
}

@container bhs-amelia (max-width: 359px) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs__main-heading-inner-title::before {
		font-size: 10px;
		letter-spacing: .05em;
	}
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-heading-prev.am-button {
	width: 44px;
	height: 44px;
	background: transparent;
	border-color: rgba(255, 255, 255, .5);
	color: #fff;
	font-size: 18px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-heading-prev.am-button:focus-visible {
	outline-color: #fff;
}

/* Progress: 3 white segments + "Step N of 3". Amelia renders one segment per
   step plus one for the confirmation (4 in total); the last is hidden. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-progress-bar {
	flex: none;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	width: 100%;
	height: auto;
	padding: 14px 20px 16px;
	background: #000;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-progress-bar .am-step {
	flex: 1 1 0;
	width: auto;
	height: 2px;
	background: #fff;
	opacity: .3;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-progress-bar .am-step.am-passed-step,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-progress-bar .am-step.am-current-step {
	background: #fff;
	opacity: 1;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-progress-bar:not([data-bhs-current]) .am-step:not(.am-current-step):not(.am-passed-step) {
	display: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-progress-bar::after {
	flex: 0 0 100%;
	padding-top: 8px;
	font-family: var(--bhs-sans);
	font-size: 12px;
	font-weight: 300;
	color: rgba(255, 255, 255, .75);
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-progress-bar:not([data-bhs-current]):has(.am-step:nth-child(1).am-current-step)::after { content: "Step 1"; }
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-progress-bar:not([data-bhs-current]):has(.am-step:nth-child(2).am-current-step)::after { content: "Step 2"; }
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-progress-bar:not([data-bhs-current]):has(.am-step:nth-child(3).am-current-step)::after { content: "Step 3"; }
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-progress-bar:not([data-bhs-current]):has(.am-step:nth-child(4).am-current-step)::after { content: "Step 4"; }
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-progress-bar:not([data-bhs-current]):has(.am-step:nth-child(5).am-current-step)::after { content: "Step 5"; }

/* With the helper (bhs-amelia-a11y.js): real total known -> hide surplus
   segments and print "Step N of T"; total unknown -> show only passed and
   current segments and print "Step N". */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-progress-bar[data-bhs-current]::after {
	content: "Step " attr(data-bhs-current);
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-progress-bar[data-bhs-current][data-bhs-steps]::after {
	content: "Step " attr(data-bhs-current) " of " attr(data-bhs-steps);
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-progress-bar[data-bhs-current]:not([data-bhs-steps]) .am-step:not(.am-current-step):not(.am-passed-step) {
	display: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-progress-bar[data-bhs-steps="1"] .am-step:nth-child(n+2) {
	display: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-progress-bar[data-bhs-steps="2"] .am-step:nth-child(n+3) {
	display: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-progress-bar[data-bhs-steps="3"] .am-step:nth-child(n+4) {
	display: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-progress-bar[data-bhs-steps="4"] .am-step:nth-child(n+5) {
	display: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-progress-bar[data-bhs-steps="5"] .am-step:nth-child(n+6) {
	display: none;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-progress-bar[data-bhs-steps="6"] .am-step:nth-child(n+7) {
	display: none;
}

/* (v1.2.2) No CSS-only "Step N of 3": a 4-segment bar does not prove 3 steps
   (Amelia shortens flows; qa/FINAL-v1.2.md R3). Totals come only from the helper.
   With layout=2 Amelia also counts the auto-skipped service/location steps,
   so the bar's total is unreliable and no text is printed. */

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs__main {
	max-width: none;
	width: 100%;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs__main-inner > .am-fs__main-content {
	padding: 24px 20px 28px;
}

/* Checklist 43 (pinned CTA): the form is a fixed-height box (<= 100svh) whose
   content scrolls inside it, so the CTA sits at the box bottom. A viewport-
   pinned (sticky) CTA is not possible on this theme: its `#wrapper` has
   overflow:hidden, which makes position:sticky inert (DOM probe, v1.2.2). */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs__main-footer {
	padding: 14px 20px 24px;
	padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs__main-footer .am-button,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs__main-footer .am-button--primary.am-button--filled {
	flex: 1 1 auto;
	width: 100%;
	padding: 0 16px;
}

/* Info form: one column; 16px text so iOS does not zoom on focus. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs__info-form {
	grid-template-columns: minmax(0, 1fr);
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs__info-form .el-form-item {
	margin-bottom: 18px !important; /* inline: see section 6 */
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-input .el-input__inner,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) :is(.am-input, .am-textarea) .el-textarea__inner,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-input-phone.m-input-phone-number .m-input-wrapper input,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-select .el-select__selected-item,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-select .el-select__placeholder,
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-select .el-select__input {
	font-size: 16px;
}

/* Calendar header: month | 96px year, then prev/next spread on row 2. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-advsc__header {
	grid-template-columns: minmax(0, 1fr) 96px;
	gap: 8px;
	margin-bottom: 8px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-advsc__header .am-button-group {
	grid-column: 1 / -1;
	justify-content: space-between;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-advsc__header .am-button {
	width: 44px;
	height: 44px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-advsc__header .am-button + .am-button {
	border-left: 1px solid #000;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-advsc.fc-theme-standard th.am-advsc__dayGridMonth-header-cell {
	padding: 0 1.5px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-advsc.fc-theme-standard th.am-advsc__dayGridMonth-header-cell .fc-col-header-cell-cushion {
	font-size: 10px;
	letter-spacing: .1em;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell {
	height: 49px; /* 46px cell + 3px gap */
	padding: 1.5px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell .fc-daygrid-day-frame {
	top: 1.5px;
	left: 1.5px;
	width: calc(100% - 3px);
	height: calc(100% - 3px);
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell.fc-day-today .fc-daygrid-day-frame::after {
	bottom: 5px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-advsc__time-zone {
	margin: 6px 0 0;
	font-size: 12px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-advsc__slots-wrapper {
	margin-top: 18px;
	padding-top: 20px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-advsc__slots-heading {
	font-size: 19px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-advsc__slots {
	gap: 8px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-advsc__slots-item__inner {
	height: 48px;
	padding: 0 6px;
	font-size: 14px;
}

/* -------------------------------------------------------------------------
   14a. CONFIRMATION WITHOUT THE SIDEBAR
   The progress bar is gone on this screen, so `:has(.am-progress-bar)` never
   matches here (qa/FINAL-2026-11.md Blocker 1). Two conditions do:
   - `.am-fs-sb-atc`: Amelia adds it below 540px of form width, with a black
     gradient from its stylesheet (the sidebar colour, 80% of the box, meant for
     white text) and the calendar tiles in the main column. No :has() needed.
   - no `.am-fs-sb`: form <= 560px. At 540-560px there is no .am-fs-sb-atc,
     no gradient and no calendar tiles, but the layout must still be mobile.
   ------------------------------------------------------------------------- */

/* The screen is white, so everything inside it is dark. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-inner > .am-fs__main-content.am-fs__congrats.am-fs-sb-atc {
	background: none;
}

/* inline: Amelia writes the tile border and label colours from these variables. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__congrats.am-fs-sb-atc .am-fs-sb-cs {
	--am-c-atc-sb-text: #000;
	--am-c-atc-sb-text-op5: #fff !important;
	--am-c-atc-sb-text-op10: #000 !important;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__congrats.am-fs-sb-atc .am-fs__congrats-main-atc {
	width: 100%;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__congrats.am-fs-sb-atc .am-fs-sb-cs > p {
	margin: 0 0 12px;
	font-family: var(--bhs-sans);
	font-size: 14px;
	text-align: left;
	color: #000;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__congrats.am-fs-sb-atc .am-fs-sb-cs-cals {
	justify-content: flex-start;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__congrats.am-fs-sb-atc .am-fs-sb-cs-cals-cards {
	gap: 8px;
	width: 100%;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__congrats.am-fs-sb-atc .am-fs-sb-cs-cals-card {
	flex: 1 1 0;
	width: auto;
	margin: 0;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__congrats.am-fs-sb-atc .am-fs-sb-cs-cals-card:hover {
	background: #f2f1ef;
}

/* Grows with its content and scrolls with the page: seven rows do not fit the
   fixed box, and there is no CTA to keep in view on this screen. */
.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:not(:has(.am-fs-sb)):has(.am-fs__congrats) {
	height: auto;
	min-height: 0;
	margin: 0 auto;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:not(:has(.am-fs-sb)):has(.am-fs__congrats) .am-fs__main {
	max-width: none;
	width: 100%;
	height: auto;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:not(:has(.am-fs-sb)):has(.am-fs__congrats) .am-fs__main-inner {
	height: auto;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:not(:has(.am-fs-sb)):has(.am-fs__congrats) .am-fs__main-inner > .am-fs__main-content.am-fs__congrats {
	flex: none;
	max-width: none;
	padding: 32px 20px 28px;
	overflow: visible;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:not(:has(.am-fs-sb)):has(.am-fs__congrats) .am-fs__congrats-main-heading {
	font-size: 34px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:not(:has(.am-fs-sb)):has(.am-fs__congrats) .am-fs__congrats-info-customer {
	grid-template-columns: minmax(0, 1fr);
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:not(:has(.am-fs-sb)):has(.am-fs__congrats) .am-fs__ci-label {
	padding-bottom: 0;
	border-bottom: 0;
	font-size: 13px;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:not(:has(.am-fs-sb)):has(.am-fs__congrats) .am-fs__ci-value {
	padding-top: 4px;
	text-align: left;
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:not(:has(.am-fs-sb)):has(.am-fs__congrats) .am-fs__main-footer {
	padding: 14px 20px 24px;
	padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}

.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:not(:has(.am-fs-sb)):has(.am-fs__congrats) .am-fs__main-footer .am-button {
	flex: 1 1 auto;
	width: 100%;
	padding: 0 16px;
}

/* Very small phones: keep 7 calendar columns legible. */
@container bhs-amelia (max-width: 340px) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-fs__main-inner > .am-fs__main-content {
		padding-left: 14px;
		padding-right: 14px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:has(.am-progress-bar) .am-advsc__slots {
		grid-template-columns: minmax(0, 1fr);
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:not(:has(.am-fs-sb)):has(.am-fs__congrats) .am-fs__main-inner > .am-fs__main-content.am-fs__congrats,
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper:not(:has(.am-fs-sb)):has(.am-fs__congrats) .am-fs__main-footer {
		padding-left: 14px;
		padding-right: 14px;
	}
}

/* =========================================================================
   14b. FALLBACK FOR BROWSERS WITHOUT :has() (Chrome < 105, Safari < 15.4,
   Firefox < 121). The mobile and container rules above are all gated on
   :has(), so without this a phone would get the fixed 820px desktop box.
   ========================================================================= */

@supports not selector(:has(*)) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper {
		height: auto;
		min-height: 560px;
		margin: 24px auto;
	}

	/* inline: see section 3 (Amelia default width, fits a 561-900px form) */
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb:not(.am-collapsed) {
		width: 240px !important;
		max-width: 240px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-sb {
		padding: 28px 20px 24px !important; /* inline: see section 3 */
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-inner > .am-fs__main-content {
		min-height: 360px;
	}
}

@supports not selector(:has(*)) {
	@media (max-width: 640px) {
		.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper {
			margin: 0 auto;
		}

		.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-heading,
		.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-inner > .am-fs__main-content,
		.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-footer {
			padding-left: 20px;
			padding-right: 20px;
		}

		.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__info-form,
		.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__slots {
			grid-template-columns: minmax(0, 1fr);
		}

		.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs-scl__content {
			grid-template-columns: minmax(0, 1fr);
		}

		/* Stylist cards as rows: photo 96x120 + name, whether Amelia puts the
		   photo beside the content or inside the heading (form <= 370px). */
		.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item {
			display: flex;
			flex-direction: row;
			flex-wrap: nowrap;
			align-items: stretch;
		}

		.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__img {
			flex: none;
			width: 96px;
			height: 120px;
			aspect-ratio: auto;
		}

		.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__content {
			flex: 1 1 auto;
			width: auto;
			min-width: 0;
			padding: 12px 14px;
		}

		.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__heading {
			flex-wrap: nowrap;
			align-items: flex-start;
			gap: 14px;
		}

		.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item__heading > .am-fs__init-item__name {
			display: block;
			flex: 1 1 auto;
			width: auto;
			order: 0;
			white-space: normal;
			overflow: visible;
		}

		.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs-employee-step .am-fs__init-item.am--selected .am-fs__init-item__heading::after {
			display: none;
		}

		/* Calendar header: month | 96px year, arrows on their own row. */
		.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__header {
			grid-template-columns: minmax(0, 1fr) 96px;
			gap: 8px;
		}

		.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__header .am-button-group {
			grid-column: 1 / -1;
			justify-content: space-between;
		}

		.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__header .am-button {
			width: 44px;
			height: 44px;
		}

		.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc__header .am-button + .am-button {
			border-left: 1px solid #000;
		}

		.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell {
			height: 46px;
			padding: 1.5px;
		}

		.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell .fc-daygrid-day-frame {
			top: 1.5px;
			left: 1.5px;
			width: calc(100% - 3px);
			height: calc(100% - 3px);
		}

		.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-advsc.fc-theme-standard th.am-advsc__dayGridMonth-header-cell .fc-col-header-cell-cushion {
			font-size: 10px;
			letter-spacing: .06em;
		}

		.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-footer .am-button--primary.am-button--filled {
			flex: 1 1 auto;
			padding: 0 16px;
		}
	}

	/* Confirmation below 540px of form width: 14a's layout rules need :has(). */
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__main-inner > .am-fs__main-content.am-fs__congrats.am-fs-sb-atc {
		max-width: none;
		padding: 32px 20px 28px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__congrats.am-fs-sb-atc .am-fs__congrats-main-heading {
		font-size: 34px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__congrats.am-fs-sb-atc .am-fs__congrats-info-customer {
		grid-template-columns: minmax(0, 1fr);
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__congrats.am-fs-sb-atc .am-fs__ci-label {
		padding-bottom: 0;
		border-bottom: 0;
		font-size: 13px;
	}

	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper .am-fs__congrats.am-fs-sb-atc .am-fs__ci-value {
		padding-top: 4px;
		text-align: left;
	}
}

/* =========================================================================
   15. REDUCED MOTION
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper *,
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper *::before,
	.amelia-v2-booking #amelia-container#amelia-container.am-fs__wrapper *::after {
		animation: none !important; /* Amelia's slide-in animations are in its own rules */
		transition: none !important;
	}
}
