.reach-b2b-application {
	--reach-ink: #1b2a38;
	--reach-blue: #3a5a73;
	--reach-gold: #e2a63c;
	--reach-gold-hover: #ca8d27;
	--reach-green: #4c7a5d;
	--reach-muted: #506978;
	--reach-border: #dcddd9;
	--reach-bg: #f6f5f2;
	--reach-error: #a94442;
	color: var(--reach-ink);
	font-size: 16px;
	line-height: 1.55;
	max-width: 980px;
	margin: 0 auto;
	scroll-margin-top: 120px;
}

.reach-b2b-application *,
.reach-b2b-application *::before,
.reach-b2b-application *::after {
	box-sizing: border-box;
}

.reach-b2b-application--embedded {
	margin: 0;
	max-width: none;
}

.reach-b2b-application--embedded .reach-b2b-form {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
}

.reach-b2b-application--embedded .reach-b2b-form > fieldset:first-of-type > legend,
.reach-b2b-application--embedded .reach-b2b-form > fieldset:first-of-type > .reach-b2b-help--section {
	display: none;
}

.reach-b2b-application__intro {
	margin-bottom: 28px;
}

.reach-b2b-application__intro h2 {
	color: var(--reach-ink);
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.15;
	margin: 0 0 12px;
}

.reach-b2b-application__intro p {
	color: var(--reach-muted);
	max-width: 760px;
	margin: 0 0 8px;
}

.reach-b2b-document-safety {
	margin-bottom: 24px;
}

.reach-b2b-document-safety p {
	margin: 5px 0 0;
}

.reach-b2b-document-safety a,
.reach-b2b-error-summary a {
	color: var(--reach-blue);
	font-weight: 700;
}

.reach-b2b-form {
	background: #fff;
	border: 1px solid var(--reach-border);
	border-radius: 14px;
	box-shadow: 0 12px 36px rgba(27, 42, 56, 0.07);
	padding: clamp(20px, 4vw, 40px);
}

.reach-b2b-form fieldset {
	border: 0;
	border-bottom: 1px solid var(--reach-border);
	margin: 0 0 30px;
	padding: 0 0 30px;
}

.reach-b2b-form legend {
	color: var(--reach-ink);
	font-size: 21px;
	font-weight: 700;
	margin-bottom: 18px;
	padding: 0;
}

.reach-b2b-grid {
	display: grid;
	gap: 18px 22px;
}

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

.reach-b2b-grid__full {
	grid-column: 1 / -1;
}

.reach-b2b-grid--spaced {
	margin-top: 22px;
}

.reach-b2b-help--section {
	margin: -8px 0 20px;
}

.reach-b2b-field label {
	display: block;
	font-weight: 650;
	margin-bottom: 7px;
}

.reach-b2b-required {
	color: var(--reach-error) !important;
}

.reach-b2b-field input:not([type="checkbox"]):not([type="radio"]),
.reach-b2b-field select,
.reach-b2b-field textarea,
.reach-b2b-custom-fields input:not([type="checkbox"]):not([type="radio"]),
.reach-b2b-custom-fields select,
.reach-b2b-custom-fields textarea {
	appearance: none;
	background: #fff;
	border: 1px solid #b9c0c5;
	border-radius: 8px;
	color: var(--reach-ink);
	font: inherit;
	min-height: 48px;
	padding: 10px 13px;
	width: 100%;
}

.reach-b2b-field textarea,
.reach-b2b-custom-fields textarea {
	min-height: 132px;
	resize: vertical;
}

.reach-b2b-field select {
	background-image: linear-gradient(45deg, transparent 50%, var(--reach-blue) 50%), linear-gradient(135deg, var(--reach-blue) 50%, transparent 50%);
	background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px;
	background-repeat: no-repeat;
	background-size: 5px 5px, 5px 5px;
	padding-right: 34px;
}

.reach-b2b-field input:not([type="checkbox"]):not([type="radio"]):focus,
.reach-b2b-field select:focus,
.reach-b2b-field textarea:focus,
.reach-b2b-custom-fields input:not([type="checkbox"]):not([type="radio"]):focus,
.reach-b2b-custom-fields select:focus,
.reach-b2b-custom-fields textarea:focus {
	border-color: var(--reach-blue);
	box-shadow: 0 0 0 3px rgba(58, 90, 115, 0.18);
	outline: 0;
}

