.b2b-form-intro {
	margin-top: 0;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.b2b-form-feedback {
	margin-bottom: 1rem;
	padding: 0.9rem 1rem;
	border: 1px solid currentColor;
	border-radius: 0.75rem;
}

.b2b-form-feedback--error {
	background: #fff4f2;
	color: #8a241c;
}

.b2b-inquiry-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.b2b-field small {
	display: block;
	margin-top: 0.45rem;
	color: var(--wp--preset--color--muted);
}

.b2b-file-upload {
	display: flex;
	min-height: 3rem;
	align-items: center;
	gap: 0.8rem;
	padding: 0.45rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 0.55rem;
	background: var(--wp--preset--color--paper);
}

.b2b-file-upload__input {
	position: absolute;
	width: 1px !important;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.b2b-file-upload__button {
	margin: 0 !important;
	padding: 0.55rem 0.85rem;
	border-radius: 0.4rem;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--paper);
	cursor: pointer;
	font-size: 0.9rem !important;
}

.b2b-file-upload__name {
	min-width: 0;
	flex: 1;
	overflow-wrap: anywhere;
	color: var(--wp--preset--color--muted);
	font-size: 0.9rem;
}

.b2b-file-upload__remove {
	padding: 0.35rem 0.45rem;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--forest);
	cursor: pointer;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.b2b-file-upload--error {
	border-color: #8a241c;
	background: #fff4f2;
}

.b2b-file-upload__error {
	display: block;
	margin-top: 0.45rem;
	color: #8a241c;
	font-size: 0.86rem;
	font-weight: 700;
}

.b2b-file-upload__error[hidden],
.b2b-file-upload__remove[hidden] {
	display: none;
}

.b2b-file-upload__input:focus-visible + .b2b-file-upload__button {
	outline: 3px solid var(--wp--preset--color--forest);
	outline-offset: 2px;
}

.b2b-field input:focus-visible,
.b2b-field textarea:focus-visible,
.b2b-submit:focus-visible {
	outline: 3px solid var(--wp--preset--color--forest);
	outline-offset: 2px;
}

.b2b-submit:hover {
	filter: brightness(1.12);
}
