/**
 * BEF File Upload WooCommerce — customer interface.
 */

.bef-uploader-shell,
.bef-uploader-shell *,
.bef-uploader-shell *::before,
.bef-uploader-shell *::after,
.bef-uploader,
.bef-uploader *,
.bef-uploader *::before,
.bef-uploader *::after {
	box-sizing: border-box;
}

.bef-uploader-shell {
	--bef-accent: #1f5eff;
	--bef-button-foreground: #fff;
	--bef-ink: #14213d;
	/*
	 * CSS cannot reliably calculate WCAG contrast for an arbitrary theme
	 * variable. Keep foreground accents readable by default; JavaScript may
	 * replace this token with a verified accent when it can resolve the final
	 * rendered colours.
	 */
	--bef-accent-readable: var(--bef-ink);
	--bef-accent-boundary: var(--bef-button-foreground);
	--bef-muted: #65738b;
	--bef-border: #dce3ee;
	--bef-surface: #fff;
	--bef-subtle: #f6f8fc;
	--bef-success: #0d8a5f;
	--bef-success-soft: #eaf8f2;
	--bef-danger: #c3374b;
	--bef-danger-soft: #fff0f2;
	--bef-warning: #a96309;
	--bef-warning-soft: #fff6e7;
	position: relative;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	margin: 18px 0;
	color: var(--bef-ink);
	font-family: inherit;
	line-height: 1.5;
}

.bef-uploader-shell > .bef-uploader {
	margin: 0;
}

.bef-uploader-shell--modal {
	display: block;
}

.bef-uploader-shell[data-bef-uploader-shell] > .bef-uploader-launch {
	display: flex !important;
	width: 100% !important;
	min-width: 0 !important;
	min-height: 58px;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	padding: 10px 13px !important;
	border: 1px solid var(--bef-accent-boundary) !important;
	border-radius: 14px !important;
	background: var(--bef-accent) !important;
	box-shadow: 0 8px 22px color-mix(in srgb, var(--bef-accent) 27%, transparent) !important;
	color: var(--bef-button-foreground) !important;
	-webkit-text-fill-color: var(--bef-button-foreground) !important;
	cursor: pointer;
	font: inherit !important;
	letter-spacing: normal !important;
	line-height: 1.25 !important;
	text-align: left !important;
	text-decoration: none !important;
	text-transform: none !important;
	transition:
		box-shadow 160ms ease,
		filter 160ms ease,
		transform 160ms ease;
}

.bef-uploader-shell[data-bef-uploader-shell] > .bef-uploader-launch:hover {
	box-shadow: 0 11px 27px color-mix(in srgb, var(--bef-accent) 34%, transparent) !important;
	filter: brightness(.96);
	transform: translateY(-1px);
}

.bef-uploader-shell[data-bef-uploader-shell] > .bef-uploader-launch:active {
	box-shadow: 0 5px 14px color-mix(in srgb, var(--bef-accent) 24%, transparent) !important;
	transform: translateY(0);
}

.bef-uploader-shell[data-bef-uploader-shell] > .bef-uploader-launch:disabled,
.bef-uploader-shell[data-bef-uploader-shell] > .bef-uploader-launch[aria-disabled="true"] {
	box-shadow: none !important;
	cursor: not-allowed;
	filter: grayscale(.18);
	opacity: .58;
	transform: none;
}

.bef-uploader-shell[data-bef-uploader-shell] > .bef-uploader-launch:focus-visible,
.bef-uploader-shell[data-bef-uploader-shell] .bef-modal__close:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--bef-accent) 48%, #fff);
	outline-offset: 3px;
}

.bef-uploader-launch__icon {
	display: grid;
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	place-items: center;
	border: 1px solid currentcolor;
	border-radius: 11px;
	background: color-mix(in srgb, currentcolor 10%, transparent);
	opacity: .96;
}

.bef-uploader-launch__icon svg,
.bef-uploader-launch__arrow svg,
.bef-modal__icon svg,
.bef-modal__close svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.bef-uploader-launch__copy {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
}