.reach-b2b-field--error input:not([type="checkbox"]):not([type="radio"]),
.reach-b2b-field--error select,
.reach-b2b-field--error textarea,
.reach-b2b-custom-fields .reach-b2b-field--error input:not([type="checkbox"]):not([type="radio"]),
.reach-b2b-custom-fields .reach-b2b-field--error select,
.reach-b2b-custom-fields .reach-b2b-field--error textarea,
.reach-b2b-field--error [aria-invalid="true"]:not([type="checkbox"]):not([type="radio"]) {
	border-color: var(--reach-error) !important;
}

.reach-b2b-field-error {
	color: var(--reach-error) !important;
	display: block;
	font-size: 14px !important;
	font-weight: 700;
	margin-top: 7px !important;
}

.reach-b2b-field input:not([type="checkbox"]):not([type="radio"]):disabled {
	background: var(--reach-bg);
	color: var(--reach-muted);
}

.reach-b2b-field small,
.reach-b2b-help,
.reach-b2b-submit-note {
	color: var(--reach-muted);
	display: block;
	font-size: 13px;
	margin-top: 6px;
}

.reach-b2b-check-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reach-b2b-check-grid label,
.reach-b2b-consent,
.reach-b2b-custom-checkbox {
	align-items: flex-start !important;
	cursor: pointer;
	display: flex !important;
	gap: 10px !important;
	justify-content: flex-start !important;
	min-width: 0;
	width: 100%;
}

/* Breakdance and page-builder form rules often force every input to width:100%.
 * These high-specificity rules keep checkbox controls compact and their labels readable. */
#reach-trade-application-form .reach-b2b-check-grid input[type="checkbox"],
#reach-trade-application-form .reach-b2b-consent input[type="checkbox"],
#reach-trade-application-form .reach-b2b-custom-checkbox input[type="checkbox"] {
	-webkit-appearance: auto !important;
	appearance: auto !important;
	accent-color: var(--reach-blue);
	background: initial !important;
	box-shadow: none !important;
	flex: 0 0 19px !important;
	height: 19px !important;
	min-height: 19px !important;
	max-height: 19px !important;
	margin: 3px 0 0 !important;
	min-width: 19px !important;
	max-width: 19px !important;
	padding: 0 !important;
	width: 19px !important;
}

#reach-trade-application-form .reach-b2b-check-grid label > span,
#reach-trade-application-form .reach-b2b-consent > span,
#reach-trade-application-form .reach-b2b-custom-checkbox > span {
	color: var(--reach-ink) !important;
	display: block;
	flex: 1 1 auto;
	min-width: 0;
}

#reach-trade-application-form input[type="checkbox"][aria-invalid="true"] {
	outline: 2px solid var(--reach-error);
	outline-offset: 2px;
}

.reach-b2b-consent + .reach-b2b-consent {
	margin-top: 16px;
}

.reach-b2b-consent--error {
	border-left: 3px solid var(--reach-error);
	padding-left: 12px;
}

.reach-b2b-consent a {
	color: var(--reach-blue);
	font-weight: 650;
}

