/* Baltic Movers Estimate — form styles. Scoped to .bme; colours from the current brand. */

.bme {
	--bme-red: #840612;
	--bme-red-dark: #65131b;
	--bme-red-tint: #fbf2f2;
	--bme-orange: #fc9922;
	--bme-ink: #1c1917;
	--bme-text: #3f3a36;
	--bme-muted: #6b625c;
	--bme-line: #e7e1db;
	--bme-field: #8a817a;
	--bme-bg: #faf6f3;
	--bme-ok: #15803d;
	--bme-err: #b91c1c;
	--bme-heading: "Archivo", var(--e-global-typography-primary-font-family, inherit), sans-serif;
	--bme-radius: 14px;
	color: var(--bme-ink);
	font-size: 16px;
	line-height: 1.45;
	position: relative;
}

.bme *,
.bme *::before,
.bme *::after {
	box-sizing: border-box;
}

/* Card ---------------------------------------------------------------- */

.bme__panel {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 2px 4px rgba(28, 25, 23, 0.06), 0 24px 48px rgba(28, 25, 23, 0.14);
	padding: 22px;
}

@media (min-width: 768px) {
	.bme__panel {
		min-height: 560px; /* every step fits this, so the page never jumps */
		padding: 24px 26px;
	}
}

.bme__body {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bme__body:not([data-bme-static]) > * {
	animation: bme-in 0.18s ease-out; /* only when a step changes, never on page load */
}

@keyframes bme-in {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: none; }
}

.bme__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
}

/* Top row + progress ---------------------------------------------------- */

.bme__top {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	min-height: 32px;
	font-size: 13px;
	color: var(--bme-muted);
}

.bme__top > :last-child {
	justify-self: end;
}

.bme__stepno {
	font-weight: 600;
}

.bme__back,
.bme__close {
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 6px 0 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--bme-text);
}

.bme__close {
	justify-content: center;
	min-width: 44px;
	padding: 0;
}

.bme__bar {
	height: 6px;
	border-radius: 3px;
	background: #f1ece8;
	overflow: hidden;
}

.bme__bar > span {
	display: block;
	height: 100%;
	background: var(--bme-red);
	border-radius: 3px;
	transition: width 0.25s ease;
}

.bme__title {
	margin: 2px 0 0;
	font-family: var(--bme-heading);
	font-weight: 800;
	font-size: 24px;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--bme-ink);
	outline: none;
}

/* Tiles and chips -------------------------------------------------------- */

.bme__tiles {
	display: grid;
	gap: 10px;
}

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

.bme__tile {
	font: inherit;
	appearance: none;
	cursor: pointer;
	min-height: 92px;
	padding: 10px 8px;
	border: 1.5px solid var(--bme-line);
	border-radius: var(--bme-radius);
	background: #fff;
	color: var(--bme-ink);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	text-align: center;
	transition: border-color 0.15s, background-color 0.15s;
}

.bme__tile .bme__icon { color: var(--bme-red); }
.bme__tile--low { min-height: 76px; }
.bme__tile--num { min-height: 56px; }

.bme__tile-label {
	font-size: 15px;
	font-weight: 600;
}

.bme__tile-sub {
	font-size: 12px;
	color: var(--bme-muted);
}

.bme__tile:hover,
.bme__chip:hover {
	border-color: #c9bfb7;
}

.bme__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bme__chip {
	font: inherit;
	appearance: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 14px;
	border: 1.5px solid var(--bme-line);
	border-radius: 999px;
	background: #fff;
	color: var(--bme-ink);
	font-size: 14px;
	font-weight: 600;
}

.bme__chip--sm {
	min-height: 40px;
	padding: 0 12px;
	font-size: 13px;
}

.bme__chip .bme__icon { display: none; color: var(--bme-red); }
.bme__chip.is-on .bme__icon { display: inline-block; }

.bme__tile.is-on,
.bme__chip.is-on {
	border: 2px solid var(--bme-red);
	background: var(--bme-red-tint);
}

/* Summary chip ----------------------------------------------------------- */

