/* Built For B2B brand defaults, matching builtforb2b.com. Override any --bfb-* variable in Elementor's Custom CSS. */
:root {
	--bfb-accent: #1f3d2e;
	--bfb-accent-text: #fff;
	--bfb-highlight: #f2f7d6;
	--bfb-ink: #0a0a0a;
	--bfb-muted: #4b5563;
	--bfb-border: #e3e0d6;
	--bfb-surface: #f5f3ed;
	--bfb-radius: 14px;
	--bfb-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/*
 * Site base. Elementor's V4 templates style themselves; this covers what they don't (post content, WooCommerce,
 * the theme) by pointing Elementor's default kit globals at the brand. The body selector outranks .elementor-kit-N.
 */
body[class*="elementor-kit-"] {
	--e-global-color-primary: #0a0a0a;
	--e-global-color-secondary: #4b5563;
	--e-global-color-text: #2b3330;
	--e-global-color-accent: #1f3d2e;
	--e-global-typography-primary-font-family: "Geist";
	--e-global-typography-primary-font-weight: 500;
	--e-global-typography-secondary-font-family: "Geist";
	--e-global-typography-secondary-font-weight: 500;
	--e-global-typography-text-font-family: "Geist";
	--e-global-typography-text-font-weight: 400;
	--e-global-typography-accent-font-family: "Geist";
	--e-global-typography-accent-font-weight: 500;
}
html body {
	font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
	color: #2b3330;
}
html body a {
	color: var(--bfb-accent);
}
html body a:hover {
	color: #0f1f17;
}
h1,
h2,
h3,
h4 {
	font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--bfb-ink);
}

.bfb-eyebrow {
	margin: 0 0 0.75em;
	font-family: var(--bfb-mono);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bfb-muted);
}

/* Lesson page: video, notes and navigation, with the course contents alongside. */
.bfb-lesson {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 3rem;
	align-items: start;
}
.bfb-lesson__content {
	max-width: 68ch;
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--bfb-ink);
}
.bfb-lesson__side {
	position: sticky;
	top: 6rem;
	display: grid;
	gap: 1.25rem;
}
.bfb-lesson__aside {
	padding: 1.5rem;
	border: 1px solid var(--bfb-border);
	border-radius: var(--bfb-radius);
	background: #fff;
}
.bfb-lesson__aside .bfb-progress {
	margin-top: 0;
}
@media (max-width: 960px) {
	.bfb-lesson {
		grid-template-columns: 1fr;
	}
	.bfb-lesson__side {
		position: static;
	}
}

/* Course page curriculum. */
.bfb-curriculum {
	margin-top: 4rem;
	padding: 2.5rem;
	border-radius: calc(var(--bfb-radius) + 6px);
	background: #fff;
	border: 1px solid var(--bfb-border);
}
.bfb-curriculum__title {
	margin: 0;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 500;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: var(--bfb-ink);
}
.bfb-curriculum__meta {
	margin: 0.5em 0 1.5em;
	color: var(--bfb-muted);
}
@media (max-width: 640px) {
	.bfb-curriculum {
		padding: 1.5rem;
	}
}

/* Element-qualified so Hello Elementor's button and link resets (pink borders) don't win. */
a.bfb-button,
button.bfb-button {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.8em 1.4em;
	border: 0;
	border-radius: var(--bfb-radius);
	background: var(--bfb-accent);
	color: var(--bfb-accent-text);
	font: inherit;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s;
}
a.bfb-button:hover,
a.bfb-button:focus-visible,
button.bfb-button:hover,
button.bfb-button:focus-visible {
	background: #0f1f17;
	color: var(--bfb-accent-text);
}
button.bfb-button.is-complete {
	background: var(--bfb-highlight);
	color: var(--bfb-accent);
	box-shadow: none;
}
button.bfb-button.is-complete:hover {
	background: var(--bfb-surface);
	color: var(--bfb-accent);
}
.bfb-button__price {
	font-weight: 400;
	opacity: 0.9;
}
.bfb-button__price del {
	opacity: 0.6;
}