.reach-b2b-submit {
	align-items: center;
	background: var(--reach-gold);
	border: 0;
	border-radius: 8px;
	color: var(--reach-ink);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 750;
	gap: 10px;
	justify-content: center;
	min-height: 50px;
	min-width: min(100%, 320px);
	padding: 12px 22px;
	position: relative;
	transition: background-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.reach-b2b-submit:hover,
.reach-b2b-submit:focus {
	background: var(--reach-gold-hover);
}

.reach-b2b-submit:not(:disabled):hover {
	transform: translateY(-1px);
}

.reach-b2b-submit:focus-visible {
	box-shadow: 0 0 0 4px rgba(226, 166, 60, 0.3);
	outline: 2px solid var(--reach-ink);
	outline-offset: 2px;
}

.reach-b2b-submit:disabled {
	cursor: wait;
	opacity: 0.88;
}

.reach-b2b-submit__spinner {
	border: 2px solid rgba(27, 42, 56, 0.28);
	border-radius: 999px;
	border-top-color: var(--reach-ink);
	display: none;
	flex: 0 0 18px;
	height: 18px;
	width: 18px;
}

.reach-b2b-submit.is-loading .reach-b2b-submit__spinner {
	animation: reach-b2b-submit-spin 700ms linear infinite;
	display: inline-block;
}

.reach-b2b-submit-status {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

@keyframes reach-b2b-submit-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.reach-b2b-submit {
		transition: none;
	}

	.reach-b2b-submit.is-loading .reach-b2b-submit__spinner {
		animation-duration: 1400ms;
	}
}

.reach-b2b-notice {
	background: #fff;
	border: 1px solid var(--reach-border, #dcddd9);
	border-left: 4px solid var(--reach-blue, #3a5a73);
	border-radius: 6px;
	margin: 0 0 22px;
	padding: 16px 18px;
}

.reach-b2b-notice h3,
.reach-b2b-notice p:last-child,
.reach-b2b-notice ul:last-child {
	margin-bottom: 0;
}

.reach-b2b-notice--success {
	border-left-color: var(--reach-green, #4c7a5d);
}

.reach-b2b-notice--error {
	border-left-color: var(--reach-error, #a94442);
}

.reach-b2b-error-summary:focus {
	box-shadow: 0 0 0 3px rgba(169, 68, 66, 0.2);
	outline: 0;
}

[data-reach-country][hidden] {
	display: none !important;
}

.reach-b2b-notice--info {
	background: #f5f8fa;
}

.reach-b2b-honeypot {
	left: -10000px !important;
	position: absolute !important;
	top: auto !important;
}

.reach-b2b-price-table-wrap {
	margin: 22px 0;
}

.reach-b2b-price-table-wrap h3 {
	color: var(--reach-ink, #1b2a38);
	font-size: 18px;
	margin: 0 0 10px;
}

.reach-b2b-price-table {
	border: 1px solid var(--reach-border, #dcddd9);
	border-collapse: separate;
	border-radius: 8px;
	border-spacing: 0;
	overflow: hidden;
	width: 100%;
}

.reach-b2b-price-table th,
.reach-b2b-price-table td {
	border: 0;
	border-bottom: 1px solid var(--reach-border, #dcddd9);
	padding: 10px 12px;
	text-align: left;
}

.reach-b2b-price-table th {
	background: var(--reach-bg, #f6f5f2);
	color: var(--reach-ink, #1b2a38);
	font-weight: 700;
}

.reach-b2b-price-table tr:last-child td {
	border-bottom: 0;
}

.reach-b2b-account-quick-order {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 28px;
	align-items: center;
	margin: 24px 0;
	border: 1px solid #d8e1e7;
	border-left: 5px solid var(--reach-gold, #e2a63c);
	border-radius: 12px;
	background: #f7fafc;
	padding: 24px;
}

.reach-b2b-account-quick-order__content > span {
	display: block;
	margin-bottom: 5px;
	color: #94630f;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.reach-b2b-account-quick-order h2 {
	margin: 0 0 7px;
	color: var(--reach-ink, #1b2a38);
	font-size: 24px;
	line-height: 1.2;
}

.reach-b2b-account-quick-order p {
	max-width: 650px;
	margin: 0;
	color: var(--reach-muted, #506978);
	line-height: 1.55;
}

#reach-b2b-account-quick-order .reach-b2b-account-quick-order__form {
	margin: 0 !important;
	padding: 0 !important;
}

#reach-b2b-account-quick-order .reach-b2b-account-quick-order__button {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	border: 1px solid #1b2a38 !important;
	border-radius: 8px;
	background: #1b2a38 !important;
	background-image: none !important;
	padding: 11px 18px;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	font-family: inherit !important;
	font-size: inherit !important;
	font-weight: 800;
	line-height: 1.2 !important;
	text-transform: none !important;
	text-decoration: none !important;
	box-shadow: 0 7px 18px rgba(27, 42, 56, 0.16);
	cursor: pointer !important;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

#reach-b2b-account-quick-order .reach-b2b-account-quick-order__button span {
	color: inherit !important;
	-webkit-text-fill-color: inherit !important;
	background: none !important;
	border: 0 !important;
	text-decoration: none !important;
}

#reach-b2b-account-quick-order .reach-b2b-account-quick-order__button:hover,
#reach-b2b-account-quick-order .reach-b2b-account-quick-order__button:focus {
	border-color: #ca8d27 !important;
	background: #e2a63c !important;
	background-image: none !important;
	color: #172532 !important;
	-webkit-text-fill-color: #172532 !important;
	text-decoration: none !important;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(202, 141, 39, 0.25);
}

#reach-b2b-account-quick-order .reach-b2b-account-quick-order__button:focus-visible {
	outline: 3px solid rgba(226, 166, 60, 0.45);
	outline-offset: 3px;
}

@media (max-width: 700px) {
	.reach-b2b-grid--2,
	.reach-b2b-check-grid {
		grid-template-columns: 1fr;
	}

	.reach-b2b-grid__full {
		grid-column: auto;
	}

	.reach-b2b-submit {
		width: 100%;
	}

	.reach-b2b-account-quick-order {
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 20px;
	}

	#reach-b2b-account-quick-order .reach-b2b-account-quick-order__form,
	#reach-b2b-account-quick-order .reach-b2b-account-quick-order__button {
		width: 100%;
	}
}
