/**
 * BRAIN++ RSVP - guest-facing page.
 *
 * Everything is scoped to .bpr so the card looks the same whatever the theme
 * around it does. Colours follow the printed invitation: deep navy, circuit
 * traces, a blue-to-cyan accent and a green glow.
 */

.bpr {
	--bpr-navy-900: #03091a;
	--bpr-navy-800: #061428;
	--bpr-navy-700: #0a2142;
	--bpr-blue: #1668e3;
	--bpr-cyan: #38b6ff;
	--bpr-teal: #24d69a;
	--bpr-text: #eef4ff;
	--bpr-muted: #9fb3d1;
	--bpr-line: rgba(255, 255, 255, 0.12);
	--bpr-surface: rgba(255, 255, 255, 0.05);

	position: relative;
	isolation: isolate;
	overflow: hidden;
	box-sizing: border-box;
	max-width: 840px;
	margin: 0 auto;
	padding: clamp(24px, 5vw, 56px);
	border-radius: 22px;
	background:
		radial-gradient(120% 80% at 80% -10%, rgba(22, 104, 227, 0.35), transparent 60%),
		radial-gradient(90% 70% at 10% 110%, rgba(36, 214, 154, 0.16), transparent 60%),
		linear-gradient(160deg, #061a35 0%, #04101f 55%, #030a18 100%);
	box-shadow: 0 30px 80px rgba(3, 9, 26, 0.45);
	color: var(--bpr-text);
	font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.bpr *,
.bpr *::before,
.bpr *::after {
	box-sizing: border-box;
}

/* Opt-in full-width hero: [brainpp_rsvp full="1"] */
.bpr.bpr-full {
	max-width: none;
	width: 100%;
	border-radius: 0;
}

.bpr h2,
.bpr h3,
.bpr p {
	margin: 0 0 14px;
	color: inherit;
}

.bpr a {
	color: #8fc9ff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bpr a:hover,
.bpr a:focus {
	color: #c7e5ff;
}

.bpr :focus-visible {
	outline: 2px solid var(--bpr-cyan);
	outline-offset: 3px;
}

.bpr-inner {
	position: relative;
	z-index: 1;
}

/* --------------------------------------------------------------------- */
/* Backdrop: circuit traces and glows                                     */
/* --------------------------------------------------------------------- */

.bpr-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.bpr-traces {
	position: absolute;
	inset: -10%;
	background-image:
		repeating-linear-gradient(90deg, rgba(120, 190, 255, 0.10) 0 1px, transparent 1px 78px),
		repeating-linear-gradient(0deg, rgba(120, 190, 255, 0.05) 0 1px, transparent 1px 78px);
	-webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 10%, transparent 75%);
	mask-image: radial-gradient(120% 90% at 70% 0%, #000 10%, transparent 75%);
	opacity: 0.9;
}

.bpr-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	opacity: 0.55;
	will-change: transform;
}

.bpr-orb-a {
	top: -70px;
	right: 8%;
	width: 260px;
	height: 260px;
	background: #1c7fe8;
	animation: bpr-float 18s ease-in-out infinite;
}

.bpr-orb-b {
	top: 38%;
	right: 26%;
	width: 180px;
	height: 180px;
	background: #24d69a;
	opacity: 0.32;
	animation: bpr-float 22s ease-in-out infinite reverse;
}

.bpr-orb-c {
	bottom: -80px;
	left: -40px;
	width: 300px;
	height: 300px;
	background: #0f3f96;
	opacity: 0.45;
	animation: bpr-float 26s ease-in-out infinite;
}

@keyframes bpr-float {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
	}

	50% {
		transform: translate3d(0, -22px, 0);
	}
}

@keyframes bpr-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.bpr-inner > * {
	animation: bpr-rise 0.55s cubic-bezier(0.22, 0.9, 0.3, 1) both;
}

.bpr-inner > *:nth-child(2) {
	animation-delay: 0.06s;
}

.bpr-inner > *:nth-child(3) {
	animation-delay: 0.12s;
}

.bpr-inner > *:nth-child(4) {
	animation-delay: 0.18s;
}

.bpr-inner > *:nth-child(5) {
	animation-delay: 0.24s;
}

/* --------------------------------------------------------------------- */
/* Header: wordmark and language                                          */
/* --------------------------------------------------------------------- */

.bpr-head {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: clamp(24px, 5vw, 40px);
}

.bpr-logo {
	display: block;
	width: auto;
	max-width: 200px;
	height: 46px;
	object-fit: contain;
}

/* Typographic stand-in for the logo, shaped like the invitation's badge. */
.bpr-wordmark {
	display: inline-flex;
	flex-direction: column;
	padding: 9px 20px 7px;
	background: #fff;
	border-radius: 3px;
	transform: skewX(-10deg);
	box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}

.bpr-wordmark-top,
.bpr-wordmark-sub {
	transform: skewX(10deg);
}

.bpr-wordmark-top {
	color: #04142e;
	font-size: 21px;
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1;
}

.bpr-wordmark-top i {
	color: var(--bpr-blue);
	font-style: normal;
}

.bpr-wordmark-sub {
	margin-top: 3px;
	color: var(--bpr-blue);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.24em;
	line-height: 1;
}

.bpr-langs {
	display: inline-flex;
	padding: 3px;
	border: 1px solid var(--bpr-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
}

.bpr-langs-item {
	padding: 6px 14px;
	border-radius: 999px;
	color: var(--bpr-muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
}

.bpr-langs-item:hover {
	color: var(--bpr-text);
}

.bpr-langs-item.is-active {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

/* --------------------------------------------------------------------- */
/* Hero                                                                   */
/* --------------------------------------------------------------------- */

.bpr-kicker {
	margin-bottom: 10px;
	color: #7fd8ff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
	.bpr-kicker {
		background-image: linear-gradient(90deg, #38b6ff, #24d69a);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
	}
}

.bpr-title {
	margin-bottom: 12px;
	font-size: clamp(30px, 6vw, 52px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.05;
	text-wrap: balance;
}

.bpr-tagline {
	max-width: 46ch;
	color: var(--bpr-muted);
	font-size: clamp(15px, 2.2vw, 18px);
}

/* --------------------------------------------------------------------- */
/* When and where                                                         */
/* --------------------------------------------------------------------- */

.bpr-meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
	margin: clamp(22px, 4vw, 32px) 0 0;
}

.bpr-meta-item {
	display: flex;
	gap: 14px;
	padding: 18px;
	border: 1px solid var(--bpr-line);
	border-radius: 16px;
	background: var(--bpr-surface);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.bpr-icon {
	flex: none;
	width: 26px;
	height: 26px;
	margin-top: 2px;
	color: var(--bpr-cyan);
}

.bpr-icon-sm {
	flex: none;
	width: 19px;
	height: 19px;
}

.bpr-meta-label {
	display: block;
	color: var(--bpr-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.bpr-meta-value {
	display: block;
	margin-top: 3px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.bpr-meta-sub {
	display: block;
	margin-top: 3px;
	color: var(--bpr-muted);
	font-size: 14px;
}

.bpr-map {
	white-space: nowrap;
	font-size: 13px;
}

/* --------------------------------------------------------------------- */
/* Panels                                                                 */
/* --------------------------------------------------------------------- */

.bpr-panel {
	margin-top: clamp(22px, 4vw, 30px);
	padding: clamp(20px, 4vw, 32px);
	border: 1px solid var(--bpr-line);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.04);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.bpr-panel-yes {
	border-color: rgba(36, 214, 154, 0.35);
	background:
		radial-gradient(90% 120% at 0% 0%, rgba(36, 214, 154, 0.12), transparent 60%),
		rgba(255, 255, 255, 0.04);
}

.bpr-eyebrow {
	margin-bottom: 6px;
	color: var(--bpr-teal);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.bpr-greeting {
	margin-bottom: 10px;
	font-size: clamp(20px, 3.4vw, 26px);
	font-weight: 700;
	line-height: 1.25;
}

.bpr-lead {
	color: #d7e3f7;
}

.bpr-answered {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 10px;
	font-size: 18px;
	font-weight: 700;
}

.bpr-answered-confirmed {
	color: #5ce6b4;
}

.bpr-answered-declined {
	color: var(--bpr-muted);
}

.bpr-answered-waitlist {
	color: #ffd28a;
}

.bpr-alert {
	color: #ffd28a;
	font-weight: 600;
}

.bpr-chip {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	margin-bottom: 18px;
	padding: 7px 15px;
	border: 1px solid rgba(56, 182, 255, 0.28);
	border-radius: 999px;
	background: rgba(56, 182, 255, 0.12);
	color: #bfe3ff;
	font-size: 14px;
	font-weight: 600;
}

.bpr-chip.is-urgent {
	border-color: rgba(255, 190, 90, 0.35);
	background: rgba(255, 190, 90, 0.14);
	color: #ffd9a1;
}

.bpr-question {
	margin: 4px 0 16px;
	font-size: 19px;
	font-weight: 700;
}

/* --------------------------------------------------------------------- */
/* Form                                                                   */
/* --------------------------------------------------------------------- */

.bpr-fields {
	display: grid;
	gap: 14px;
}

.bpr-field {
	margin: 0;
}

.bpr-field label {
	display: block;
	margin-bottom: 6px;
	color: var(--bpr-muted);
	font-size: 14px;
}

.bpr-field input[type="text"],
.bpr-field input[type="email"] {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var(--bpr-line);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--bpr-text);
	font-family: inherit;
	/* 16px keeps iOS from zooming when the field is focused. */
	font-size: 16px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bpr-field input[type="text"]::placeholder,
.bpr-field input[type="email"]::placeholder {
	color: rgba(159, 179, 209, 0.7);
}

.bpr-field input[type="text"]:focus,
.bpr-field input[type="email"]:focus {
	border-color: var(--bpr-cyan);
	background: rgba(255, 255, 255, 0.09);
	box-shadow: 0 0 0 4px rgba(56, 182, 255, 0.18);
	outline: none;
}

.bpr-check {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 13px 15px;
	border: 1px solid var(--bpr-line);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
	cursor: pointer;
	font-size: 15px;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.bpr-check:hover {
	border-color: rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.06);
}

.bpr-check input[type="checkbox"] {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 0;
	-webkit-appearance: none;
	appearance: none;
	border: 1.5px solid rgba(255, 255, 255, 0.32);
	border-radius: 6px;
	background-color: rgba(255, 255, 255, 0.06);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 15px;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.bpr-check input[type="checkbox"]:checked {
	border-color: var(--bpr-cyan);
	background-color: var(--bpr-blue);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4 10-10'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------- */
/* Buttons                                                                */
/* --------------------------------------------------------------------- */

.bpr-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 26px;
}

/* Buttons are styled with the wrapper class in front on purpose. Themes style
   every button themselves (Hello Elementor makes them crimson, with a crimson
   fill on hover, and forbids the label from wrapping); these rules must win
   over that, and over this sheet's own link colours for a button that is a link. */
.bpr .bpr-btn {
	display: inline-flex;
	flex: 1 1 220px;
	gap: 10px;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	max-width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 14px 24px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: normal;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	/* A long label goes onto a second line instead of out of the card. */
	white-space: normal;
	overflow-wrap: anywhere;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.bpr .bpr-btn.bpr-btn-yes,
.bpr .bpr-btn.bpr-btn-yes:hover,
.bpr .bpr-btn.bpr-btn-yes:focus {
	border-color: transparent;
	background-color: #1668e3;
	background-image: linear-gradient(135deg, #1668e3 0%, #38b6ff 100%);
	color: #ffffff;
	text-decoration: none;
}

.bpr .bpr-btn.bpr-btn-yes {
	box-shadow: 0 12px 30px rgba(22, 104, 227, 0.38);
}

.bpr .bpr-btn.bpr-btn-yes:hover,
.bpr .bpr-btn.bpr-btn-yes:focus {
	transform: translateY(-2px);
	box-shadow: 0 16px 38px rgba(22, 104, 227, 0.5);
}

/* The second choice is deliberately quiet: same family of blues, no fill. */
.bpr .bpr-btn.bpr-btn-no,
.bpr .bpr-btn.bpr-btn-no:hover,
.bpr .bpr-btn.bpr-btn-no:focus {
	border-color: rgba(159, 179, 209, 0.45);
	background-color: rgba(255, 255, 255, 0.04);
	background-image: none;
	box-shadow: none;
	color: #dbe6f7;
	text-decoration: none;
}

.bpr .bpr-btn.bpr-btn-no:hover,
.bpr .bpr-btn.bpr-btn-no:focus {
	border-color: rgba(159, 179, 209, 0.8);
	background-color: rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

/* A lone button keeps its natural width; two share the row evenly. */
.bpr .bpr-actions .bpr-btn:only-child {
	flex: 0 1 auto;
}

.bpr .bpr-btn:focus-visible {
	outline: 2px solid var(--bpr-cyan);
	outline-offset: 3px;
}

.bpr .bpr-btn:active {
	transform: translateY(0);
}

/* "Add to my calendar": a button that opens a short list of calendars. */
.bpr .bpr-cal {
	position: relative;
	flex: 0 1 auto;
	max-width: 100%;
}

.bpr .bpr-cal > summary {
	list-style: none;
	user-select: none;
}

.bpr .bpr-cal > summary::-webkit-details-marker {
	display: none;
}

.bpr .bpr-cal > summary::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-left: 4px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.2s ease;
}

.bpr .bpr-cal[open] > summary::after {
	transform: translateY(2px) rotate(-135deg);
}

.bpr .bpr-cal-menu {
	position: absolute;
	z-index: 5;
	top: calc(100% + 8px);
	left: 0;
	min-width: 100%;
	width: max-content;
	max-width: min(340px, 86vw);
	margin: 0;
	padding: 6px;
	border: 1px solid rgba(159, 179, 209, 0.35);
	border-radius: 14px;
	background: #0c1c3a;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
	list-style: none;
}

.bpr .bpr-cal-menu li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bpr .bpr-cal-menu .bpr-cal-item,
.bpr .bpr-cal-menu .bpr-cal-item:hover,
.bpr .bpr-cal-menu .bpr-cal-item:focus {
	display: block;
	padding: 11px 14px;
	border: 0;
	border-radius: 10px;
	color: #eef4ff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}

.bpr .bpr-cal-menu .bpr-cal-item:hover,
.bpr .bpr-cal-menu .bpr-cal-item:focus {
	background: rgba(56, 182, 255, 0.16);
	color: #ffffff;
}

.bpr-change {
	margin: 18px 0 0;
	font-size: 14px;
}

/* --------------------------------------------------------------------- */
/* Entry pass                                                             */
/* --------------------------------------------------------------------- */

.bpr-ticket {
	display: flex;
	flex-wrap: wrap;
	margin: 22px 0 10px;
	border: 1px solid var(--bpr-line);
	border-radius: 18px;
	overflow: hidden;
	background:
		radial-gradient(80% 120% at 100% 0%, rgba(56, 182, 255, 0.16), transparent 60%),
		linear-gradient(135deg, rgba(10, 33, 66, 0.95), rgba(4, 14, 30, 0.95));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.bpr-ticket-main {
	flex: 1 1 260px;
	padding: 22px;
}

.bpr-ticket-kicker {
	margin-bottom: 8px;
	color: var(--bpr-cyan);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.bpr-ticket-name {
	margin-bottom: 8px;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
}

.bpr-ticket-line {
	margin: 0 0 3px;
	color: var(--bpr-muted);
	font-size: 14px;
}

.bpr-ticket-admits {
	margin: 10px 0 0;
	color: #b9cbe6;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.bpr-ticket-stub {
	display: flex;
	flex: 0 0 200px;
	flex-direction: column;
	gap: 6px;
	align-items: center;
	justify-content: center;
	padding: 22px 18px;
	border-left: 2px dashed rgba(255, 255, 255, 0.24);
	background: rgba(255, 255, 255, 0.05);
	text-align: center;
}

/* The QR code keeps its white ground: scanners need the contrast. */
.bpr-ticket-qr {
	display: block;
	margin-bottom: 6px;
	padding: 4px;
	border-radius: 10px;
	background: #ffffff;
	line-height: 0;
}

.bpr-ticket-qr svg {
	display: block;
}

.bpr-ticket-stub-label {
	color: var(--bpr-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.bpr-ticket-code {
	font-size: 30px;
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1.1;
	text-shadow: 0 0 26px rgba(56, 182, 255, 0.5);
}

/* --------------------------------------------------------------------- */
/* Footer                                                                 */
/* --------------------------------------------------------------------- */

.bpr-foot {
	margin-top: clamp(22px, 4vw, 32px);
	padding-top: 18px;
	border-top: 1px solid var(--bpr-line);
}

.bpr-note {
	margin: 0 0 6px;
	color: var(--bpr-muted);
	font-size: 13px;
}

.bpr-note-center {
	text-align: center;
}

.bpr-funding {
	margin: 12px 0 0;
	color: rgba(159, 179, 209, 0.72);
	font-size: 12px;
	letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------- */
/* Small screens                                                          */
/* --------------------------------------------------------------------- */

@media (max-width: 560px) {
	.bpr {
		border-radius: 16px;
	}

	.bpr-actions .bpr-btn {
		width: 100%;
	}

	.bpr-ticket-stub {
		flex: 1 1 100%;
		border-top: 2px dashed rgba(255, 255, 255, 0.24);
		border-left: 0;
	}
}

/* --------------------------------------------------------------------- */
/* Motion, contrast and printing                                          */
/* --------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.bpr *,
	.bpr *::before,
	.bpr *::after {
		animation: none !important;
		transition: none !important;
	}
}

@media (prefers-contrast: more) {
	.bpr {
		--bpr-muted: #cddcf2;
		--bpr-line: rgba(255, 255, 255, 0.34);
	}
}

@media print {
	.bpr {
		max-width: none;
		padding: 0;
		background: #fff !important;
		box-shadow: none;
		color: #101828;
	}

	.bpr-bg,
	.bpr-langs,
	.bpr-form,
	.bpr-actions,
	.bpr-foot,
	.bpr-change,
	.bpr-tagline {
		display: none !important;
	}

	.bpr-panel,
	.bpr-meta-item {
		border-color: #c8d0de;
		background: #fff !important;
	}

	.bpr-title,
	.bpr-greeting,
	.bpr-ticket-name,
	.bpr-ticket-code,
	.bpr-meta-value {
		color: #101828 !important;
		text-shadow: none !important;
	}

	.bpr-ticket {
		border: 2px solid #101828;
		background: #fff !important;
	}

	.bpr-wordmark {
		border: 1px solid #101828;
		box-shadow: none;
	}
}

/* --------------------------------------------------------------------- */
/* Open registration                                                     */
/* --------------------------------------------------------------------- */

/* First and last name side by side on wider screens. */
.bpr-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

@media (max-width: 520px) {
	.bpr-field-row {
		grid-template-columns: 1fr;
	}
}

.bpr-check a {
	color: var(--bpr-cyan);
}

/* The honeypot: off-screen for people, still in the form for bots. */
.bpr-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --------------------------------------------------------------------- */
/* The event's own questions                                             */
/* --------------------------------------------------------------------- */

.bpr-question-set {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.bpr-question-set legend {
	margin-bottom: 8px;
	padding: 0;
	color: var(--bpr-muted);
	font-size: 14px;
}

.bpr-choices {
	display: grid;
	gap: 8px;
}

/* The text box under "Other". */
.bpr-field.bpr-other {
	margin: 0;
}

.bpr-req {
	color: var(--bpr-cyan);
}

.bpr-field textarea {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var(--bpr-line);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--bpr-text);
	font-family: inherit;
	/* 16px keeps iOS from zooming when the field is focused. */
	font-size: 16px;
	resize: vertical;
}

.bpr-field textarea:focus {
	border-color: var(--bpr-cyan);
	background: rgba(255, 255, 255, 0.09);
	box-shadow: 0 0 0 4px rgba(56, 182, 255, 0.18);
	outline: none;
}

/* Round counterpart of the checkbox above. */
.bpr-check input[type="radio"] {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 0;
	-webkit-appearance: none;
	appearance: none;
	border: 1.5px solid rgba(255, 255, 255, 0.32);
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.06);
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.bpr-check input[type="radio"]:checked {
	border-color: var(--bpr-cyan);
	background: radial-gradient(circle, #ffffff 0 4px, var(--bpr-blue) 5px);
}