.bfb-cta {
	margin: 1.5em 0;
}
.bfb-login,
.bfb-empty {
	color: var(--bfb-muted);
	font-size: 0.9em;
}
.bfb-notice {
	padding: 0.75em 1em;
	border-left: 3px solid var(--bfb-accent);
	background: var(--bfb-surface);
}

.bfb-video {
	position: relative;
	aspect-ratio: 16 / 9;
	margin-bottom: 1.5em;
	border-radius: var(--bfb-radius);
	overflow: hidden;
	background: #000;
}
.bfb-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.bfb-outline__module {
	margin: 1.25em 0 0.5em;
	font-family: var(--bfb-mono);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bfb-muted);
}
.bfb-outline__lessons {
	margin: 0;
	padding: 0;
	list-style: none;
}
.bfb-outline__lesson {
	color: var(--bfb-ink);
	display: flex;
	align-items: baseline;
	gap: 0.6em;
	padding: 0.55em 0.75em;
	border-radius: var(--bfb-radius);
}
.bfb-outline__lesson::before {
	content: "";
	flex: none;
	width: 0.9em;
	height: 0.9em;
	border: 2px solid var(--bfb-border);
	border-radius: 50%;
	transform: translateY(0.1em);
}
.bfb-outline__lesson.is-complete::before {
	border-color: var(--bfb-accent);
	background: var(--bfb-accent);
	box-shadow: inset 0 0 0 2px #fff;
}
.bfb-outline__lesson.is-locked {
	color: var(--bfb-muted);
}
.bfb-outline__lesson.is-locked::before {
	content: "🔒";
	border: 0;
	font-size: 0.75em;
	line-height: 1;
}
.bfb-outline__lesson.is-current {
	background: var(--bfb-highlight);
	font-weight: 600;
}
.bfb-outline__lesson a,
html body .bfb-outline__lesson a {
	color: inherit;
	text-decoration: none;
}
.bfb-outline__lesson a:hover {
	text-decoration: underline;
}
.bfb-outline__duration {
	margin-left: auto;
	color: var(--bfb-muted);
	font-size: 0.85em;
	white-space: nowrap;
}
.bfb-badge {
	padding: 0.1em 0.5em;
	border-radius: 999px;
	background: var(--bfb-highlight);
	color: var(--bfb-accent);
	font-size: 0.7em;
	font-weight: 600;
	white-space: nowrap;
}

.bfb-progress {
	margin: 1em 0;
}
.bfb-progress__track {
	height: 8px;
	border-radius: 999px;
	background: var(--bfb-border);
	overflow: hidden;
}
.bfb-progress__track span {
	display: block;
	height: 100%;
	background: var(--bfb-accent);
}
.bfb-progress__label {
	margin: 0.4em 0 0;
	color: var(--bfb-muted);
	font-size: 0.85em;
}