.bef-uploader-launch__copy strong,
.bef-uploader-launch__copy small {
	display: block;
	min-width: 0;
	max-width: 100%;
	color: inherit !important;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bef-uploader-launch__copy strong {
	font-size: 14px;
	font-weight: 760;
}

.bef-uploader-launch__copy small {
	font-size: 10px;
	font-weight: 620;
	letter-spacing: .035em;
	opacity: .76;
	text-transform: uppercase;
}

.bef-uploader-launch__count {
	flex: 0 0 auto;
	padding: 4px 8px;
	border: 1px solid currentcolor;
	border-radius: 999px;
	background: color-mix(in srgb, currentcolor 9%, transparent);
	color: inherit;
	font-size: 10px;
	font-weight: 750;
	opacity: .92;
	white-space: nowrap;
}

.bef-uploader-launch__arrow {
	display: grid;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	place-items: center;
}

.bef-uploader-launch__arrow svg {
	width: 17px;
	height: 17px;
	stroke-width: 2.1;
}

.bef-uploader-shell--compact {
	display: inline-block;
	width: auto;
	min-width: 0;
	max-width: 100%;
	margin: 9px 0 3px;
	vertical-align: middle;
}

.bef-uploader-launch--compact {
	width: auto !important;
	max-width: 100% !important;
	min-height: 42px;
	gap: 8px;
	padding: 7px 10px !important;
	border-radius: 11px !important;
}

.bef-uploader-launch--compact .bef-uploader-launch__icon {
	width: 28px;
	height: 28px;
	flex-basis: 28px;
	border: 0;
	border-radius: 8px;
}

.bef-uploader-launch--compact .bef-uploader-launch__icon svg {
	width: 18px;
	height: 18px;
}

.bef-uploader-launch--compact .bef-uploader-launch__copy strong {
	font-size: 12px;
}

.bef-uploader-launch--compact .bef-uploader-launch__arrow {
	display: none;
}

.bef-uploader-launch--compact .bef-uploader-launch__count {
	display: none;
}

.woocommerce-cart-form .product-name .bef-uploader-shell--compact {
	display: block;
	width: 100%;
	min-width: 0;
	max-width: 100%;
}

.woocommerce-cart-form .product-name .bef-uploader-launch--compact {
	width: 44px !important;
	max-width: 100% !important;
	justify-content: center;
	padding: 7px !important;
}

.woocommerce-cart-form .product-name .bef-uploader-launch--compact .bef-uploader-launch__copy {
	display: none;
}

.bef-modal[hidden] {
	display: none !important;
}

.bef-modal {
	position: fixed !important;
	inset: 0 !important;
	z-index: 999999 !important;
	display: grid;
	width: auto !important;
	height: auto !important;
	max-width: none !important;
	max-height: none !important;
	align-items: center;
	justify-items: center;
	padding: clamp(14px, 3vw, 34px);
	margin: 0 !important;
	contain: none !important;
	isolation: isolate;
	overflow: hidden;
	transform: none !important;
}

/*
 * Native-dialog readiness: once the controller calls showModal(), the same
 * component can enter the browser top layer without UA borders or a second
 * backdrop. The current div implementation is unaffected by these selectors.
 */
dialog.bef-modal {
	border: 0;
	background: transparent;
	color: inherit;
}

dialog.bef-modal::backdrop {
	background: transparent;
}

.bef-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(8 16 31 / 68%);
	backdrop-filter: blur(5px);
	cursor: default;
}

.bef-modal__dialog {
	position: relative;
	display: flex;
	width: min(920px, 100%);
	max-width: 100%;
	max-height: calc(100vh - 40px);
	max-height: calc(100dvh - 40px);
	flex-direction: column;
	border: 1px solid color-mix(in srgb, var(--bef-border) 78%, transparent);
	border-radius: 22px;
	background: var(--bef-surface);
	box-shadow: 0 26px 80px rgb(4 12 27 / 36%);
	color: var(--bef-ink);
	overflow: hidden;
	animation: bef-modal-enter 180ms ease-out both;
}

.bef-modal__header {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) 38px;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	border-bottom: 1px solid var(--bef-border);
	background:
		linear-gradient(120deg, color-mix(in srgb, var(--bef-accent) 10%, transparent), transparent 62%),
		var(--bef-surface);
}

.bef-modal__icon {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border-radius: 13px;
	background: color-mix(in srgb, var(--bef-accent) 11%, var(--bef-surface));
	color: var(--bef-accent-readable);
}

.bef-modal__heading {
	min-width: 0;
}