.bme__summary {
	font: inherit;
	appearance: none;
	cursor: pointer;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 34px;
	padding: 4px 12px;
	border: 1px solid #ede6e0;
	border-radius: 999px;
	background: var(--bme-bg);
	color: var(--bme-ink);
	font-size: 13px;
	font-weight: 600;
	text-align: left;
}

.bme__summary .bme__icon { color: var(--bme-muted); flex: none; }

/* Fields ------------------------------------------------------------------ */

.bme__group { display: flex; flex-direction: column; gap: 8px; }

.bme__label {
	font-size: 13px;
	font-weight: 600;
	color: var(--bme-ink);
}

.bme__req { color: var(--bme-err); }

.bme__reqnote {
	margin: -4px 0 0;
	font-size: 12px;
	color: var(--bme-muted);
}

.bme__row {
	display: grid;
	gap: 12px;
}

@media (min-width: 768px) {
	.bme__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.bme__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.bme__input {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 50px;
	padding: 0 12px;
	border: 1.5px solid var(--bme-field);
	border-radius: 10px;
	background: #fff;
}

.bme__input .bme__icon { color: var(--bme-muted); flex: none; }

.bme__input input {
	all: unset;
	flex: 1;
	min-width: 0;
	height: 100%;
	font: inherit;
	font-size: 16px; /* 16px stops iOS from zooming into the field */
	color: var(--bme-ink);
}

.bme__input input::placeholder { color: #8a817a; opacity: 1; }

.bme__input:focus-within { border-color: var(--bme-ink); box-shadow: 0 0 0 3px rgba(132, 6, 18, 0.18); }
.bme__input:has(input[aria-invalid="true"]) { border-color: var(--bme-err); }

.bme__hint,
.bme__city,
.bme__err,
.bme__saved {
	margin: 0;
	font-size: 12px;
}

.bme__hint { color: var(--bme-muted); }
.bme__err { color: var(--bme-err); font-weight: 600; }
.bme__err:empty, .bme__city:empty, .bme__saved:empty { display: none; }

.bme__city,
.bme__saved {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--bme-muted);
}

.bme__city.is-ok,
.bme__saved { color: var(--bme-ok); font-weight: 600; }

.bme__consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 12px;
	line-height: 1.45;
	color: var(--bme-text);
	cursor: pointer;
}

.bme__consent input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--bme-red);
}

.bme__consent a,
.bme__note a,
.bme__fine a,
.bme__banner a { color: var(--bme-red); font-weight: 600; }

/* Buttons ---------------------------------------------------------------- */

.bme__actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 4px;
}

.bme__btn {
	font: inherit;
	appearance: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 22px;
	border: 0;
	border-radius: 12px;
	background: var(--bme-orange);
	color: var(--bme-ink); /* dark text on orange: passes contrast, white does not */
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}

.bme__btn--big { width: 100%; min-height: 56px; font-size: 17px; }

.bme__btn--ghost {
	background: #fff;
	border: 2px solid var(--bme-red);
	color: var(--bme-red);
	min-height: 48px;
	font-size: 15px;
}

.bme__btn[disabled] { opacity: 0.7; cursor: progress; }

.bme__btn:hover { filter: brightness(0.97); }

/* Small print ---------------------------------------------------------- */

.bme__note,
.bme__trust,
.bme__fine {
	margin: 0;
	font-size: 13px;
	color: var(--bme-muted);
	text-align: center;
}