.bfb-lesson-nav {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1em;
	margin: 2em 0;
	padding-top: 1.5em;
	border-top: 1px solid var(--bfb-border);
}
.bfb-lesson-nav a {
	font-weight: 500;
	text-decoration: none;
}
.bfb-lesson-nav__next {
	text-align: right;
}
.bfb-complete {
	margin: 0;
}
@media (max-width: 640px) {
	.bfb-lesson-nav {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.bfb-lesson-nav__next {
		text-align: center;
	}
}

.bfb-my-courses {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5em;
}
.bfb-card {
	padding: 1.25em;
	border: 1px solid var(--bfb-border);
	border-radius: var(--bfb-radius);
}
.bfb-card__image img {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 1em;
	border-radius: calc(var(--bfb-radius) - 2px);
}
.bfb-card__title {
	margin: 0 0 0.5em;
	font-size: 1.15em;
}
.bfb-card__title a {
	color: inherit;
	text-decoration: none;
}

.bfb-placeholder {
	padding: 1.25em;
	border: 2px dashed var(--bfb-border);
	border-radius: var(--bfb-radius);
	color: var(--bfb-muted);
	text-align: center;
	font-size: 0.9em;
}

/* Offers: owner upgrade and infrastructure. */
.bfb-offers {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.25rem;
	margin-top: 2.5rem;
}
.bfb-offer {
	padding: 1.75rem;
	border-radius: calc(var(--bfb-radius) + 6px);
	background: #0f1f17;
	color: rgba(255, 255, 255, 0.72);
}
.bfb-offer .bfb-eyebrow {
	color: rgba(255, 255, 255, 0.55);
}
.bfb-offer__title {
	margin: 0 0 0.5em;
	font-size: 1.35rem;
	line-height: 1.2;
	color: #fff;
}
.bfb-offer__pitch {
	margin: 0 0 1.25em;
	font-size: 0.95rem;
	line-height: 1.6;
}
html body .bfb-offer a.bfb-button {
	background: var(--bfb-highlight);
	color: #0f1f17;
}
html body .bfb-offer a.bfb-button:hover {
	background: #76ffa7;
	color: #0f1f17;
}
.bfb-offer--infra {
	background: #fff;
	border: 1px solid var(--bfb-border);
	color: var(--bfb-muted);
}
.bfb-offer--infra .bfb-eyebrow {
	color: var(--bfb-muted);
}
.bfb-offer--infra .bfb-offer__title {
	color: var(--bfb-ink);
}
html body .bfb-offer--infra a.bfb-button {
	background: var(--bfb-accent);
	color: #fff;
}
html body .bfb-offer--infra a.bfb-button:hover {
	background: #0f1f17;
	color: #fff;
}
.bfb-lesson__side .bfb-offer {
	padding: 1.5rem;
}

/* Checkout upgrade box. */
.bfb-upgrade {
	margin: 0 0 1.5rem;
	padding: 1.25rem 1.4rem;
	border: 2px dashed var(--bfb-accent);
	border-radius: var(--bfb-radius);
	background: var(--bfb-highlight);
	transition: opacity 0.15s;
}
.bfb-upgrade.is-upgraded {
	border-style: solid;
}
.bfb-upgrade.is-loading {
	opacity: 0.5;
	pointer-events: none;
}
.bfb-upgrade__toggle {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	cursor: pointer;
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--bfb-ink);
}
.bfb-upgrade__input {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.15rem;
	accent-color: var(--bfb-accent);
}
.bfb-upgrade__pitch {
	margin: 0.5rem 0 0 2rem;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--bfb-muted);
}
.bfb-upgrade__pitch:empty {
	display: none;
}

/* Order received. */
.bfb-thankyou {
	margin: 0 0 2rem;
	padding: 2.25rem;
	border-radius: calc(var(--bfb-radius) + 6px);
	background: var(--bfb-highlight);
}
.bfb-thankyou__title {
	margin: 0 0 1rem;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
}
.bfb-thankyou__note {
	margin: 0 0 1rem;
	color: var(--bfb-muted);
}
.bfb-thankyou__courses {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}
.woocommerce-order .bfb-offer {
	margin-bottom: 1.25rem;
}