.bef-modal__heading > :where(p, h2) {
	max-width: 100%;
	margin: 0 !important;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bef-modal__heading > p:first-child {
	color: var(--bef-accent-readable);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.bef-modal__heading h2 {
	color: var(--bef-ink);
	font-size: clamp(17px, 2vw, 21px);
	font-weight: 790;
	line-height: 1.25;
}

.bef-modal__heading > p:last-child {
	color: var(--bef-muted);
	font-size: 11px;
}

.bef-uploader-shell[data-bef-uploader-shell] .bef-modal__close {
	display: grid !important;
	width: 38px !important;
	height: 38px !important;
	min-width: 38px !important;
	min-height: 38px !important;
	place-items: center;
	padding: 0 !important;
	border: 1px solid var(--bef-border) !important;
	border-radius: 11px !important;
	background: var(--bef-surface) !important;
	box-shadow: none !important;
	color: var(--bef-muted) !important;
	cursor: pointer;
}

.bef-uploader-shell[data-bef-uploader-shell] .bef-modal__close:hover {
	border-color: color-mix(in srgb, var(--bef-danger) 32%, var(--bef-border)) !important;
	background: var(--bef-danger-soft) !important;
	color: var(--bef-danger) !important;
}

.bef-modal__body {
	min-height: 0;
	padding: 0;
	overflow: auto;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
}

.bef-modal .bef-uploader {
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.bef-modal .bef-uploader::before {
	display: none;
}

.bef-modal .bef-uploader__toggle {
	display: none !important;
}

body.bef-modal-open {
	overflow: hidden !important;
	padding-right: var(--bef-scrollbar-width, 0) !important;
	overscroll-behavior: none;
}

.single-product .product-summary form.cart > .bef-uploader-shell,
.single-product .summary form.cart > .bef-uploader-shell,
.single-product form.variations_form .single_variation_wrap .variations_button > .bef-uploader-shell {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	flex: 1 0 100%;
	clear: both;
}

/*
 * Some two-column product layouts leave the summary column narrower than the
 * quantity and add-to-cart controls at tablet widths. Stack only the immediate
 * control group that contains BEF so neither the theme nor the uploader can
 * create horizontal page overflow.
 */
@media (min-width: 721px) and (max-width: 900px) {
	.single-product :where(form.cart, .variations_button).bef-cart-controls--has-uploader {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 10px !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
	}

	.single-product :where(form.cart, .variations_button).bef-cart-controls--has-uploader > :where(
		.bef-uploader-shell,
		.quantity,
		.single_add_to_cart_button
	) {
		grid-column: 1 / -1 !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
}

.bef-uploader {
	--bef-accent: #1f5eff;
	--bef-accent-dark: color-mix(in srgb, var(--bef-accent) 80%, #081938);
	--bef-accent-soft: color-mix(in srgb, var(--bef-accent) 9%, var(--bef-surface));
	--bef-ink: #14213d;
	--bef-muted: #65738b;
	--bef-border: #dce3ee;
	--bef-surface: #fff;
	--bef-subtle: #f6f8fc;
	--bef-success: #0d8a5f;
	--bef-success-soft: #eaf8f2;
	--bef-danger: #c3374b;
	--bef-danger-soft: #fff0f2;
	--bef-warning: #a96309;
	--bef-warning-soft: #fff6e7;
	position: relative;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	margin: 18px 0;
	border: 1px solid var(--bef-border);
	border-radius: 18px;
	background: var(--bef-surface);
	color: var(--bef-ink);
	box-shadow:
		0 1px 2px rgb(20 33 61 / 5%),
		0 12px 36px rgb(20 33 61 / 7%);
	font-family: inherit;
	font-size: 14px;
	line-height: 1.5;
	overflow: hidden;
	isolation: isolate;
	container-type: inline-size;
}

.bef-uploader::before {
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--bef-accent), color-mix(in srgb, var(--bef-accent) 55%, #7c4dff));
	content: "";
	z-index: 2;
}

.bef-uploader button,
.bef-uploader input,
.bef-uploader select,
.bef-uploader textarea {
	font: inherit;
}

.bef-uploader button,
.bef-uploader a {
	-webkit-tap-highlight-color: transparent;
}

.bef-uploader__toggle > span,
.bef-field > label,
.bef-choice,
.bef-dropzone__help,
.bef-dropzone__total {
	min-width: 0;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.bef-uploader__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 19px 20px 10px;
}

.bef-uploader__heading {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 12px;
}

.bef-uploader__heading > span:last-child {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 1px;
}

.bef-uploader__heading strong {
	color: var(--bef-ink);
	font-size: 15px;
	font-weight: 750;
	letter-spacing: -.012em;
}

.bef-uploader__product {
	max-width: min(50vw, 440px);
	color: var(--bef-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	overflow: hidden;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.bef-uploader__mark {
	display: grid;
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	place-items: center;
	border-radius: 12px;
	background: var(--bef-accent-soft);
	color: var(--bef-accent-readable);
}

.bef-uploader__mark svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.bef-uploader__count {
	flex: 0 0 auto;
	padding: 5px 9px;
	border: 1px solid var(--bef-border);
	border-radius: 999px;
	background: var(--bef-subtle);
	color: var(--bef-muted);
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.bef-uploader__toggle {
	display: flex;
	width: calc(100% - 40px);
	min-height: 44px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 8px 20px 18px;
	padding: 10px 14px;
	border: 0;
	border-radius: 12px;
	background: var(--bef-accent);
	box-shadow: 0 7px 18px color-mix(in srgb, var(--bef-accent) 22%, transparent);
	color: var(--bef-button-foreground, #fff);
	cursor: pointer;
	font-weight: 700;
	text-align: left;
	transition:
		background-color 160ms ease,
		box-shadow 160ms ease,
		transform 160ms ease;
}

.bef-uploader__toggle:hover {
	background: var(--bef-accent-dark);
	box-shadow: 0 9px 22px color-mix(in srgb, var(--bef-accent) 28%, transparent);
	transform: translateY(-1px);
}

.bef-uploader__toggle:active {
	transform: translateY(0);
}

.bef-uploader__toggle:disabled {
	box-shadow: none;
	cursor: not-allowed;
	opacity: .55;
	transform: none;
}

.bef-uploader__toggle svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	transition: transform 160ms ease;
}

.bef-uploader__toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.bef-uploader__panel {
	display: grid;
	gap: 18px;
	padding: 2px 20px 22px;
}

.bef-uploader__panel[hidden],
.bef-color-request__fields[hidden] {
	display: none !important;
}

.bef-dropzone {
	position: relative;
	display: flex;
	min-height: 216px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 28px 20px;
	border: 1.5px dashed color-mix(in srgb, var(--bef-accent) 44%, var(--bef-border));
	border-radius: 16px;
	background:
		radial-gradient(circle at 50% 0, color-mix(in srgb, var(--bef-accent) 8%, transparent), transparent 55%),
		var(--bef-subtle);
	color: var(--bef-ink);
	cursor: pointer;
	text-align: center;
	transition:
		border-color 160ms ease,
		background-color 160ms ease,
		box-shadow 160ms ease,
		transform 160ms ease;
}

.bef-dropzone:hover,
.bef-dropzone:focus-visible,
.bef-dropzone.is-dragging {
	border-color: var(--bef-accent-readable);
	background-color: var(--bef-accent-soft);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--bef-accent) 10%, transparent);
	outline: none;
}

.bef-dropzone.is-dragging {
	transform: scale(1.005);
}

.bef-dropzone.is-disabled,
.bef-dropzone.is-full {
	cursor: not-allowed;
	filter: grayscale(.2);
	opacity: .58;
}

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

.bef-dropzone__icon {
	display: grid;
	width: 54px;
	height: 54px;
	place-items: center;
	margin-bottom: 12px;
	border: 1px solid color-mix(in srgb, var(--bef-accent) 20%, var(--bef-surface));
	border-radius: 17px;
	background: var(--bef-surface);
	box-shadow: 0 7px 22px rgb(20 33 61 / 9%);
	color: var(--bef-accent-readable);
}

.bef-dropzone__icon svg {
	width: 29px;
	height: 29px;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.bef-dropzone__title {
	font-size: 16px;
	font-weight: 750;
	letter-spacing: -.015em;
}

.bef-dropzone__separator {
	margin: 4px 0 8px;
	color: var(--bef-muted);
	font-size: 12px;
}

.bef-button {
	display: inline-flex;
	min-height: 34px;
	align-items: center;
	justify-content: center;
	padding: 7px 13px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 750;
}

.bef-button--soft {
	border: 1px solid var(--bef-accent-readable);
	background: var(--bef-surface);
	color: var(--bef-accent-readable);
}

.bef-dropzone__help,
.bef-dropzone__total {
	display: block;
	max-width: 650px;
	margin-top: 11px;
	color: var(--bef-muted);
	font-size: 11px;
}

.bef-dropzone__total {
	margin-top: 2px;
}

.bef-file-area {
	padding: 14px;
	border: 1px solid var(--bef-border);
	border-radius: 15px;
	background: var(--bef-surface);
}

.bef-file-area__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 11px;
	color: var(--bef-ink);
	font-size: 12px;
}

.bef-file-area__title > span {
	color: var(--bef-muted);
	font-size: 11px;
}

.bef-file-list {
	display: grid;
	gap: 10px;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
}

.bef-file-area__empty {
	padding: 12px;
	margin: 0;
	border-radius: 10px;
	background: var(--bef-subtle);
	color: var(--bef-muted);
	font-size: 12px;
	text-align: center;
}

.bef-file-area:not(.is-empty) .bef-file-area__empty {
	display: none;
}

.bef-file {
	position: relative;
	padding: 12px;
	border: 1px solid var(--bef-border);
	border-radius: 13px;
	background: var(--bef-surface);
	box-shadow: 0 2px 8px rgb(20 33 61 / 4%);
	list-style: none !important;
}

.bef-file.has-error {
	border-color: color-mix(in srgb, var(--bef-danger) 42%, var(--bef-border));
	background: var(--bef-danger-soft);
}

.bef-file.is-locked {
	background: linear-gradient(110deg, var(--bef-surface), var(--bef-success-soft));
}

.bef-file__top {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr) auto;
	align-items: center;
	gap: 11px;
}

.bef-file__preview {
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border: 1px solid var(--bef-border);
	border-radius: 11px;
	background: var(--bef-subtle);
	color: var(--bef-accent-readable);
	overflow: hidden;
}

.bef-file__preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bef-file__extension {
	max-width: 42px;
	padding: 2px 4px;
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .04em;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bef-file__info {
	display: flex;
	min-width: 0;
	align-items: flex-start;
	flex-direction: column;
}

.bef-file__name {
	display: block;
	max-width: 100%;
	color: var(--bef-ink);
	font-size: 13px;
	font-weight: 720;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bef-file__meta {
	color: var(--bef-muted);
	font-size: 10px;
}

.bef-file__state {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 4px;
	padding: 2px 7px;
	border-radius: 999px;
	background: var(--bef-subtle);
	color: var(--bef-muted);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .025em;
	text-transform: uppercase;
}

.bef-file__state::before {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentcolor;
	content: "";
}

.bef-file__state--approved {
	background: var(--bef-success-soft);
	color: var(--bef-success);
}

.bef-file__state--rejected,
.bef-file__state--error {
	background: var(--bef-danger-soft);
	color: var(--bef-danger);
}

.bef-file__state--review {
	background: var(--bef-warning-soft);
	color: var(--bef-warning);
}

.bef-file__state--uploading::before {
	animation: bef-pulse 1s ease-in-out infinite;
}

.bef-file__actions {
	display: flex;
	align-items: center;
	gap: 5px;
}

.bef-icon-button {
	display: inline-grid !important;
	width: 34px;
	height: 34px;
	min-width: 34px !important;
	min-height: 34px !important;
	place-items: center;
	padding: 0 !important;
	border: 1px solid var(--bef-border) !important;
	border-radius: 10px !important;
	background: var(--bef-surface) !important;
	box-shadow: none !important;
	color: var(--bef-muted) !important;
	cursor: pointer;
	text-decoration: none !important;
	transition:
		border-color 140ms ease,
		background-color 140ms ease,
		color 140ms ease,
		transform 140ms ease;
}

.bef-icon-button:hover {
	border-color: var(--bef-accent-readable) !important;
	background: var(--bef-accent-soft) !important;
	color: var(--bef-accent-readable) !important;
	transform: translateY(-1px);
}

.bef-icon-button[data-action="remove"]:hover {
	border-color: color-mix(in srgb, var(--bef-danger) 35%, var(--bef-border)) !important;
	background: var(--bef-danger-soft) !important;
	color: var(--bef-danger) !important;
}

.bef-icon-button svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.bef-file__progress {
	height: 4px;
	margin: 10px 0 0 57px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--bef-accent) 11%, var(--bef-border));
	overflow: hidden;
}

.bef-file__progress-bar {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--bef-accent), color-mix(in srgb, var(--bef-accent) 65%, #7c4dff));
	transition: width 160ms linear;
}

.bef-file__note {
	display: grid;
	gap: 5px;
	margin: 10px 0 0 57px;
}

.bef-file__note label,
.bef-field > label {
	color: var(--bef-ink);
	font-size: 11px;
	font-weight: 720;
}

.bef-file__note textarea {
	min-height: 62px;
	resize: vertical;
}

.bef-file__error {
	margin: 8px 0 0 57px;
	color: var(--bef-danger);
	font-size: 11px;
	font-weight: 650;
}

.bef-uploader :where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], select, textarea) {
	width: 100%;
	min-height: 42px;
	padding: 9px 11px;
	border: 1px solid var(--bef-border);
	border-radius: 10px;
	background: var(--bef-surface);
	box-shadow: 0 1px 2px rgb(20 33 61 / 3%);
	color: var(--bef-ink);
	font-size: 13px;
	line-height: 1.45;
	transition:
		border-color 140ms ease,
		box-shadow 140ms ease;
}

.bef-uploader :where(input, select, textarea)::placeholder {
	color: #96a1b4;
	opacity: 1;
}

.bef-uploader :where(input, select, textarea):focus {
	border-color: var(--bef-accent-readable);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--bef-accent) 12%, transparent);
	outline: none;
}

.bef-uploader :where(input, select, textarea)[aria-invalid="true"],
.bef-uploader :where(input, select, textarea):user-invalid {
	border-color: var(--bef-danger);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--bef-danger) 10%, transparent);
}

