/**
 * Buzz Survey Insights — public styles.
 * Scoped under .bsi-survey / .bsi-results to avoid theme collisions.
 */

.bsi-survey {
	--bsi-brand: #2271b1;
	--bsi-ink: #1d2327;
	--bsi-muted: #646970;
	--bsi-line: #e3e5e8;
	--bsi-bg: #fff;
	--bsi-radius: 12px;
	max-width: 720px;
	margin: 0 auto;
	font-family: inherit;
	color: var(--bsi-ink);
}

.bsi-survey *,
.bsi-results * {
	box-sizing: border-box;
}

.bsi-survey__panel {
	background: var(--bsi-bg);
	border: 1px solid var(--bsi-line);
	border-radius: var(--bsi-radius);
	padding: 28px;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.05 );
}

.bsi-survey__header {
	text-align: center;
	margin-bottom: 24px;
}

.bsi-survey__logo {
	max-height: 56px;
	width: auto;
	margin-bottom: 12px;
}

.bsi-survey h4.bsi-survey__title,
.bsi-survey .bsi-survey__title {
	margin: 0 0 8px !important;
	padding: 0 !important;
	font-size: 24px !important;
	line-height: 1.25 !important;
	font-weight: 800 !important;
	color: var(--bsi-ink, #1d2327) !important;
}

.bsi-survey__intro {
	margin: 0;
	color: var(--bsi-muted);
}

/* Honeypot — keep it out of view and out of the a11y tree. */
.bsi-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bsi-question {
	border: 0;
	border-top: 1px solid var(--bsi-line);
	padding: 20px 0 4px;
	margin: 0;
}

.bsi-question__legend {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 600;
	font-size: 16px;
	padding: 0;
	margin-bottom: 12px;
}

.bsi-question__index {
	flex: 0 0 26px;
	height: 26px;
	width: 26px;
	border-radius: 50%;
	background: var(--bsi-brand);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
}

.bsi-question__desc {
	color: var(--bsi-muted);
	margin: -6px 0 12px 36px;
	font-size: 14px;
}

.bsi-question__options {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-left: 36px;
}

.bsi-survey .bsi-option {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border: 1.5px solid var(--bsi-line);
	border-radius: 10px;
	cursor: pointer;
	background: #fff;
	position: relative;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.bsi-survey .bsi-option:hover {
	border-color: #b9d4ec;
	background: #f7fafd;
}

.bsi-survey .bsi-option:active {
	transform: translateY(1px);
}

/* Hide the native control and draw our own indicator so it looks
   consistent across themes (Avada restyles native inputs). */
.bsi-survey .bsi-option input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}

.bsi-survey .bsi-option__label {
	line-height: 1.45;
	font-size: 15px;
	color: var(--bsi-ink);
	padding-left: 32px;
	position: relative;
	flex: 1 1 auto;
}

/* Custom indicator dot/box. */
.bsi-survey .bsi-option__label::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	border: 2px solid #c4ccd4;
	border-radius: 50%;
	background: #fff;
	transition: border-color 0.15s ease, background 0.15s ease;
	box-sizing: border-box;
}

/* Checkbox questions get a rounded square instead of a circle. */
.bsi-survey .bsi-question[data-type="multiple"] .bsi-option__label::before {
	border-radius: 6px;
}

/* Filled center when selected. */
.bsi-survey .bsi-option__label::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 50%;
	transform: translateY(-50%) scale(0);
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.15s ease;
}

.bsi-survey .bsi-question[data-type="multiple"] .bsi-option__label::after {
	left: 5px;
	width: 10px;
	height: 6px;
	border-radius: 0;
	background: transparent;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: translateY(-65%) rotate(-45deg) scale(0);
}

/* Selected state: brand-filled indicator + tinted card. */
.bsi-survey .bsi-option:has( input:checked ),
.bsi-survey .bsi-option.is-selected {
	border-color: var(--bsi-brand);
	background: #eef5fb;
	box-shadow: 0 0 0 1px var(--bsi-brand) inset;
}