/* WooCommerce: forms, buttons, notices, checkout and account, in the brand. */
html body .woocommerce form .form-row input.input-text,
html body .woocommerce form .form-row textarea,
html body .woocommerce form .form-row select,
html body .woocommerce-page form .form-row input.input-text,
html body .woocommerce .select2-container .select2-selection--single {
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--bfb-border);
	border-radius: 10px;
	background: #fff;
	font: inherit;
	color: var(--bfb-ink);
	box-shadow: none;
}
html body .woocommerce .select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 26px;
	padding: 0;
}
html body .woocommerce .select2-container .select2-selection--single .select2-selection__arrow {
	top: 11px;
	right: 8px;
}
html body .woocommerce form .form-row input.input-text:focus,
html body .woocommerce form .form-row select:focus {
	border-color: var(--bfb-accent);
	outline: 2px solid rgba(31, 61, 46, 0.15);
}
html body .woocommerce form .form-row label {
	font-weight: 500;
	color: var(--bfb-ink);
	margin-bottom: 6px;
}
html body .woocommerce form .form-row .required {
	color: var(--bfb-accent);
	text-decoration: none;
}
html body .woocommerce a.button,
html body .woocommerce button.button,
html body .woocommerce input.button,
html body .woocommerce a.button.alt,
html body .woocommerce button.button.alt,
html body .woocommerce input.button.alt,
html body .woocommerce #respond input#submit {
	padding: 14px 24px;
	border: 0;
	border-radius: var(--bfb-radius);
	background: var(--bfb-accent);
	color: #fff;
	font: inherit;
	font-weight: 500;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
}
html body .woocommerce a.button:hover,
html body .woocommerce button.button:hover,
html body .woocommerce input.button:hover,
html body .woocommerce a.button.alt:hover,
html body .woocommerce button.button.alt:hover,
html body .woocommerce input.button.alt:hover {
	background: #0f1f17;
	color: #fff;
}
html body .woocommerce #payment #place_order {
	width: 100%;
	padding: 18px 24px;
	font-size: 1.05rem;
}
html body .woocommerce-info,
html body .woocommerce-message,
html body .woocommerce-error,
html body .woocommerce-noreviews {
	border: 0;
	border-left: 3px solid var(--bfb-accent);
	border-radius: 10px;
	background: var(--bfb-surface);
	color: var(--bfb-ink);
}
html body .woocommerce-error {
	border-left-color: #b42318;
}
html body .woocommerce-info::before,
html body .woocommerce-message::before {
	color: var(--bfb-accent);
}

/* Checkout: details on the left, order and payment on the right. */
@media (min-width: 961px) {
	html body .woocommerce form.checkout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 440px;
		column-gap: 3rem;
		align-items: start;
	}
	html body .woocommerce form.checkout > * {
		grid-column: 1;
	}
	html body .woocommerce form.checkout #customer_details {
		grid-row: 1 / span 3;
	}
	html body .woocommerce form.checkout #order_review_heading,
	html body .woocommerce form.checkout #order_review {
		grid-column: 2;
	}
	html body .woocommerce form.checkout #order_review {
		position: sticky;
		top: 6rem;
	}
}
html body .woocommerce form.checkout .col2-set .col-1,
html body .woocommerce form.checkout .col2-set .col-2 {
	float: none;
	width: 100%;
}
html body .woocommerce form.checkout h3 {
	font-size: 1.35rem;
	margin: 0 0 1rem;
}
html body .woocommerce-checkout-review-order {
	padding: 1.5rem;
	border: 1px solid var(--bfb-border);
	border-radius: calc(var(--bfb-radius) + 4px);
	background: #fff;
}
html body .woocommerce table.shop_table {
	border: 0;
	border-radius: 0;
	margin-bottom: 1.25rem;
}
html body .woocommerce table.shop_table th,
html body .woocommerce table.shop_table td {
	padding: 12px 0;
	border: 0;
	border-top: 1px solid var(--bfb-border);
	background: transparent;
}
html body .woocommerce table.shop_table tbody > tr:nth-child(odd) > td,
html body .woocommerce table.shop_table tbody > tr:nth-child(odd) > th,
html body .woocommerce table.shop_table tbody tr:hover > td,
html body .woocommerce table.shop_table tbody tr:hover > th {
	background: transparent;
}
html body .woocommerce table.shop_table td:last-child,
html body .woocommerce table.shop_table th:last-child {
	text-align: right;
}
html body .woocommerce table.shop_table thead th {
	border-top: 0;
	font-family: var(--bfb-mono);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bfb-muted);
}
html body .woocommerce table.shop_table .order-total th,
html body .woocommerce table.shop_table .order-total td {
	font-size: 1.2rem;
	color: var(--bfb-ink);
}
html body .woocommerce-checkout #payment {
	background: transparent;
	border-radius: 0;
}
html body .woocommerce-checkout #payment ul.payment_methods {
	padding: 0 0 1rem;
	border-bottom: 1px solid var(--bfb-border);
}
html body .woocommerce-checkout #payment div.payment_box {
	background: var(--bfb-surface);
	border-radius: 10px;
	color: var(--bfb-ink);
}
html body .woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: var(--bfb-surface);
}
html body .woocommerce-checkout #payment div.form-row {
	padding: 1rem 0 0;
}
html body .woocommerce-terms-and-conditions-wrapper {
	font-size: 0.9rem;
	color: var(--bfb-muted);
}