.bef-uploader :where(input, select, textarea):disabled,
.bef-uploader :where(input, select, textarea)[readonly] {
	background: #f1f4f8;
	color: #667085;
	cursor: not-allowed;
}

.bef-field {
	position: relative;
	display: grid;
	align-content: start;
	gap: 6px;
	min-width: 0;
}

.bef-field--wide {
	grid-column: 1 / -1;
}

.bef-field > small {
	color: var(--bef-muted);
	font-size: 10px;
}

.bef-field__counter {
	position: absolute;
	right: 9px;
	bottom: 7px;
	padding: 1px 5px;
	border-radius: 5px;
	background: rgb(255 255 255 / 90%);
	color: var(--bef-muted);
	font-size: 9px;
	pointer-events: none;
}

.bef-optional {
	margin-left: 5px;
	color: var(--bef-muted);
	font-size: 9px;
	font-weight: 500;
}

.bef-required {
	color: var(--bef-danger);
}

.bef-color-request {
	padding: 15px;
	border: 1px solid var(--bef-border);
	border-radius: 15px;
	background: var(--bef-subtle);
	transition:
		border-color 160ms ease,
		background-color 160ms ease;
}

.bef-color-request.is-enabled {
	border-color: color-mix(in srgb, var(--bef-accent) 30%, var(--bef-border));
	background: var(--bef-accent-soft);
}