.bsi-survey .bsi-option:has( input:checked ) .bsi-option__label,
.bsi-survey .bsi-option.is-selected .bsi-option__label {
	font-weight: 600;
}

.bsi-survey .bsi-option:has( input:checked ) .bsi-option__label::before,
.bsi-survey .bsi-option.is-selected .bsi-option__label::before {
	border-color: var(--bsi-brand);
	background: var(--bsi-brand);
}

.bsi-survey .bsi-option:has( input:checked ) .bsi-option__label::after,
.bsi-survey .bsi-option.is-selected .bsi-option__label::after {
	transform: translateY(-50%) scale(1);
}

.bsi-survey .bsi-question[data-type="multiple"] .bsi-option:has( input:checked ) .bsi-option__label::after,
.bsi-survey .bsi-question[data-type="multiple"] .bsi-option.is-selected .bsi-option__label::after {
	transform: translateY(-65%) rotate(-45deg) scale(1);
}

/* Keyboard focus ring for accessibility. */
.bsi-survey .bsi-option:focus-within {
	border-color: var(--bsi-brand);
	box-shadow: 0 0 0 3px rgba( 34, 113, 177, 0.25 );
}

.bsi-survey .bsi-question--invalid .bsi-question__options {
	outline: 2px solid #d63638;
	outline-offset: 6px;
	border-radius: 8px;
}

.bsi-question__error {
	color: #d63638;
	font-size: 13px;
	margin: 8px 0 0 36px;
}

/* Contact block. */
.bsi-contact {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--bsi-line);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bsi-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 14px;
}

.bsi-field input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--bsi-line);
	border-radius: 8px;
	font-size: 15px;
}

.bsi-req {
	color: #d63638;
}

.bsi-consent {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--bsi-muted);
}

.bsi-form-error {
	color: #d63638;
	margin: 16px 0 0;
	font-size: 14px;
}