/* My Account. */
@media (min-width: 769px) {
	html body .woocommerce-account .woocommerce-MyAccount-navigation {
		width: 24%;
	}
	html body .woocommerce-account .woocommerce-MyAccount-content {
		width: 72%;
	}
}
html body .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
html body .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 10px 14px;
	border-radius: 10px;
	color: var(--bfb-ink);
	font-weight: 500;
	text-decoration: none;
}
html body .woocommerce-MyAccount-navigation li.is-active a,
html body .woocommerce-MyAccount-navigation li a:hover {
	background: var(--bfb-highlight);
	color: var(--bfb-accent);
}
html body .woocommerce form.login,
html body .woocommerce form.register,
html body .woocommerce form.lost_reset_password {
	max-width: 480px;
	padding: 2rem;
	border: 1px solid var(--bfb-border);
	border-radius: calc(var(--bfb-radius) + 4px);
	background: #fff;
}

/* Module headings with progress. */
.bfb-outline__module {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1em;
}
.bfb-outline__module-count {
	font-variant-numeric: tabular-nums;
}
.bfb-outline__module.is-complete .bfb-outline__module-count {
	color: var(--bfb-accent);
}
.bfb-outline__module.is-complete .bfb-outline__module-count::before {
	content: "✓ ";
}
.bfb-badge--quiz {
	background: var(--bfb-accent);
	color: #fff;
}

/* Quiz. */
.bfb-quiz {
	margin: 2.5rem 0 0;
	padding: 2rem;
	border: 1px solid var(--bfb-border);
	border-radius: calc(var(--bfb-radius) + 4px);
	background: #fff;
}
.bfb-quiz__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.25rem;
}
.bfb-quiz__head .bfb-eyebrow {
	margin: 0;
}
.bfb-quiz__rules {
	margin: 0;
	color: var(--bfb-muted);
	font-size: 0.9rem;
}
.bfb-quiz__result {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	border-radius: var(--bfb-radius);
}
.bfb-quiz__result p {
	margin: 0;
}
.bfb-quiz__result.is-pass {
	background: var(--bfb-highlight);
}
.bfb-quiz__result.is-fail {
	background: #fdf2f1;
}
.bfb-quiz__result .bfb-medal-svg {
	width: 44px;
	flex: none;
}
.bfb-quiz__score {
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--bfb-ink);
}
.bfb-quiz__q {
	margin: 0 0 1.25rem;
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--bfb-border);
	border-radius: var(--bfb-radius);
}
.bfb-quiz__q.is-right {
	border-color: var(--bfb-accent);
}
.bfb-quiz__q.is-wrong {
	border-color: #d92d20;
}
.bfb-quiz__q legend {
	padding: 0 0.25rem;
	font-weight: 500;
	color: var(--bfb-ink);
}
.bfb-quiz__num {
	display: inline-block;
	min-width: 1.6em;
	font-family: var(--bfb-mono);
	color: var(--bfb-accent);
}
.bfb-quiz__hint {
	margin: 0 0 0.5rem;
	font-size: 0.85rem;
	color: var(--bfb-muted);
}
.bfb-quiz__option {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0.35rem 0;
	padding: 0.55rem 0.75rem;
	border-radius: 10px;
	cursor: pointer;
}
.bfb-quiz__option:hover {
	background: var(--bfb-surface);
}
.bfb-quiz__option input {
	margin-top: 0.3em;
	accent-color: var(--bfb-accent);
}
.bfb-quiz__feedback {
	margin: 0.75rem 0 0;
	font-size: 0.92rem;
	color: var(--bfb-muted);
}
.bfb-quiz__q.is-right .bfb-quiz__feedback {
	color: var(--bfb-accent);
}
.bfb-quiz__q.is-wrong .bfb-quiz__feedback {
	color: #b42318;
}
html body a.bfb-quiz-gate {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--bfb-muted);
	text-decoration: none;
}