.bef-switch {
	display: flex;
	align-items: center;
	gap: 11px;
	margin: 0;
	cursor: pointer;
	user-select: none;
}

.bef-switch > input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.bef-switch__control {
	position: relative;
	width: 42px;
	height: 24px;
	flex: 0 0 42px;
	border: 1px solid #c7d0dd;
	border-radius: 999px;
	background: #dfe5ed;
	transition:
		background-color 160ms ease,
		border-color 160ms ease;
}

.bef-switch__control::after {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 5px rgb(20 33 61 / 22%);
	content: "";
	transition: transform 160ms ease;
}

.bef-switch input:checked + .bef-switch__control {
	border-color: var(--bef-accent-readable);
	background: var(--bef-accent);
}

.bef-switch input:checked + .bef-switch__control::after {
	transform: translateX(18px);
}

.bef-switch input:focus-visible + .bef-switch__control {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--bef-accent) 17%, transparent);
	outline: 1px solid var(--bef-accent);
}

.bef-switch > span:last-child {
	display: flex;
	flex-direction: column;
}

.bef-switch strong {
	color: var(--bef-ink);
	font-size: 13px;
	font-weight: 750;
}

.bef-switch small {
	color: var(--bef-muted);
	font-size: 10px;
	font-weight: 400;
}

.bef-color-request__fields {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid color-mix(in srgb, var(--bef-accent) 17%, var(--bef-border));
}

.bef-color-list {
	display: grid;
	gap: 12px;
}

.bef-color-row {
	padding: 13px;
	border: 1px solid color-mix(in srgb, var(--bef-accent) 18%, var(--bef-border));
	border-radius: 13px;
	background: color-mix(in srgb, var(--bef-surface) 92%, var(--bef-accent-soft));
	box-shadow: 0 5px 14px rgb(20 33 61 / 5%);
}

.bef-color-row__header,
.bef-color-request__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.bef-color-row__header {
	margin-bottom: 11px;
	padding-bottom: 9px;
	border-bottom: 1px solid color-mix(in srgb, var(--bef-accent) 13%, var(--bef-border));
}

.bef-color-row__header > strong {
	color: var(--bef-ink);
	font-size: 12px;
	font-weight: 800;
}

.bef-color-row__grid {
	display: grid;
	grid-template-columns: minmax(150px, 1.2fr) minmax(110px, .65fr) minmax(130px, .8fr);
	gap: 13px;
}

.bef-color-row__remove,
.bef-color-request__add {
	display: inline-flex !important;
	min-height: 32px;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 6px 10px !important;
	border: 1px solid var(--bef-border) !important;
	border-radius: 9px !important;
	background: var(--bef-surface) !important;
	box-shadow: none !important;
	color: var(--bef-muted) !important;
	cursor: pointer;
	font-size: 10px !important;
	font-weight: 750 !important;
	line-height: 1 !important;
}

.bef-color-row__remove:hover {
	border-color: color-mix(in srgb, var(--bef-danger) 40%, var(--bef-border)) !important;
	background: var(--bef-danger-soft) !important;
	color: var(--bef-danger) !important;
}

.bef-color-request__add {
	border-color: color-mix(in srgb, var(--bef-accent) 32%, var(--bef-border)) !important;
	color: var(--bef-accent-readable) !important;
}