.bsi-survey .bsi-submit:not( .bsi-nav--submit ),
.bsi-survey button.bsi-submit:not( .bsi-nav--submit ) {
	display: block;
	margin-top: 24px;
	width: 100%;
	background-color: var(--bsi-brand, #2271b1) !important;
	background-image: none !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: 10px;
	padding: 16px 20px;
	font-size: 16px;
	font-weight: 700 !important;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-align: center;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba( 34, 113, 177, 0.28 );
	transition: transform 0.12s ease, box-shadow 0.15s ease, background-color 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.bsi-survey .bsi-submit:hover,
.bsi-survey button.bsi-submit:hover {
	background-color: #185a92 !important;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba( 34, 113, 177, 0.36 );
}

.bsi-survey .bsi-submit:active,
.bsi-survey button.bsi-submit:active {
	transform: translateY(0);
	box-shadow: 0 4px 12px rgba( 34, 113, 177, 0.28 );
}

.bsi-survey .bsi-submit:focus-visible,
.bsi-survey button.bsi-submit:focus-visible {
	outline: 3px solid rgba( 34, 113, 177, 0.45 );
	outline-offset: 2px;
}

.bsi-survey .bsi-submit:disabled,
.bsi-survey button.bsi-submit:disabled {
	opacity: 0.65;
	cursor: default;
	transform: none;
	box-shadow: none;
}

/* ----------------------------------------------------------------------- */
/* Results                                                                  */
/* ----------------------------------------------------------------------- */

.bsi-results__header {
	text-align: center;
	margin-bottom: 24px;
}

.bsi-results__check {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #edf7ed;
	color: #1a7f37;
	font-size: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
}

.bsi-results__title {
	margin: 0 0 6px;
	font-size: 22px;
}

.bsi-results__thankyou {
	color: var(--bsi-muted, #646970);
	margin: 0;
}

.bsi-scorecards {
	display: flex;
	gap: 16px;
	margin-bottom: 28px;
}

.bsi-scorecard {
	flex: 1 1 0;
	text-align: center;
	background: #f6f9fc;
	border: 1px solid #e3e5e8;
	border-radius: 12px;
	padding: 20px 12px;
}

.bsi-scorecard__value {
	display: block;
	font-size: 32px;
	font-weight: 700;
	color: #2271b1;
	line-height: 1;
}

.bsi-scorecard__label {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: #646970;
}

.bsi-result-q {
	margin-bottom: 24px;
}

.bsi-result-q__title {
	font-size: 16px;
	margin: 0 0 12px;
}

.bsi-bar {
	margin-bottom: 12px;
}

.bsi-bar__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 4px;
	gap: 12px;
}

.bsi-bar__label {
	font-size: 14px;
}

.bsi-bar__you {
	display: inline-block;
	margin-left: 6px;
	font-size: 11px;
	font-weight: 600;
	color: #fff;
	background: #2271b1;
	border-radius: 999px;
	padding: 1px 8px;
	vertical-align: middle;
}

.bsi-bar__pct {
	font-weight: 700;
	font-size: 14px;
}

.bsi-bar__track {
	height: 12px;
	background: #eef0f2;
	border-radius: 999px;
	overflow: hidden;
}

.bsi-bar__fill {
	height: 100%;
	width: 0;
	background: #9aa5b1;
	border-radius: 999px;
	transition: width 0.7s cubic-bezier( 0.22, 1, 0.36, 1 );
}

.bsi-bar--majority .bsi-bar__fill {
	background: var(--bsi-brand, #2271b1);
}

.bsi-bar--chosen .bsi-bar__fill {
	background: #1a7f37;
}

.bsi-bar__votes {
	display: block;
	font-size: 12px;
	color: #646970;
	margin-top: 2px;
}

.bsi-recos {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid #e3e5e8;
}

.bsi-recos__title {
	font-size: 18px;
	margin: 0 0 14px;
}

.bsi-reco {
	background: #f6f9fc;
	border-left: 3px solid #2271b1;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 10px;
}

.bsi-reco__q {
	font-weight: 600;
	margin: 0 0 4px;
	font-size: 14px;
}

.bsi-reco__text {
	margin: 0;
	color: #50575e;
	font-size: 14px;
}

.bsi-download {
	display: inline-block;
	margin-top: 12px;
	background: #2271b1;
	color: #fff;
	text-decoration: none;
	padding: 12px 22px;
	border-radius: 8px;
	font-weight: 600;
}

.bsi-results__actions {
	text-align: center;
}

@media ( max-width: 540px ) {
	.bsi-survey__panel {
		padding: 20px;
	}
	.bsi-scorecards {
		flex-direction: column;
	}
	.bsi-question__options,
	.bsi-question__desc,
	.bsi-question__error {
		margin-left: 0;
	}
}

/* ======================================================================= */
/* Assessment mode — wizard form                                            */
/* ======================================================================= */

.bsi-assessment .bsi-progress {
	margin-bottom: 22px;
}

.bsi-progress__bars {
	display: flex;
	gap: 6px;
	margin-bottom: 8px;
}

.bsi-progress__seg {
	flex: 1 1 0;
	height: 4px;
	border-radius: 99px;
	background: #e3e5e8;
	transition: background 0.3s ease;
}

.bsi-progress__seg.is-active {
	background: var(--bsi-brand, #2271b1);
}

.bsi-progress__count {
	text-align: right;
	font-size: 13px;
	color: #8c8f94;
	font-weight: 600;
}

/* Steps: one visible at a time. */
.bsi-step {
	animation: bsiFade 0.25s ease;
}

.bsi-step[hidden] {
	display: none;
}

@keyframes bsiFade {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: translateY(0); }
}

.bsi-step__eyebrow {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bsi-brand, #2271b1);
	font-weight: 700;
	margin: 0 0 8px;
}

.bsi-step__q {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 18px;
	color: var(--bsi-ink, #1d2327);
}

.bsi-step__desc {
	color: var(--bsi-muted, #646970);
	margin: -10px 0 18px;
	font-size: 14px;
}

.bsi-step__options {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 22px;
}

.bsi-step__nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
}

.bsi-nav--next,
.bsi-nav--back,
.bsi-nav--submit {
	-webkit-appearance: none;
	appearance: none;
	border-radius: 8px;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
	width: auto !important;
	margin: 0;
	transition: background 0.15s, opacity 0.15s, transform 0.1s, box-shadow 0.15s;
}

/* Next and Submit share the solid brand look. A hardcoded color is set
   first as an unconditional floor; the brand variable then overrides it when
   present. Scoped under .bsi-survey with the button element and a :not()
   to outrank theme rules like Avada's
   `button:not(:hover):not(:active):not(.has-background){background:transparent!important}`. */
.bsi-survey button.bsi-nav--next,
.bsi-survey button.bsi-nav--submit,
.bsi-survey button.bsi-nav--next:not(:hover):not(:active),
.bsi-survey button.bsi-nav--submit:not(:hover):not(:active) {
	background: #2271b1 !important;
	background-color: var(--bsi-brand, #2271b1) !important;
	background-image: none !important;
	color: #fff !important;
	border: 0 !important;
	margin-left: auto;
	box-shadow: 0 4px 12px rgba( 34, 113, 177, 0.22 );
}

.bsi-survey button.bsi-nav--next:hover,
.bsi-survey button.bsi-nav--submit:hover {
	background: #1c5f96 !important;
	background-color: color-mix( in srgb, var(--bsi-brand, #2271b1) 88%, #000 ) !important;
	color: #fff !important;
	filter: none;
	transform: translateY(-1px);
}

.bsi-survey button.bsi-nav--next:disabled,
.bsi-survey button.bsi-nav--submit:disabled {
	opacity: 0.45;
	cursor: default;
	transform: none;
	filter: none;
	box-shadow: none;
}

.bsi-survey button.bsi-nav--back {
	background: transparent;
	color: var(--bsi-muted, #646970);
	border: 1.5px solid var(--bsi-line, #e3e5e8);
}

.bsi-survey button.bsi-nav--back:hover {
	border-color: #c4ccd4;
	color: var(--bsi-ink, #1d2327);
}

/* ======================================================================= */
/* Assessment mode — scored results (dark hero + profile grid + CTA bar)    */
/* ======================================================================= */

.bsi-ares,
.bsi-ares * {
	font-family: inherit;
}

.bsi-ares {
	border: 1px solid var(--bsi-line, #e3e5e8);
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
}

/* Dark hero band. */
.bsi-ares__hero {
	background: #1d2125;
	padding: 30px 32px;
	display: flex;
	align-items: center;
	gap: 28px;
	flex-wrap: wrap;
}

.bsi-ares__ring {
	position: relative;
	flex: 0 0 120px;
	width: 120px;
	height: 120px;
}

.bsi-ares__ringnum {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.bsi-ares__ringnum span {
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
}

.bsi-ares__ringnum i {
	font-style: normal;
	font-size: 14px;
	font-weight: 700;
	margin-top: -2px;
}

.bsi-ares__ringnum small {
	font-size: 9px;
	letter-spacing: 1.5px;
	color: #9aa1a8;
	margin-top: 4px;
}

.bsi-ares__herotext {
	flex: 1 1 280px;
	min-width: 240px;
}

.bsi-ares__eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	letter-spacing: 1px;
	font-weight: 700;
}

.bsi-ares__eyebrow span {
	color: var(--bsi-brand, #2271b1);
	text-transform: uppercase;
}

.bsi-ares__eyebrow em {
	font-style: normal;
	color: #8b9298;
	font-weight: 600;
	margin-left: 10px;
	letter-spacing: 0.5px;
}

.bsi-ares .bsi-ares__h {
	margin: 0 0 10px;
	padding: 0;
	line-height: 1.15;
	color: #ffffff !important;
}

.bsi-ares__narr {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #c2c7cc;
	max-width: 460px;
}

/* Profile body. */
.bsi-ares__body {
	padding: 24px 32px 8px;
}

.bsi-ares__bodyhead {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 14px;
	gap: 12px;
}

.bsi-ares .bsi-ares__profilettl {
	margin: 0;
	padding: 0;
	line-height: 1.3;
	color: var(--bsi-ink, #1d2327);
}

.bsi-ares__based {
	font-size: 12px;
	color: #9aa1a8;
}

.bsi-ares__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: var(--bsi-line, #e3e5e8);
	border: 1px solid var(--bsi-line, #e3e5e8);
	border-radius: 10px;
	overflow: hidden;
}

.bsi-ares__cell {
	background: #fff;
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.bsi-ares__cellcat {
	font-size: 11px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: #9aa1a8;
	font-weight: 700;
}

.bsi-ares__cellval {
	font-size: 15px;
	font-weight: 700;
	color: var(--bsi-ink, #1d2327);
}

/* Recommendations. */
.bsi-ares__recos {
	padding: 8px 32px 0;
}

.bsi-ares__reco {
	background: color-mix( in srgb, var(--bsi-brand, #2271b1) 6%, #fff );
	border-left: 3px solid var(--bsi-brand, #2271b1);
	border-radius: 6px;
	padding: 11px 14px;
	margin-bottom: 8px;
}

.bsi-ares__reco strong {
	display: block;
	font-size: 13px;
	color: var(--bsi-ink, #1d2327);
	margin-bottom: 2px;
}

.bsi-ares__reco span {
	font-size: 13px;
	color: #50575e;
}

/* CTA footer bar. */
.bsi-ares__cta {
	margin-top: 16px;
	padding: 22px 32px;
	background: #f6f7f9;
	border-top: 1px solid var(--bsi-line, #e3e5e8);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.bsi-ares__ctatext {
	font-size: 14px;
	color: #50575e;
}

.bsi-ares__ctabtns {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.bsi-ares .bsi-actabtn {
	display: inline-block;
	background: #fff;
	border: 1.5px solid color-mix( in srgb, var(--bsi-brand, #2271b1) 35%, #fff );
	border-radius: 8px;
	padding: 12px 22px;
	font-size: 14px;
	font-weight: 700;
	color: var(--bsi-ink, #1d2327);
	text-decoration: none;
	cursor: pointer;
}

.bsi-ares .bsi-actabtn--primary {
	background: var(--bsi-brand, #2271b1);
	border-color: var(--bsi-brand, #2271b1);
	color: #fff;
	box-shadow: 0 4px 14px color-mix( in srgb, var(--bsi-brand, #2271b1) 35%, transparent );
}

.bsi-ares .bsi-actabtn:hover {
	filter: brightness( 0.96 );
}

@media ( max-width: 600px ) {
	.bsi-ares__hero { flex-direction: column; text-align: center; padding: 26px 20px; }
	.bsi-ares__body { padding: 20px; }
	.bsi-ares__grid { grid-template-columns: 1fr; }
	.bsi-ares__cta { flex-direction: column; text-align: center; padding: 20px; }
}

/* ======================================================================= */
/* Compact results                                                          */
/* ======================================================================= */

.bsi-results--compact {
	font-family: inherit;
}

.bsi-results__bar {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	background: color-mix( in srgb, var(--bsi-brand, #2271b1) 8%, #fff );
	border-radius: 10px;
	margin-bottom: 18px;
}

.bsi-results--compact .bsi-results__check {
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #1a7f37;
	color: #fff;
	font-size: 15px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.bsi-results__heading {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.bsi-results__heading strong {
	font-size: 16px;
	color: var(--bsi-ink, #1d2327);
}

.bsi-results__heading .bsi-results__thankyou {
	font-size: 13px;
	color: var(--bsi-muted, #646970);
}

.bsi-result-q {
	margin-bottom: 18px;
}

.bsi-results .bsi-result-q__title,
.bsi-results--compact .bsi-result-q__title {
	font-size: 15px !important;
	line-height: 1.3 !important;
	font-weight: 700 !important;
	margin: 0 0 7px !important;
	padding: 0 !important;
	color: var(--bsi-ink, #1d2327) !important;
}

.bsi-results .bsi-result-q {
	margin-bottom: 14px;
}

/* Overlay bar: label + percent sit on top of the fill track. */
.bsi-cbar {
	position: relative;
	height: 28px;
	background: #eef0f2;
	border-radius: 7px;
	overflow: hidden;
	margin-bottom: 5px;
}

.bsi-cbar__fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	background: #cdd0d3;
	border-radius: 7px;
	transition: width 0.7s cubic-bezier( 0.22, 1, 0.36, 1 );
}

.bsi-cbar--majority .bsi-cbar__fill {
	background: color-mix( in srgb, var(--bsi-brand, #2271b1) 30%, #fff );
}

.bsi-cbar--chosen .bsi-cbar__fill {
	background: color-mix( in srgb, #1a7f37 28%, #fff );
}

.bsi-cbar__row {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	padding: 0 11px;
}

.bsi-cbar__label {
	font-size: 13px;
	color: var(--bsi-ink, #1d2327);
	display: flex;
	align-items: center;
	gap: 6px;
}

.bsi-cbar--chosen .bsi-cbar__label,
.bsi-cbar--majority .bsi-cbar__label {
	font-weight: 600;
}

.bsi-cbar__you {
	color: #1a7f37;
	font-weight: 700;
}

.bsi-cbar__pct {
	font-size: 14px;
	font-weight: 700;
	color: var(--bsi-ink, #1d2327);
}

/* Compact recommendations. */
.bsi-recos--compact {
	margin-top: 14px;
	border-top: 1px solid var(--bsi-line, #e3e5e8);
	padding-top: 14px;
}

.bsi-recos--compact .bsi-reco {
	background: color-mix( in srgb, var(--bsi-brand, #2271b1) 6%, #fff );
	border-left: 3px solid var(--bsi-brand, #2271b1);
	border-radius: 6px;
	padding: 8px 12px;
	margin-bottom: 6px;
}

.bsi-recos--compact .bsi-reco__q {
	font-weight: 600;
	font-size: 13px;
	color: var(--bsi-ink, #1d2327);
	display: block;
}

.bsi-recos--compact .bsi-reco__text {
	font-size: 13px;
	color: #50575e;
	display: block;
}

/* ======================================================================= */
/* Submitting overlay + spinner                                             */
/* ======================================================================= */

.bsi-submitting {
	position: absolute;
	inset: 0;
	background: rgba( 255, 255, 255, 0.86 );
	-webkit-backdrop-filter: blur( 2px );
	backdrop-filter: blur( 2px );
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: inherit;
	opacity: 0;
	transition: opacity 0.2s ease;
	z-index: 10;
}

.bsi-submitting.is-visible {
	opacity: 1;
}

.bsi-submitting__inner {
	text-align: center;
}

.bsi-spinner {
	width: 46px;
	height: 46px;
	margin: 0 auto 14px;
	border-radius: 50%;
	border: 4px solid color-mix( in srgb, var(--bsi-brand, #2271b1) 22%, #fff );
	border-top-color: var(--bsi-brand, #2271b1);
	animation: bsiSpin 0.7s linear infinite;
}

@keyframes bsiSpin {
	to { transform: rotate( 360deg ); }
}

.bsi-submitting__text {
	font-size: 14px;
	font-weight: 600;
	color: var(--bsi-ink, #1d2327);
	letter-spacing: 0.01em;
}

/* Results entrance animation. */
.bsi-results-enter {
	opacity: 0;
	transform: translateY( 10px );
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.bsi-results-enter.is-in {
	opacity: 1;
	transform: translateY( 0 );
}

@media ( prefers-reduced-motion: reduce ) {
	.bsi-spinner { animation-duration: 1.4s; }
	.bsi-results-enter { transition: none; transform: none; opacity: 1; }
}