/* Medals. */
.bfb-medal-svg {
	display: block;
	width: 52px;
	height: auto;
}
.bfb-medals {
	margin-top: 2.5rem;
}
.bfb-medals__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1rem;
}
.bfb-medal {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	border: 1px solid var(--bfb-border);
	border-radius: var(--bfb-radius);
	background: #fff;
}
.bfb-medal--course {
	border-color: var(--bfb-accent);
	background: var(--bfb-highlight);
}
.bfb-medal p {
	margin: 0;
}
.bfb-medal__title {
	font-weight: 600;
	color: var(--bfb-ink);
	line-height: 1.3;
}
.bfb-medal__meta {
	font-size: 0.85rem;
	color: var(--bfb-muted);
}
.bfb-card__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
}
.bfb-card__head .bfb-medal-svg {
	width: 40px;
	flex: none;
}
.bfb-card__percent {
	font-family: var(--bfb-mono);
	font-size: 0.85rem;
	color: var(--bfb-muted);
}
.bfb-card.is-complete {
	border-color: var(--bfb-accent);
}
.bfb-curriculum__medal {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 0 1.25rem;
	padding: 1rem 1.25rem;
	border-radius: var(--bfb-radius);
	background: var(--bfb-highlight);
}
.bfb-curriculum__medal p {
	margin: 0;
	font-weight: 500;
	color: var(--bfb-ink);
}
.bfb-toast {
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 1rem;
	max-width: 380px;
	padding: 1rem 2.75rem 1rem 1rem;
	border-radius: calc(var(--bfb-radius) + 4px);
	background: #0f1f17;
	color: rgba(255, 255, 255, 0.75);
	box-shadow: 0 24px 60px rgba(15, 31, 23, 0.35);
	animation: bfb-toast-in 0.6s ease-out;
}
.bfb-toast p {
	margin: 0;
	font-size: 0.92rem;
}
.bfb-toast__title {
	font-weight: 600;
	color: #fff;
}
html body .bfb-toast a {
	color: #76ffa7;
	font-size: 0.9rem;
}
.bfb-toast__close {
	position: absolute;
	top: 0.5rem;
	right: 0.6rem;
	padding: 0.25rem 0.5rem;
	border: 0;
	background: none;
	color: rgba(255, 255, 255, 0.6);
	font-size: 1.25rem;
	cursor: pointer;
}
@keyframes bfb-toast-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* Services. */
html body button.bfb-button.bfb-button--ghost {
	background: transparent;
	color: var(--bfb-accent);
	box-shadow: inset 0 0 0 1px var(--bfb-accent);
}
html body button.bfb-button.bfb-button--ghost:hover {
	background: var(--bfb-highlight);
	color: var(--bfb-accent);
}
.bfb-services-current {
	margin-bottom: 2rem;
	padding: 1.5rem;
	border: 1px solid var(--bfb-border);
	border-radius: calc(var(--bfb-radius) + 4px);
	background: #fff;
}
.bfb-services-list {
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}
.bfb-services-list li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 0;
	border-top: 1px solid var(--bfb-border);
}
.bfb-services-list__what {
	font-weight: 500;
	color: var(--bfb-ink);
}
.bfb-services-list__status {
	font-size: 0.9rem;
	color: var(--bfb-muted);
}
.bfb-services-list__status.is-past_due,
.bfb-services-list__status.is-unpaid {
	color: #b42318;
	font-weight: 500;
}
.bfb-services-note {
	margin: 0.75rem 0 0;
	font-size: 0.85rem;
	color: var(--bfb-muted);
}
.bfb-services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.25rem;
}
.bfb-service {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 1.5rem;
	border: 1px solid var(--bfb-border);
	border-radius: calc(var(--bfb-radius) + 4px);
	background: #fff;
}
.bfb-service__name {
	margin: 0;
	font-size: 1.15rem;
}
.bfb-service__price {
	margin: 0;
	color: var(--bfb-muted);
}
.bfb-service__price strong {
	font-size: 1.6rem;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--bfb-ink);
}
.bfb-service__desc {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--bfb-muted);
}
.bfb-service__qty {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 0.5rem;
	font-size: 0.9rem;
	color: var(--bfb-ink);
}
.bfb-service__qty select {
	min-width: 80px;
	padding: 8px 10px;
	border: 1px solid var(--bfb-border);
	border-radius: 10px;
}
.bfb-service .bfb-button {
	justify-content: center;
}