.bef-color-request__add:hover:not(:disabled) {
	border-color: var(--bef-accent-readable) !important;
	background: var(--bef-accent-soft) !important;
}

.bef-color-row__remove:disabled,
.bef-color-request__add:disabled {
	opacity: .48;
	cursor: not-allowed;
}

.bef-color-request__footer {
	margin-top: 12px;
}

.bef-color-request__footer > span {
	color: var(--bef-muted);
	font-size: 10px;
	font-weight: 700;
}

.bef-color-control {
	display: flex;
	align-items: center;
	gap: 9px;
}

.bef-color-control input[type="color"],
.bef-color-request input[type="color"] {
	width: 52px;
	height: 42px;
	padding: 3px;
	border: 1px solid var(--bef-border);
	border-radius: 10px;
	background: var(--bef-surface);
	cursor: pointer;
}

.bef-color-control__preview {
	display: inline-block;
	width: 42px;
	height: 42px;
	border: 4px solid var(--bef-surface);
	border-radius: 11px;
	background: var(--bef-selected-color, #fff);
	box-shadow:
		0 0 0 1px var(--bef-border),
		0 3px 8px rgb(20 33 61 / 10%);
}

.bef-input-prefix {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	align-items: center;
}

.bef-input-prefix > span {
	display: grid;
	height: 42px;
	place-items: center;
	border: 1px solid var(--bef-border);
	border-right: 0;
	border-radius: 10px 0 0 10px;
	background: var(--bef-subtle);
	color: var(--bef-muted);
	font-weight: 750;
}

.bef-input-prefix > input {
	border-radius: 0 10px 10px 0 !important;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.bef-custom-fields {
	min-width: 0;
	padding: 15px;
	border: 1px solid var(--bef-border);
	border-radius: 15px;
	background: var(--bef-surface);
}

.bef-custom-fields legend {
	padding: 0 6px;
	color: var(--bef-ink);
	font-size: 12px;
	font-weight: 800;
}

.bef-custom-fields__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px;
}

.bef-choice-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bef-choice {
	display: inline-flex;
	min-height: 38px;
	align-items: center;
	gap: 7px;
	padding: 8px 10px;
	border: 1px solid var(--bef-border);
	border-radius: 10px;
	background: var(--bef-surface);
	color: var(--bef-ink);
	cursor: pointer;
	font-size: 12px;
}

.bef-choice--single {
	justify-content: flex-start;
}

.bef-choice input {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--bef-accent);
}

.bef-uploader__status {
	min-height: 0;
	margin: -3px 2px 0;
	color: var(--bef-success);
	font-size: 11px;
	font-weight: 620;
}

.bef-uploader__status:empty {
	display: none;
}

.bef-uploader__status.has-error {
	color: var(--bef-danger);
}

.bef-uploader :where(button, a, input, select, textarea):focus-visible {
	outline: 2px solid var(--bef-accent);
	outline-offset: 2px;
}

.bef-uploader--read-only .bef-uploader__panel {
	padding-top: 17px;
}

.bef-uploader--read-only .bef-file__note textarea {
	min-height: 48px;
}

.bef-uploader.is-uploading .bef-uploader__count {
	border-color: var(--bef-accent-readable);
	background: var(--bef-accent-soft);
	color: var(--bef-accent-readable);
}

.bef-cart-color {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.bef-cart-color__swatch {
	width: 14px;
	height: 14px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--bef-selected-color, transparent);
	box-shadow: 0 0 0 1px #cfd6e2;
}

.bef-checkout-uploaders,
.bef-order-uploaders,
.bef-block-uploaders {
	margin: 28px 0;
}

.bef-checkout-uploaders > h3 {
	margin: 0 0 14px;
}

.bef-order-uploaders__header,
.bef-block-uploaders__header {
	margin-bottom: 15px;
	padding: 19px 21px;
	border: 1px solid #dce3ee;
	border-radius: 17px;
	background:
		linear-gradient(125deg, rgb(31 94 255 / 8%), transparent 65%),
		#fff;
}

.bef-order-uploaders__header h2,
.bef-block-uploaders__header h3 {
	margin: 1px 0 4px;
	color: #14213d;
	font-size: clamp(19px, 2vw, 24px);
	line-height: 1.25;
}

.bef-order-uploaders__header p:last-child,
.bef-block-uploaders__header p {
	margin: 0;
	color: #65738b;
	font-size: 13px;
}