.bme__trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; }
.bme__trust .bme__icon { color: #b45309; }
.bme__trust b { color: var(--bme-ink); }
.bme__fine { font-size: 12px; }
.bme__fine .bme__icon { vertical-align: -1px; }
.bme__center { text-align: center; }
.bme__muted { color: var(--bme-muted); font-weight: 400; }

.bme__banner {
	margin: 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: #fef2f2;
	color: var(--bme-err);
	font-size: 14px;
}

/* Thank-you ------------------------------------------------------------ */

.bme__who {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 12px 14px;
	border: 1px solid #bbf7d0;
	border-radius: 14px;
	background: #f0fdf4;
	font-size: 14px;
}

.bme__who p { margin: 0; }
.bme__who span { color: var(--bme-text); }

.bme__avatar {
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.bme__avatar--icon {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: var(--bme-ok);
}

.bme__steps {
	list-style: none;
	margin: 0;
	padding: 0 0 12px;
	border-bottom: 1px solid #ede6e0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 13px;
	color: var(--bme-text);
}

.bme__steps li { display: flex; align-items: center; gap: 8px; }

.bme__steps li > .bme__icon,
.bme__n {
	flex: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
}

.bme__steps li.is-done { color: var(--bme-ink); font-weight: 700; }
.bme__steps li.is-done > .bme__icon { background: var(--bme-ok); color: #fff; padding: 4px; }
.bme__n { border: 1.5px solid #d6cfc8; color: var(--bme-muted); }

/* Phone: resume card + full-screen sheet ---------------------------------- */

.bme__resume { display: flex; flex-direction: column; gap: 10px; }
.bme__resume p { margin: 0; }

.bme--sheet .bme__panel {
	position: fixed;
	inset: 0;
	z-index: 100000;
	height: 100vh;
	height: 100dvh;
	min-height: 0;
	margin: 0;
	padding: 0;
	border-radius: 0;
	box-shadow: none;
	display: flex;
	flex-direction: column;
}

.bme--sheet .bme__body {
	flex: 1;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: 8px 16px 0;
}

.bme--sheet .bme__top {
	position: sticky;
	top: 0;
	z-index: 2;
	background: #fff;
	margin: 0 -16px;
	padding: 4px 16px;
}

/* The main action stays visible above the keyboard. */
.bme--sheet .bme__actions,
.bme--sheet .bme__submit {
	position: sticky;
	bottom: 0;
	z-index: 2;
}

.bme--sheet .bme__actions {
	margin: 0 -16px;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
	background: #fff;
	box-shadow: 0 -8px 16px rgba(28, 25, 23, 0.06);
}

.bme--sheet .bme__actions .bme__btn { width: 100%; }

.bme--sheet .bme__submit {
	box-shadow: 0 -8px 0 #fff, 0 12px 0 #fff;
	margin-bottom: calc(8px + env(safe-area-inset-bottom));
}

html.bme-lock,
html.bme-lock body {
	overflow: hidden;
}

/* Accessibility helpers -------------------------------------------------- */

.bme button:focus-visible,
.bme a:focus-visible,
.bme input[type="checkbox"]:focus-visible {
	outline: 3px solid var(--bme-red);
	outline-offset: 2px;
}

.bme__title:focus-visible { outline: 2px dashed var(--bme-muted); outline-offset: 4px; }

.bme__sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.bme__hp {
	position: absolute !important;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bme__turnstile:empty { display: none; }

.bme__noscript {
	margin: 12px 0 0;
	font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
	.bme__body > *,
	.bme__bar > span { animation: none; transition: none; }
}

/* Theme-proof states (1.1.2) -----------------------------------------------
   Themes like Hello Elementor colour every button:hover / button:focus (pink #c36,
   white text). These rules are scoped to .bme so the form keeps its own look. */

/* Tiles and chips: white at rest and after a click (focus), light tint + red border on hover */
.bme .bme__tile:hover,
.bme .bme__tile:focus,
.bme .bme__chip:hover,
.bme .bme__chip:focus {
	background-color: #fff;
	color: var(--bme-ink);
	text-decoration: none;
}
.bme .bme__tile:hover,
.bme .bme__chip:hover {
	border-color: var(--bme-red);
	background-color: #fdf7f6;
}
.bme .bme__tile:hover .bme__tile-sub,
.bme .bme__tile:focus .bme__tile-sub { color: var(--bme-muted); }
.bme .bme__tile:hover .bme__icon,
.bme .bme__tile:focus .bme__icon { color: var(--bme-red); }

/* Selected stays selected under hover and focus */
.bme .bme__tile:is([aria-pressed="true"], [aria-checked="true"], [aria-selected="true"], .is-selected),
.bme .bme__tile:is([aria-pressed="true"], [aria-checked="true"], [aria-selected="true"], .is-selected):hover,
.bme .bme__tile:is([aria-pressed="true"], [aria-checked="true"], [aria-selected="true"], .is-selected):focus,
.bme .bme__chip:is([aria-pressed="true"], [aria-checked="true"], [aria-selected="true"], .is-selected),
.bme .bme__chip:is([aria-pressed="true"], [aria-checked="true"], [aria-selected="true"], .is-selected):hover,
.bme .bme__chip:is([aria-pressed="true"], [aria-checked="true"], [aria-selected="true"], .is-selected):focus {
	border: 2px solid var(--bme-red);
	background-color: var(--bme-red-tint);
	color: var(--bme-ink);
}

/* Keyboard focus: orange ring, clearly different from "selected" */
.bme .bme__tile:focus-visible,
.bme .bme__chip:focus-visible {
	outline: 3px solid var(--bme-orange);
	outline-offset: 2px;
}

/* Main button stays orange with dark text; ghost button stays white with red text */
.bme .bme__btn:not(.bme__btn--ghost):hover,
.bme .bme__btn:not(.bme__btn--ghost):focus {
	background-color: var(--bme-orange);
	color: var(--bme-ink);
	text-decoration: none;
}
.bme .bme__btn--ghost:hover,
.bme .bme__btn--ghost:focus {
	background-color: var(--bme-red-tint);
	color: var(--bme-red);
	border-color: var(--bme-red);
}

/* Any other button inside the form (back link, etc.): no theme colours */
.bme button:not(.bme__btn):not(.bme__tile):not(.bme__chip):hover,
.bme button:not(.bme__btn):not(.bme__tile):not(.bme__chip):focus {
	background-color: transparent;
	color: inherit;
	box-shadow: none;
}

/* Narrow forms (phones, narrow columns, hero card) — 1.1.3 --------------------
   Container query: reacts to the form's own width, wherever it is placed. */
.bme { container-type: inline-size; container-name: bme; }

@container bme (max-width: 440px) {
	.bme__top { flex-wrap: wrap; gap: 4px 12px; }
	.bme__title { font-size: 26px; line-height: 1.15; }

	/* Service tiles (with icons): one column of compact rows */
	.bme__tiles:has(.bme__icon) {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 8px !important;
	}
	.bme__tiles:has(.bme__icon) .bme__tile {
		display: grid !important;
		grid-template-columns: 28px 1fr;
		grid-template-rows: auto auto;
		align-items: center;
		justify-items: start;
		column-gap: 12px;
		row-gap: 0;
		min-height: 60px !important;
		padding: 10px 14px !important;
		text-align: left !important;
	}
	.bme__tiles:has(.bme__icon) .bme__tile .bme__icon { grid-row: 1 / span 2; grid-column: 1; }
	.bme__tiles:has(.bme__icon) .bme__tile-label { grid-column: 2; font-size: 15px; white-space: normal; }
	.bme__tiles:has(.bme__icon) .bme__tile-sub { grid-column: 2; font-size: 12px; white-space: normal; }

	/* Number tiles (bedrooms, desks): 3 per row */
	.bme__tiles:not(:has(.bme__icon)) {
		display: grid !important;
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 8px !important;
	}
	.bme__tile-label, .bme__tile-sub { overflow-wrap: anywhere; }
}

/* Top row (Back · Step x of 4 · ✕): to the edges — 1.1.4 */
.bme .bme__top {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.bme .bme__top > :first-child { margin-right: auto; justify-self: start; }
.bme .bme__top > :last-child { margin-left: auto; justify-self: end; }
.bme .bme__top > .bme__stepno { flex: 1 1 auto; text-align: center; }
.bme .bme__top button {
	padding: 0 6px !important;
	margin: 0 !important;
	min-height: 44px;
	min-width: 44px;
	border: 0 !important;
	background: transparent !important;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.bme .bme__top > button:first-child { margin-left: -6px !important; }
.bme .bme__top > button:last-child { margin-right: -6px !important; justify-content: flex-end; }

/* Theme-proof sizes (1.1.5): the Elementor kit's global button style (big padding, uppercase)
   is more specific than .bme__chip / .bme__tile — restate the form's own sizes inside .bme. */
.bme button {
	text-transform: none;
	letter-spacing: normal;
	line-height: 1.2;
	box-shadow: none;
}
.bme .bme__chip {
	padding: 0 16px !important;
	min-height: 44px !important;
	font-size: 15px;
	font-weight: 600;
}
.bme .bme__tile {
	padding: 12px !important;
	min-height: 0;
}
.bme .bme__tile--num { min-height: 52px !important; padding: 8px !important; }
.bme .bme__tile--low { min-height: 72px !important; }
.bme .bme__tile-label { font-size: 15px; font-weight: 600; }
.bme .bme__tile-sub { font-size: 12px; font-weight: 400; }
.bme .bme__btn { text-transform: none; }

/* Phone type scale (1.1.6) */
@media (max-width: 767px) {
	.bme .bme__title { font-size: 26px !important; line-height: 1.15; }
	.bme .bme__tile-label { font-size: 16px; }
	.bme .bme__tile-sub { font-size: 13px; }
	.bme .bme__top, .bme .bme__stepno { font-size: 14px; }
}

/* One-line icon tiles centred vertically; Studio-first order fix (1.1.7) */
@container bme (max-width: 440px) {
	.bme__tiles:has(.bme__icon) .bme__tile { align-content: center; }
	.bme__tiles:has(.bme__icon) .bme__tile:not(:has(.bme__tile-sub:not(:empty))) { grid-template-rows: auto; }
	.bme__tiles:has(.bme__icon) .bme__tile:not(:has(.bme__tile-sub:not(:empty))) .bme__icon { grid-row: 1; }
	.bme__tiles:has(.bme__icon) .bme__tile:not(:has(.bme__tile-sub:not(:empty))) .bme__tile-sub { display: none; }
}

/* Phone sheet: nothing may show above the sticky top row while scrolling (1.1.8).
   The body's top padding left a strip above the sticky row; a white shadow covers any rest. */
.bme.bme--sheet .bme__body { padding-top: 0 !important; }
.bme.bme--sheet .bme__top {
	top: 0 !important;
	margin: 0 -16px 8px !important;
	padding: calc(4px + env(safe-area-inset-top)) 16px 4px !important;
	background: #fff !important;
	box-shadow: 0 -60px 0 #fff, 0 1px 0 var(--bme-line, #eee5e3);
}

/* Phone sheet: roomier top row (1.1.9) */
.bme.bme--sheet .bme__top {
	min-height: 56px;
	padding: calc(8px + env(safe-area-inset-top)) 16px 8px !important;
	margin-bottom: 16px !important;
}

/* Top row: three equal side columns so "Step x of 4" stays centred
   whether or not the Back button is shown (1.1.10) */
.bme .bme__top {
	display: grid !important;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	column-gap: 8px;
	flex-wrap: nowrap;
}
.bme .bme__top > :first-child { grid-column: 1; justify-self: start; margin-right: 0; }
.bme .bme__top > .bme__stepno { grid-column: 2; text-align: center; white-space: nowrap; }
.bme .bme__top > :last-child { grid-column: 3; justify-self: end; margin-left: 0; text-align: right; }

/* Consent text: normal weight and smaller (the theme makes labels bold) — 1.1.11 */
.bme .bme__consent,
.bme .bme__consent span {
	font-weight: 400 !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
	color: var(--bme-muted, #57534e) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}
.bme .bme__consent { gap: 10px; align-items: flex-start; }
.bme .bme__consent input { width: 20px; height: 20px; margin: 1px 0 0 !important; flex: none; }

/* Top row + progress bar in one header; on the phone sheet the whole header stays put
   (the bar used to scroll away on steps 3-4) — 1.1.12 */
.bme__head { display: flex; flex-direction: column; gap: 14px; }
.bme.bme--sheet .bme__head {
	position: sticky;
	top: 0;
	z-index: 2;
	gap: 6px;
	margin: 0 -16px 12px;
	padding: calc(6px + env(safe-area-inset-top)) 16px 12px;
	background: #fff;
	box-shadow: 0 -60px 0 #fff, 0 1px 0 var(--bme-line, #eee5e3);
}
.bme.bme--sheet .bme__head .bme__top {
	position: static !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 44px;
	box-shadow: none !important;
	background: transparent !important;
}

/* Phone sheet fixes — 1.1.13
   1. Sticky "Get my free estimate" button sat flush on the screen edge: margin-bottom does not
      move a sticky element, so it now sticks 12 px (+ safe area) above the bottom, with a white
      band behind it so text scrolling underneath stays hidden.
   2. Summary chip ("Long-distance move · 1-bed apartment · This week") did not wrap — the theme
      sets white-space: nowrap on buttons — and pushed the sheet sideways. */
.bme.bme--sheet .bme__submit {
	bottom: calc(12px + env(safe-area-inset-bottom));
	margin-bottom: calc(12px + env(safe-area-inset-bottom));
	box-shadow: 0 0 0 12px #fff, 0 calc(12px + env(safe-area-inset-bottom)) 0 12px #fff;
}
.bme.bme--sheet .bme__body { overflow-x: hidden; }

.bme .bme__summary {
	max-width: 100%;
	white-space: normal !important;
	border-radius: 18px;
	line-height: 1.35;
	padding-top: 6px;
	padding-bottom: 6px;
}
.bme .bme__summary > span:first-child {
	min-width: 0;
	overflow-wrap: anywhere;
}

/* Loading-help sizes: equal-width chips in two columns, an odd last chip spans both (1.1.14) */
.bme .bme__chips--even {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}
.bme .bme__chips--even > .bme__chip {
	justify-content: center;
	text-align: center;
	white-space: normal;
	padding: 6px 12px;
	line-height: 1.25;
}
.bme .bme__chips--even > .bme__chip:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Links follow the surrounding text size and font; the theme's global link
   typography made "Call (407) …" and "Privacy Policy" bigger — 1.1.15 */
.bme a,
.bme a:hover,
.bme a:focus {
	font-family: inherit !important;
	font-size: inherit !important;
	line-height: inherit !important;
	letter-spacing: inherit !important;
	text-transform: none !important;
}
.bme .bme__note a { font-weight: 700; }

/* Thank-you: clear "received" confirmation, optional questions marked, Done closes the phone sheet (1.1.17) */
.bme .bme__success { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.bme .bme__success-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--bme-ok, #15803d);
	color: #fff;
}
.bme .bme__success-badge .bme__icon { stroke-width: 2.6; }
.bme .bme__success .bme__title { margin: 0; }
.bme .bme__success-sub { margin: 0; font-size: 15px; line-height: 1.45; color: var(--bme-text); }
.bme .bme__optional {
	margin: 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--bme-bg);
	font-size: 13px;
	color: var(--bme-text);
}
.bme .bme__done-actions { display: flex; flex-direction: column; gap: 10px; }
.bme .bme__done-actions .bme__btn { width: 100%; }
.bme .bme__resume--done .bme__success { flex-direction: row; align-items: center; gap: 12px; }
.bme .bme__resume--done .bme__success-badge { width: 36px; height: 36px; flex: none; }
.bme .bme__resume--done p { margin: 0; }
.bme .bme__nowrap { white-space: nowrap; }

/* Caller photo: round. The theme's image styles (border-radius: 0, height: auto) overrode it (1.1.17) */
.bme img.bme__avatar {
	width: 48px !important;
	height: 48px !important;
	max-width: none !important;
	border-radius: 50% !important;
	object-fit: cover;
	object-position: center 25%;
	box-shadow: 0 0 0 2px #fff;
}