/* Client portal (My Account dashboard). */
.bfb-portal__head {
	margin-bottom: 1.5rem;
}
.bfb-portal__head .bfb-eyebrow {
	margin-bottom: 0.25rem;
}
.bfb-portal__title {
	margin: 0;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.bfb-portal__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.25rem;
	margin-bottom: 2rem;
}
.bfb-portal-card {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 1.5rem;
	border: 1px solid var(--bfb-border);
	border-radius: calc(var(--bfb-radius) + 4px);
	background: #fff;
}
.bfb-portal-card p {
	margin: 0;
	color: var(--bfb-muted);
	font-size: 0.95rem;
	line-height: 1.55;
}
.bfb-portal-card .bfb-eyebrow {
	margin: 0;
}
.bfb-portal-card__title {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.25;
}
.bfb-portal-card .bfb-progress {
	margin: 0.25rem 0;
}
.bfb-portal-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: auto;
	padding-top: 0.5rem;
}
.bfb-portal-card__list {
	margin: 0;
	padding-left: 1.1rem;
	color: var(--bfb-ink);
}
.bfb-portal-card__medals {
	display: flex;
	gap: 0.25rem;
}
.bfb-portal-card__medals .bfb-medal-svg {
	width: 32px;
}
.bfb-portal-card.is-membership {
	border-color: #0f1f17;
	background: #0f1f17;
}
.bfb-portal-card.is-membership .bfb-portal-card__title {
	color: #fff;
}
.bfb-portal-card.is-membership p {
	color: rgba(255, 255, 255, 0.7);
}
html body .bfb-portal-card.is-membership a.bfb-button {
	background: var(--bfb-highlight);
	color: #0f1f17;
}
html body .bfb-portal-card.is-membership a.bfb-button--ghost {
	background: transparent;
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
html body a.bfb-button.bfb-button--ghost {
	background: transparent;
	color: var(--bfb-accent);
	box-shadow: inset 0 0 0 1px var(--bfb-accent);
}
html body a.bfb-button.bfb-button--ghost:hover {
	background: var(--bfb-highlight);
	color: var(--bfb-accent);
}

/* Welcome steps after a Stripe purchase. */
.bfb-steps {
	display: grid;
	gap: 1rem;
	max-width: 46rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bfb-step {
	display: flex;
	gap: 1.25rem;
	padding: 1.5rem;
	border: 1px solid var(--bfb-border);
	border-radius: calc(var(--bfb-radius) + 4px);
	background: #fff;
}
.bfb-step__num {
	flex: none;
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: var(--bfb-highlight);
	color: var(--bfb-accent);
	font-family: var(--bfb-mono);
	font-weight: 500;
}
.bfb-step__title {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
}
.bfb-step p {
	margin: 0 0 0.9rem;
	color: var(--bfb-muted);
}
.bfb-steps__help {
	margin-top: 1.5rem;
	color: var(--bfb-muted);
}