.bef-eyebrow {
	display: block;
	margin: 0 !important;
	color: #1f5eff !important;
	font-size: 10px !important;
	font-weight: 850 !important;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.bef-block-uploaders {
	width: 100%;
}

.bef-block-uploaders.wc-block-components-totals-wrapper {
	display: block;
	padding: 16px;
}

.bef-block-uploaders__header {
	margin: 0 0 12px;
	padding: 2px 2px 10px;
	border: 0;
	border-bottom: 1px solid #dce3ee;
	border-radius: 0;
	background: transparent;
}

.bef-block-uploaders__header h3 {
	font-size: 17px;
}

.bef-uploader--block {
	margin: 12px 0 0;
	box-shadow: 0 4px 18px rgb(20 33 61 / 6%);
}

.woocommerce-cart-form .bef-uploader {
	margin: 12px 0 4px;
	font-size: 13px;
}

.woocommerce-cart-form .bef-uploader__header {
	padding: 14px 14px 5px;
}

.woocommerce-cart-form .bef-uploader__panel {
	padding-right: 14px;
	padding-left: 14px;
}

.woocommerce-cart-form .bef-uploader__toggle {
	width: calc(100% - 28px);
	margin-right: 14px;
	margin-left: 14px;
}

.woocommerce-cart-form .bef-dropzone {
	min-height: 175px;
}

@keyframes bef-modal-enter {
	from {
		opacity: 0;
		transform: translateY(10px) scale(.985);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes bef-pulse {
	0%,
	100% {
		opacity: .35;
		transform: scale(.8);
	}
	50% {
		opacity: 1;
		transform: scale(1);
	}
}

@container (max-width: 520px) {
	.bef-color-row__grid,
	.bef-custom-fields__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.bef-file__top {
		grid-template-columns: 42px minmax(0, 1fr);
	}

	.bef-file__actions {
		grid-column: 1 / -1;
		flex-wrap: wrap;
		justify-content: flex-end;
		padding-top: 7px;
		border-top: 1px solid var(--bef-border);
	}

	.bef-file__progress,
	.bef-file__note,
	.bef-file__error {
		margin-left: 0;
	}
}

@container (max-width: 300px) {
	.bef-uploader__header {
		flex-wrap: wrap;
		gap: 8px;
	}

	.bef-uploader__heading {
		flex: 1 1 100%;
	}

	.bef-uploader__product {
		max-width: 100%;
	}

	.bef-uploader__count {
		margin-left: auto;
	}
}

@media (max-width: 720px) {
	.bef-modal {
		align-items: end;
		padding: 0;
	}

	.bef-modal__dialog {
		width: 100%;
		max-height: 92vh;
		max-height: 92dvh;
		border-right: 0;
		border-bottom: 0;
		border-left: 0;
		border-radius: 22px 22px 0 0;
	}

	.bef-modal__header {
		grid-template-columns: 36px minmax(0, 1fr) 36px;
		gap: 10px;
		padding: 13px 14px;
	}

	.bef-modal__icon {
		width: 36px;
		height: 36px;
		border-radius: 11px;
	}

	.bef-modal__close {
		width: 36px !important;
		height: 36px !important;
		min-width: 36px !important;
		min-height: 36px !important;
	}

	.bef-uploader {
		border-radius: 15px;
	}

	.bef-uploader__header {
		align-items: flex-start;
		padding: 17px 15px 7px;
	}

	.bef-uploader__product {
		max-width: 55vw;
	}

	.bef-uploader__toggle {
		width: calc(100% - 30px);
		margin-right: 15px;
		margin-left: 15px;
	}

	.bef-uploader__panel {
		padding-right: 15px;
		padding-left: 15px;
	}

	.bef-dropzone {
		min-height: 190px;
		padding: 23px 13px;
	}

	.bef-file__top {
		grid-template-columns: 42px minmax(0, 1fr);
	}

	.bef-file__preview {
		width: 42px;
		height: 42px;
	}

	.bef-file__actions {
		grid-column: 1 / -1;
		justify-content: flex-end;
		padding-top: 7px;
		border-top: 1px solid var(--bef-border);
	}

	.bef-file__progress,
	.bef-file__note,
	.bef-file__error {
		margin-left: 0;
	}

	.bef-color-row__grid,
	.bef-custom-fields__grid {
		grid-template-columns: 1fr;
	}

	.bef-field--wide {
		grid-column: auto;
	}
}

@media (max-width: 430px) {
	.bef-uploader-launch {
		gap: 8px;
		padding: 8px 10px !important;
	}

	.bef-uploader-launch__icon {
		width: 32px;
		height: 32px;
		flex-basis: 32px;
	}

	.bef-uploader-launch__count {
		padding: 3px 6px;
		font-size: 9px;
	}

	.bef-uploader-launch__arrow {
		display: none;
	}

	.bef-uploader__mark {
		width: 36px;
		height: 36px;
		flex-basis: 36px;
	}

	.bef-uploader__count {
		padding: 4px 7px;
		font-size: 9px;
	}

	.bef-dropzone__title {
		font-size: 14px;
	}

	.bef-switch small {
		display: none;
	}
}

@media (prefers-color-scheme: dark) {
	.bef-uploader-shell[data-color-mode="auto"],
	.bef-uploader-shell[data-color-mode="auto"] .bef-uploader {
		--bef-ink: #eef3fb;
		--bef-muted: #a6b1c3;
		--bef-border: #374256;
		--bef-surface: #171d29;
		--bef-subtle: #202838;
		--bef-success-soft: #15382d;
		--bef-danger-soft: #402129;
		--bef-warning-soft: #3c3020;
	}

	.bef-uploader-shell[data-color-mode="auto"] .bef-uploader :where(input, select, textarea)::placeholder {
		color: #8390a6;
	}

	.bef-uploader-shell[data-color-mode="auto"] .bef-uploader :where(input, select, textarea):disabled,
	.bef-uploader-shell[data-color-mode="auto"] .bef-uploader :where(input, select, textarea)[readonly] {
		background: #242d3d;
		color: #a6b1c3;
	}
}

.bef-uploader-shell[data-color-mode="custom"],
.bef-uploader-shell[data-color-mode="custom"] .bef-uploader {
	--bef-muted: color-mix(in srgb, var(--bef-ink) 66%, var(--bef-surface));
	--bef-border: color-mix(in srgb, var(--bef-ink) 18%, var(--bef-surface));
	--bef-subtle: color-mix(in srgb, var(--bef-ink) 5%, var(--bef-surface));
}

/*
 * Theme builders such as Flatsome sometimes apply form colors with !important.
 * Keep the BEF palette authoritative inside its own component so light text can
 * never disappear on a light uploader surface (or the inverse in dark mode).
 */
.bef-uploader-shell[data-bef-uploader-shell] .bef-uploader[data-bef-uploader] {
	background: var(--bef-surface) !important;
	color: var(--bef-ink) !important;
}

.bef-uploader-shell[data-bef-uploader-shell] .bef-modal__dialog {
	border-color: var(--bef-border) !important;
	background: var(--bef-surface) !important;
	color: var(--bef-ink) !important;
}

.bef-uploader-shell[data-bef-uploader-shell] .bef-modal__icon,
.bef-uploader-shell[data-bef-uploader-shell] .bef-modal__heading > p:first-child {
	color: var(--bef-accent-readable) !important;
	-webkit-text-fill-color: var(--bef-accent-readable) !important;
}

.bef-uploader-shell[data-bef-uploader-shell] .bef-modal__heading h2 {
	color: var(--bef-ink) !important;
	-webkit-text-fill-color: var(--bef-ink) !important;
}

.bef-uploader-shell[data-bef-uploader-shell] .bef-modal__heading > p:last-child {
	color: var(--bef-muted) !important;
	-webkit-text-fill-color: var(--bef-muted) !important;
}

.bef-uploader-shell[data-bef-uploader-shell] .bef-uploader[data-bef-uploader] :where(
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="url"],
	input[type="number"],
	input[type="date"],
	select,
	textarea
) {
	border-color: var(--bef-border) !important;
	background: var(--bef-surface) !important;
	color: var(--bef-ink) !important;
	-webkit-text-fill-color: var(--bef-ink) !important;
	opacity: 1;
}

.bef-uploader-shell[data-bef-uploader-shell] .bef-uploader[data-bef-uploader] :where(input, select, textarea)::placeholder {
	color: var(--bef-muted) !important;
	-webkit-text-fill-color: var(--bef-muted) !important;
	opacity: 1 !important;
}

.bef-uploader-shell[data-bef-uploader-shell] .bef-uploader[data-bef-uploader] :where(input, select, textarea):disabled,
.bef-uploader-shell[data-bef-uploader-shell] .bef-uploader[data-bef-uploader] :where(input, select, textarea)[readonly] {
	background: var(--bef-subtle) !important;
	color: var(--bef-muted) !important;
	-webkit-text-fill-color: var(--bef-muted) !important;
}

.bef-uploader-shell[data-bef-uploader-shell] .bef-uploader[data-bef-uploader] select option {
	background: var(--bef-surface);
	color: var(--bef-ink);
}

.bef-uploader-shell[data-bef-uploader-shell] .bef-uploader[data-bef-uploader] :where(
	.bef-uploader__heading strong,
	.bef-file-area__title strong,
	.bef-file__meta strong,
	.bef-file__note label,
	.bef-field > label,
	.bef-switch strong,
	.bef-custom-fields legend,
	.bef-choice
) {
	color: var(--bef-ink) !important;
	-webkit-text-fill-color: var(--bef-ink) !important;
	opacity: 1 !important;
}

.bef-uploader-shell[data-bef-uploader-shell] .bef-uploader[data-bef-uploader] :where(
	.bef-uploader__product,
	.bef-dropzone__help,
	.bef-dropzone__separator,
	.bef-field > small,
	.bef-switch small,
	.bef-file__meta,
	.bef-file-area__empty
) {
	color: var(--bef-muted) !important;
	-webkit-text-fill-color: var(--bef-muted) !important;
	opacity: 1 !important;
}

.bef-uploader-shell[data-bef-uploader-shell] .bef-uploader[data-bef-uploader] .bef-uploader__toggle {
	background: var(--bef-accent) !important;
	color: var(--bef-button-foreground, #fff) !important;
	-webkit-text-fill-color: var(--bef-button-foreground, #fff) !important;
	border: 1px solid var(--bef-accent-boundary) !important;
}

.bef-uploader-shell[data-bef-uploader-shell] .bef-uploader[data-bef-uploader] :where(
	.bef-uploader__mark,
	.bef-dropzone__icon,
	.bef-file__preview
) {
	color: var(--bef-accent-readable) !important;
	-webkit-text-fill-color: var(--bef-accent-readable) !important;
}

.bef-uploader-shell[data-bef-uploader-shell] .bef-uploader[data-bef-uploader] .bef-button--soft {
	border-color: var(--bef-accent-readable) !important;
	background: var(--bef-surface) !important;
	color: var(--bef-accent-readable) !important;
	-webkit-text-fill-color: var(--bef-accent-readable) !important;
}

@media (prefers-reduced-motion: reduce) {
	.bef-modal__dialog,
	.bef-uploader-launch,
	.bef-uploader *,
	.bef-uploader *::before,
	.bef-uploader *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}

@media (forced-colors: active) {
	.bef-uploader-launch,
	.bef-modal__dialog,
	.bef-modal__close,
	.bef-uploader,
	.bef-dropzone,
	.bef-file,
	.bef-color-request,
	.bef-color-row,
	.bef-color-row__remove,
	.bef-color-request__add,
	.bef-custom-fields {
		border: 1px solid CanvasText;
	}

	.bef-uploader__toggle,
	.bef-uploader-launch,
	.bef-switch input:checked + .bef-switch__control {
		background: Highlight;
		color: HighlightText;
	}

	.bef-dropzone:focus-visible,
	.bef-uploader-launch:focus-visible,
	.bef-modal__close:focus-visible,
	.bef-uploader :where(button, a, input, select, textarea):focus-visible {
		outline: 2px solid Highlight;
	}
}
