/**
 * Project request form page only.
 */

.bne-main--project-request {
	padding-block: 0;
	min-height: 0;
}

.bne-is-project-request {
	scroll-padding-top: calc(var(--bne-header-height) + var(--bne-space-md));
}

.admin-bar.bne-is-project-request {
	scroll-padding-top: calc(var(--bne-header-height) + var(--wp-admin--admin-bar--height, 32px) + var(--bne-space-md));
}

.bne-pr-kicker {
	margin: 0 0 var(--bne-space-sm);
	font-family: var(--bne-font-mono);
	font-size: var(--bne-size-utility);
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bne-color-text-muted);
}

.bne-pr-kicker--on-dark {
	color: var(--bne-color-text-muted-on-dark);
}

.bne-pr .bne-breadcrumb {
	background: var(--bne-color-surface-dark);
}

.bne-pr .bne-breadcrumb__link,
.bne-pr .bne-breadcrumb__current,
.bne-pr-fallback .bne-breadcrumb__link,
.bne-pr-fallback .bne-breadcrumb__current,
.bne-pr-success .bne-breadcrumb__link,
.bne-pr-success .bne-breadcrumb__current {
	min-height: var(--bne-touch);
	display: inline-flex;
	align-items: center;
}

.bne-pr-fallback .bne-breadcrumb,
.bne-pr-success .bne-breadcrumb {
	background: var(--bne-color-surface);
}

.bne-pr__layout {
	display: grid;
	gap: 0;
}

@media (min-width: 1024px) {
	.bne-pr__layout {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		align-items: start;
	}

	.bne-pr-rail {
		grid-column: 1 / span 4;
	}

	.bne-pr-stage {
		grid-column: 5 / span 8;
	}
}

.bne-pr-rail {
	position: relative;
	background: var(--bne-color-surface-dark);
	color: var(--bne-color-text-on-dark);
	padding: var(--bne-section-sm) var(--bne-space-lg) var(--bne-section-md);
}

.bne-pr-rail::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 100%;
	width: 100vw;
	background: var(--bne-color-surface-dark);
	pointer-events: none;
}

.bne-pr-rail__inner {
	max-width: 22rem;
}

@media (min-width: 1024px) {
	.bne-pr-rail {
		position: sticky;
		top: var(--bne-header-height);
		min-height: calc(100vh - var(--bne-header-height));
		padding-inline: 0 0;
	}

	.admin-bar .bne-pr-rail {
		top: calc(var(--bne-header-height) + var(--wp-admin--admin-bar--height, 32px));
		min-height: calc(100vh - var(--bne-header-height) - var(--wp-admin--admin-bar--height, 32px));
	}

	.bne-pr-rail__inner {
		padding-right: var(--bne-space-xl);
	}
}

.bne-pr-rail__title {
	margin: 0 0 var(--bne-space-md);
	font-family: var(--bne-font-display);
	font-size: clamp(1.85rem, 3.2vw, 2.75rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
	max-width: 100%;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}

.bne-pr-rail__lead,
.bne-pr-rail__support {
	margin: 0 0 var(--bne-space-md);
	color: var(--bne-color-text-muted-on-dark);
	max-width: 36rem;
}

.bne-pr-rail__alt {
	margin: var(--bne-space-xl) 0 var(--bne-space-sm);
	font-size: var(--bne-size-body);
}

.bne-pr-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--bne-space-sm);
}

.bne-pr-contact__link {
	color: var(--bne-color-text-on-dark);
	min-height: var(--bne-touch);
	display: inline-flex;
	align-items: center;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.bne-pr-devnote {
	margin: var(--bne-space-xl) 0 0;
	font-family: var(--bne-font-mono);
	font-size: var(--bne-size-utility);
	color: var(--bne-color-text-muted-on-dark);
}

.bne-pr-stage {
	background: var(--bne-color-surface);
	padding: var(--bne-section-sm) 0 var(--bne-section-md);
}

.bne-pr-form {
	position: relative;
	max-width: 40rem;
}

@media (min-width: 1024px) {
	.bne-pr-stage {
		padding-left: var(--bne-space-2xl);
		padding-block: var(--bne-section-md) var(--bne-section-lg);
	}
}

.bne-pr-set {
	border: 0;
	border-top: 2px solid var(--bne-color-primary);
	margin: 0 0 var(--bne-space-2xl);
	padding: var(--bne-space-lg) 0 0;
	min-width: 0;
}

.bne-pr-legend {
	font-family: var(--bne-font-display);
	font-size: var(--bne-size-h3);
	padding: 0;
	float: none;
	width: 100%;
	margin-bottom: var(--bne-space-lg);
}

.bne-pr-step {
	font-family: var(--bne-font-mono);
	font-size: var(--bne-size-utility);
	letter-spacing: 0.08em;
	color: var(--bne-color-text-muted);
	margin-right: var(--bne-space-sm);
}

.bne-pr-form .bne-select,
.bne-pr-form .bne-input,
.bne-pr-form .bne-textarea,
.bne-pr-form .bne-button {
	min-height: var(--bne-touch);
}

.bne-pr-submit {
	width: 100%;
	justify-content: center;
}

@media (min-width: 768px) {
	.bne-pr-submit {
		width: auto;
	}
}

.bne-pr-note {
	margin: var(--bne-space-sm) 0 0;
	color: var(--bne-color-text-muted);
	font-size: var(--bne-size-body-sm);
}

.bne-field--check {
	display: grid;
	grid-template-columns: var(--bne-touch) minmax(0, 1fr);
	column-gap: var(--bne-space-sm);
	align-items: center;
}

.bne-field--check input[type="checkbox"] {
	width: var(--bne-touch);
	height: var(--bne-touch);
	margin: 0;
}

.bne-field--check .bne-label {
	padding-top: 0;
	line-height: 1.45;
}

.bne-field--check-copy .bne-helper {
	margin: 0.25rem 0 0;
}

.bne-field--check .bne-error {
	grid-column: 1 / -1;
}

.bne-pr-consent-link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.bne-pr-consent-link:hover,
.bne-pr-consent-link:focus-visible {
	color: var(--bne-color-primary);
}

.bne-pr-hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bne-pr-summary {
	border: 2px solid var(--bne-color-error);
	padding: var(--bne-space-md);
	margin: 0 0 var(--bne-space-xl);
}

.bne-pr-summary__title {
	margin: 0 0 var(--bne-space-sm);
	font-weight: 700;
	color: var(--bne-color-error);
}

.bne-pr-summary a {
	color: var(--bne-color-error);
	min-height: var(--bne-touch);
	display: inline-flex;
	align-items: center;
}

.bne-pr-form .bne-button.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

.bne-pr-success,
.bne-pr-fallback {
	padding: var(--bne-section-sm) 0 var(--bne-section-md);
}

.bne-pr-success__inner,
.bne-pr-fallback__inner {
	max-width: 40rem;
}

.bne-pr-success__title,
.bne-pr-fallback__title {
	margin: 0 0 var(--bne-space-md);
}

.bne-pr-success__text,
.bne-pr-fallback__text {
	margin: 0 0 var(--bne-space-lg);
	max-width: 40rem;
}

.bne-pr-success__ref {
	margin: 0 0 var(--bne-space-xl);
	font-family: var(--bne-font-mono);
}

.bne-pr-success__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bne-space-md);
}

.bne-pr-fallback .bne-pr-contact__link {
	color: var(--bne-color-text);
}

@media (prefers-reduced-motion: reduce) {
	.bne-pr-form .bne-button {
		transition: none;
	}
}
