/* ---- DM Sans (same files the other lead-gen V2 calcs ship) ---- */
@font-face {
	font-family: 'DM Sans';
	font-weight: 400;
	src: url('https://d2w998roo7cij6.cloudfront.net/cf-cdn/assets/fonts/DMSans-Regular.ttf') format('truetype');
}
@font-face {
	font-family: 'DM Sans';
	font-weight: 500;
	src: url('https://d2w998roo7cij6.cloudfront.net/cf-cdn/assets/fonts/DMSans-Medium.ttf') format('truetype');
}
@font-face {
	font-family: 'DM Sans';
	font-weight: 600;
	src: url('https://d2w998roo7cij6.cloudfront.net/cf-cdn/assets/fonts/DMSans-SemiBold.ttf') format('truetype');
}
@font-face {
	font-family: 'DM Sans';
	font-weight: 700;
	src: url('https://d2w998roo7cij6.cloudfront.net/cf-cdn/assets/fonts/DMSans-Bold.ttf') format('truetype');
}

/* ---- Page shell ---- */
body.bnblv2-body {
	margin: 0;
	background: #FAFAFA;
	font-family: 'DM Sans', sans-serif;
	color: #181D27;
	-webkit-font-smoothing: antialiased;
}
.bnblv2 *, .bnblv2 *::before, .bnblv2 *::after,
.bnblv2-sheet *, .bnblv2-sheet *::before, .bnblv2-sheet *::after { box-sizing: border-box; }
.bnblv2 {
	max-width: 480px;
	margin: 0 auto;
	padding: 0 24px 24px;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	font-size: 16px;
	line-height: 1.45;
}
.bnblv2 button, .bnblv2-sheet button { font-family: inherit; cursor: pointer; }
.bnblv2-hidden { display: none !important; }
.bnblv2-stack { display: flex; flex-direction: column; gap: 16px; padding-top: 10px; }
.bnblv2 :focus-visible, .bnblv2-sheet :focus-visible { outline: 2px solid #278AE5; outline-offset: 2px; border-radius: 4px; }
/* Zero specificity, so a class margin on any heading or paragraph still wins. */
:where(.bnblv2) :is(h1, h2, h3, p) { margin: 0; }

/* ---- App bar (screens 2-4) ---- */
.bnblv2-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 73px;
	margin: 0 -24px;
	padding: 0 16px;
	border-bottom: 1px solid #F1F5F9;
	background: #FAFAFA;
}
.bnblv2-bar-title { font-size: 16px; font-weight: 600; color: #0F172B; }
.bnblv2-navbtn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #0F172B;
}
.bnblv2-navbtn img { display: block; }
.bnblv2-navbtn:hover { background: #F1F5F9; }

/* ---- Headings / copy ---- */
.bnblv2-title { font-size: 20px; font-weight: 600; color: #181D27; }
.bnblv2-subtitle { font-size: 14px; color: #717680; margin-top: 4px; }

/* ---- Landing hero ---- */
.bnblv2-hero-landing {
	border-radius: 16px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	color: #fff;
	/* Figma 4672:5388, blob sizes and centres as % of its 392x284 frame. */
	background:
		radial-gradient(41.67% 35.71% at 8.33% 7.14%, rgba(247, 167, 108, 0.85), rgba(247, 167, 108, 0)),
		radial-gradient(45.45% 38.46% at 9.09% 53.85%, rgba(230, 126, 156, 0.85), rgba(230, 126, 156, 0)),
		radial-gradient(41.67% 35.71% at 50% 50%, rgba(19, 73, 122, 0.95), rgba(19, 73, 122, 0)),
		linear-gradient(144.08deg, #0E1C3C 0%, #1C6FBD 55%, #2286E0 100%);
}
.bnblv2-hero-title { font-size: 24px; font-weight: 700; text-align: center; }
.bnblv2-hero-body { font-size: 14px; color: rgba(255, 255, 255, 0.88); text-align: center; }
.bnblv2-steps { display: flex; justify-content: space-between; }
.bnblv2-step {
	width: 80px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
}
.bnblv2-step-num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	font-size: 11px;
	font-weight: 700;
}
.bnblv2-step-label { font-size: 12px; color: rgba(255, 255, 255, 0.8); }
.bnblv2-signoff {
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.16);
	border-radius: 16px;
	padding: 10px 16px 10px 10px;
}
.bnblv2-signoff-text { display: flex; flex-direction: column; }
.bnblv2-signoff-name { font-size: 14px; font-weight: 600; }
.bnblv2-signoff-company { font-size: 11px; color: #F5F5F5; }

/* ---- Avatar (initials fallback) ---- */
.bnblv2-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-width: 44px;
	border-radius: 50%;
	object-fit: cover;
	background: #13497A;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
}

/* ---- Fields ---- */
.bnblv2-formsec { display: flex; flex-direction: column; gap: 12px; }
.bnblv2-field { display: flex; flex-direction: column; gap: 6px; }
.bnblv2-label { font-size: 14px; font-weight: 500; color: #181D27; }
.bnblv2-inputwrap {
	display: flex;
	align-items: center;
	height: 46px;
	border: 1px solid #D4D7E0;
	border-radius: 10px;
	background: #FAFAFA;
	padding: 0 12px;
	gap: 8px;
}
.bnblv2-inputwrap.is-invalid { border-color: #D92D20; }
/* Chrome paints autofilled fields pale blue as a box inside the wrapper; match the wrapper instead. */
.bnblv2-input:-webkit-autofill, .bnblv2-input:-webkit-autofill:hover, .bnblv2-input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 1000px #FAFAFA inset; box-shadow: 0 0 0 1000px #FAFAFA inset;
	-webkit-text-fill-color: #181D27; caret-color: #181D27;
}
.bnblv2-sheetinput .bnblv2-input:-webkit-autofill, .bnblv2-sheetinput .bnblv2-input:-webkit-autofill:hover, .bnblv2-sheetinput .bnblv2-input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 1000px #FFFFFF inset; box-shadow: 0 0 0 1000px #FFFFFF inset;
}
.bnblv2-affix { font-size: 15px; color: #717680; }
.bnblv2-input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 16px;
	color: #252B37;
	outline: none;
	padding: 0;
}
/* header.php's index.css gives every focused text input an inset bottom shadow
   (input[type=text]:focus); the wrapper draws the focus state here instead. */
.bnblv2-inputwrap .bnblv2-input:focus, .bnblv2-inputwrap .bnblv2-input:focus-visible { box-shadow: none; outline: none; }
.bnblv2-helper { font-size: 12px; font-weight: 500; color: #717680; }
.bnblv2-helper strong { color: #414651; }
.bnblv2-error { font-size: 12px; color: #D92D20; }

/* ---- Primary button / bottom bar ---- */
.bnblv2-btn {
	display: block;
	width: 100%;
	height: 48px;
	border: 0;
	border-radius: 12px;
	background: #278AE5;
	color: #fff;
	font-size: 15.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
/* Solid grey at full opacity, as on the other lead-gen calcs. */
.bnblv2-btn:disabled { background: #D5D7DA; cursor: not-allowed; }
.bnblv2-btn--secondary {
	background: #fff;
	border: 1px solid #D5D7DA;
	color: #414651;
	height: 40px;
	text-transform: none;
	font-size: 14px;
}
.bnblv2-phone .bnblv2-bottombar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 30;
	padding: 10px 24px calc(10px + env(safe-area-inset-bottom, 0px));
	background: linear-gradient(180deg, rgba(250, 250, 250, 0), #FAFAFA 45%);
}
.bnblv2-phone .bnblv2-bottombar .bnblv2-btn { max-width: 432px; margin: 0 auto; }
.bnblv2-phone #BnblV2S1, .bnblv2-phone #BnblV2S2, .bnblv2-phone #BnblV2S3 { padding-bottom: 76px; }

/* ---- Payment hero (screen 2) ---- */
.bnblv2-hero-pay {
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	color: #fff;
	background: linear-gradient(45deg, #13497A 0%, #278AE5 100%);
}
.bnblv2-hero-eyebrow { font-size: 14px; color: rgba(255, 255, 255, 0.8); text-align: center; }
.bnblv2-hero-big { font-size: 30px; font-weight: 700; line-height: 1.1; white-space: nowrap; font-variant-numeric: tabular-nums; text-align: center; }
.bnblv2-hero-big.is-long { font-size: 24px; }
.bnblv2-loanpill {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	padding: 16px;
}
.bnblv2-loanpill-label { font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.bnblv2-loanpill-value { font-size: 16px; font-weight: 700; }

/* ---- Cards ---- */
.bnblv2-card {
	background: #fff;
	border: 1px solid #F1F5F9;
	border-radius: 16px;
	box-shadow: 0 1px 3px rgba(10, 13, 18, 0.1);
	padding: 16px;
}
.bnblv2-mutecard { background: #F5F5F5; border-radius: 16px; padding: 16px; }
.bnblv2-cardtitle { font-size: 16px; font-weight: 600; color: #181D27; }
.bnblv2-cardtitle-sm { font-size: 14px; font-weight: 600; color: #0F172B; }
.bnblv2-cardcopy { font-size: 12px; color: #717680; margin: 6px 0 12px; }

/* ---- Payment breakdown ---- */
.bnblv2-breakcard { display: flex; flex-direction: column; gap: 12px; }
.bnblv2-break-head { font-size: 16px; font-weight: 600; color: #181D27; }
.bnblv2-stackbar {
	display: flex;
	height: 10px;
	border-radius: 999px;
	background: #F5F5F5;
	gap: 2px;
	overflow: hidden;
}
.bnblv2-seg { flex-grow: 1; flex-basis: 0; border-radius: 999px; }
.bnblv2-seg-pi { background: #278AE5; }
.bnblv2-seg-tax { background: #7A5AF8; }
.bnblv2-seg-ins { background: #17B26A; }
.bnblv2-seg-hoa { background: #F38744; }
.bnblv2-breakrows { display: flex; flex-direction: column; }
.bnblv2-breakrow {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 54px;
	padding: 8px 0;
	border-bottom: 1px solid #F1F5F9;
}
.bnblv2-breakrow:last-child { border-bottom: 0; }
.bnblv2-dot {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	min-width: 30px;
	border-radius: 50%;
}
.bnblv2-dot i { width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.bnblv2-dot-pi { background: #278AE5; }
.bnblv2-dot-tax { background: #7A5AF8; }
.bnblv2-dot-ins { background: #17B26A; }
.bnblv2-dot-hoa { background: #F38744; }
.bnblv2-breakcopy { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.bnblv2-breaktitle { font-size: 14px; font-weight: 500; color: #0F172B; }
.bnblv2-breaksub { font-size: 12px; color: #717680; }
.bnblv2-breakamt { display: flex; flex-direction: column; align-items: flex-end; }
.bnblv2-breakval { font-size: 14px; font-weight: 700; color: #181D27; }
.bnblv2-breakshare { font-size: 12px; color: #A4A7AE; }

/* ---- Cash card + explainer ---- */
.bnblv2-cashcard {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #E9EAEB;
	border-radius: 16px;
	padding: 16px;
}
.bnblv2-cashicon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	min-width: 46px;
	border-radius: 14px;
	background: rgba(0, 0, 0, 0.08);
	color: #181D27;
}
.bnblv2-cashicon svg { width: 24px; height: 24px; }
.bnblv2-cashtext { display: flex; flex-direction: column; }
.bnblv2-cashlabel { font-size: 12.5px; font-weight: 500; color: #717680; }
.bnblv2-cashamt { font-size: 24px; font-weight: 700; color: #181D27; }
.bnblv2-explainlink {
	display: flex;
	align-items: center;
	gap: 6px;
	border: 0;
	background: transparent;
	padding: 0;
	font-size: 12px;
	font-weight: 600;
	color: #1C6FBD;
}
.bnblv2-explainlink svg { width: 14px; height: 14px; }
.bnblv2-explainbox {
	background: #fff;
	border: 1px solid #F1F5F9;
	border-radius: 12px;
	padding: 12px 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 12px;
	color: #414651;
}

/* ---- Years hero (screen 3) ---- */
.bnblv2-hero-years {
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	color: #fff;
	background: linear-gradient(-34.95deg, #764BA2 0%, #667EEA 100%);
}
.bnblv2-years-label { font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, 0.8); text-align: center; }
.bnblv2-stepper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	padding: 16px;
}
.bnblv2-stepbtn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-width: 40px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #181D27;
	box-shadow: 0 2px 6px rgba(10, 13, 18, 0.25);
}
.bnblv2-stepbtn svg { width: 18px; height: 18px; }
.bnblv2-stepper-mid { display: flex; flex-direction: column; align-items: center; }
.bnblv2-stepper-val { font-size: 30px; font-weight: 700; line-height: 1.1; }
.bnblv2-stepper-unit { font-size: 12px; color: rgba(255, 255, 255, 0.75); }
.bnblv2-futurebox {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	background: rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	padding: 14px;
	text-align: center;
}
.bnblv2-future-label { font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, 0.85); }
.bnblv2-future-val { font-size: 30px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bnblv2-future-val.is-long { font-size: 24px; }

/* ---- Appreciation chips ---- */
.bnblv2-rchips { display: flex; flex-direction: column; gap: 8px; }
.bnblv2-rchip {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	border-radius: 12px;
	border: 2px solid #D4D7E0;
	background: #fff;
	padding: 8px 12px;
	text-align: left;
}
.bnblv2-rchip.is-selected { background: #E5F3FF; border-color: #278AE5; }
.bnblv2-radio {
	width: 18px;
	height: 18px;
	min-width: 18px;
	border-radius: 50%;
	border: 2px solid #D4D7E0;
	background: #fff;
}
.bnblv2-rchip.is-selected .bnblv2-radio { border-color: #278AE5; box-shadow: inset 0 0 0 4px #fff; background: #278AE5; }
.bnblv2-rchip-names { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.bnblv2-rchip-name { font-size: 14px; font-weight: 500; color: #0F172B; }
.bnblv2-rchip-sub { font-size: 10.5px; color: #717680; }
.bnblv2-rchip-val { font-size: 16px; font-weight: 700; color: #0F172B; }
.bnblv2-hair { height: 1px; background: rgba(15, 23, 43, 0.08); margin: 16px 0; }

/* ---- Sliders ---- */
.bnblv2-sliderhead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}
.bnblv2-sliderlabel { font-size: 13px; font-weight: 500; color: #0F172B; }
.bnblv2-sliderval {
	border: 0;
	background: transparent;
	padding: 0;
	font-size: 16px;
	font-weight: 700;
	color: #1C6FBD;
}
.bnblv2-sliderval-input {
	width: 72px;
	height: 30px;
	border: 1px solid #D4D7E0;
	border-radius: 8px;
	padding: 0 8px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	color: #1C6FBD;
	text-align: right;
}
.bnblv2-range {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	height: 22px;
	margin: 0;
	background: transparent;
}
.bnblv2-range::-webkit-slider-runnable-track {
	height: 6px;
	border-radius: 3px;
	background: linear-gradient(90deg, #278AE5 var(--fill, 50%), #D5D7DA var(--fill, 50%));
}
.bnblv2-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 22px;
	height: 22px;
	margin-top: -8px;
	border-radius: 50%;
	background: #278AE5;
	border: 3px solid #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.bnblv2-range::-moz-range-track {
	height: 6px;
	border-radius: 3px;
	background: #D5D7DA;
}
.bnblv2-range::-moz-range-progress {
	height: 6px;
	border-radius: 3px;
	background: #278AE5;
}
.bnblv2-range::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #278AE5;
	border: 3px solid #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.bnblv2-scale {
	display: flex;
	justify-content: space-between;
	margin-top: 4px;
	font-size: 10.5px;
	color: #A0A5AF;
}

/* ---- Local market card ---- */
.bnblv2-localhead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}
.bnblv2-localtitle { font-size: 14px; font-weight: 600; color: #0F172B; }
.bnblv2-localpill {
	background: #fff;
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 10.5px;
	font-weight: 500;
	color: #0F172B;
	white-space: nowrap;
}
.bnblv2-localcopy { font-size: 11.5px; color: #717680; margin-bottom: 12px; }
.bnblv2-localcopy strong { color: #0F172B; }
.bnblv2-localgrid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 8px;
	row-gap: 6px;
}
.bnblv2-localcell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 32px;
	border-radius: 8px;
	background: #fff;
	padding: 7px 10px;
}
.bnblv2-localcell.is-neg { background: #FEF3F2; }
.bnblv2-localyear { font-size: 12px; font-weight: 500; color: #0F172B; }
.bnblv2-localchange { font-size: 12px; font-weight: 700; color: #1F7A48; }
.bnblv2-localcell.is-neg .bnblv2-localchange { color: #D92D20; }
.bnblv2-localsrc { font-size: 10.5px; color: #717680; margin-top: 10px; }

/* ---- Compare cards (screen 4) ---- */
.bnblv2-compare {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.bnblv2-vs {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #181D27;
	border: 4px solid #fff;
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	z-index: 2;
}
.bnblv2-ccard {
	display: flex;
	flex-direction: column;
	gap: 12px;
	border-radius: 18px;
	padding: 12px;
	min-width: 0;
}
.bnblv2-ccard.is-win {
	background: linear-gradient(135deg, #0E8F56, #1DA463);
	color: #fff;
	box-shadow: 0 14px 28px rgba(10, 13, 18, 0.35);
}
.bnblv2-ccard.is-dim {
	background: #fff;
	border: 1.5px solid #F1F5F9;
	color: #0F172B;
	opacity: 0.72;
}
.bnblv2-ccard-title { font-size: 14px; font-weight: 600; }
.bnblv2-ccard-rows { display: flex; flex-direction: column; }
.bnblv2-ccard-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	padding: 5px 0;
	font-size: 12px;
}
.bnblv2-ccard.is-win .bnblv2-ccard-row { border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.bnblv2-ccard.is-dim .bnblv2-ccard-row { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
/* Figma has one divider, between Price and Rate; none under the last row. */
.bnblv2-ccard .bnblv2-ccard-row:last-child { border-bottom: 0; }
/* Direct children only: the count-up wraps values in spans of its own. */
.bnblv2-ccard-row > :last-child { font-weight: 600; }
.bnblv2-ccard-row > :first-child { font-weight: 400; opacity: 0.7; }
.bnblv2-ccard-total { display: flex; flex-direction: column; gap: 2px; }
.bnblv2-ccard-total-label { font-size: 12px; text-transform: uppercase; opacity: 0.7; }
.bnblv2-ccard-total-val { font-size: 20px; font-weight: 700; }

/* ---- Verdict ---- */
.bnblv2-verdict { border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.bnblv2-verdict.is-green { background: #E2F8EC; }
.bnblv2-verdict.is-green .bnblv2-verdict-title { color: #1F7A48; }
.bnblv2-verdict.is-amber { background: #FEF0C7; }
.bnblv2-verdict.is-amber .bnblv2-verdict-title { color: #F79009; }
.bnblv2-verdict.is-neutral { background: #F5F5F5; }
.bnblv2-verdict.is-neutral .bnblv2-verdict-title { color: #181D27; }
.bnblv2-verdict-title { font-size: 16px; font-weight: 600; }
.bnblv2-verdict-body { font-size: 12px; color: #717680; }

/* ---- Fannie Mae card ---- */
.bnblv2-fannie {
	background: #fff;
	border: 1px solid #F1F5F9;
	border-radius: 20px;
	box-shadow: 0 1px 3px rgba(10, 13, 18, 0.1);
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.bnblv2-fannie-head { background: #F5F5F5; border-radius: 14px; padding: 14px 16px; }
.bnblv2-fannie-title { font-size: 16px; font-weight: 700; color: #0F172B; }
.bnblv2-fannie-sub { font-size: 12.5px; color: #717680; }
.bnblv2-fchart {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	border-bottom: 1px solid #F1F5F9;
	padding: 0 4px;
	min-height: 110px;
}
.bnblv2-fcol {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	flex: 1;
}
.bnblv2-fval { font-size: 12px; font-weight: 700; color: #0F172B; }
.bnblv2-fbar { width: 38px; max-width: 100%; border-radius: 6px 6px 0 0; }
.bnblv2-fbar-1 { background: #E2F8EC; }
.bnblv2-fbar-2 { background: #BEEFD2; }
.bnblv2-fbar-3 { background: #8FDFB1; }
.bnblv2-fbar-4 { background: #5FCB8F; }
.bnblv2-fbar-5 { background: #2FA968; }
.bnblv2-fyear { font-size: 10.5px; color: #717680; margin-top: 4px; }
.bnblv2-fannie-summary {
	background: #F5F5F5;
	border-radius: 14px;
	padding: 14px 16px;
	font-size: 13px;
	line-height: 1.6;
	color: #414651;
}
.bnblv2-fannie-summary strong { color: #0F172B; }
.bnblv2-fannie-src { font-size: 11px; color: #717680; }

/* ---- Agent CTA card ---- */
.bnblv2-agentcard {
	background: #181D27;
	border-radius: 16px;
	padding: 16px;
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.bnblv2-agentid { display: flex; align-items: center; gap: 10px; }
.bnblv2-agentid > span:last-child { display: flex; flex-direction: column; }
.bnblv2-agentname { font-size: 14px; font-weight: 600; }
.bnblv2-agentcompany { font-size: 11px; color: #F5F5F5; }
.bnblv2-agenthead { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.bnblv2-agentbody { font-size: 12px; color: #D7DBE3; margin-bottom: 12px; }
.bnblv2-ctabtn {
	display: block;
	width: 100%;
	height: 37px;
	border: 0;
	border-radius: 10px;
	background: #278AE5;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.bnblv2-sentrow {
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	font-weight: 500;
}
.bnblv2-sentrow svg { width: 24px; height: 24px; min-width: 24px; color: #17B26A; }

.bnblv2-disclaimer { font-size: 11px; color: #717680; }
.bnblv2-sponsor { font-size: 11px; color: #717680; text-align: center; margin: 20px 0 0; }

/* ---- Scrim + request sheet ---- */
.bnblv2-scrim {
	position: fixed;
	inset: 0;
	background: rgba(10, 13, 18, 0.5);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	z-index: 40;
}
.bnblv2-scrim.is-open { opacity: 1; pointer-events: auto; }
.bnblv2-sheet {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 41;
	background: #fff;
	border-radius: 16px 16px 0 0;
	box-shadow: 0 -24px 48px rgba(10, 13, 18, 0.18);
	padding: 10px 20px 28px;
	transform: translateY(105%);
	transition: transform 0.25s ease;
	max-height: 92vh;
	overflow-y: auto;
	font-family: 'DM Sans', sans-serif;
	color: #181D27;
}
.bnblv2-sheet.is-open { transform: translateY(0); }
.bnblv2-grab {
	width: 44px;
	height: 5px;
	border-radius: 999px;
	background: #E9EAEB;
	margin: 0 auto 12px;
}
.bnblv2-sheet-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.bnblv2-sheet-titles { flex: 1; min-width: 0; }
.bnblv2-sheet-title { font-size: 20px; font-weight: 600; color: #181D27; }
.bnblv2-sheet-sub { font-size: 14px; color: #535862; }
.bnblv2-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	min-width: 36px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #717680;
}
.bnblv2-close svg { width: 20px; height: 20px; }
.bnblv2-sheet-section { margin-bottom: 16px; }
.bnblv2-chipq { display: block; font-size: 14px; font-weight: 500; color: #414651; margin-bottom: 8px; }
.bnblv2-optional { color: #A4A7AE; font-weight: 400; }
.bnblv2-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bnblv2-chip {
	border: 1px solid #D5D7DA;
	border-radius: 999px;
	background: #fff;
	color: #414651;
	font-size: 13px;
	font-weight: 500;
	padding: 8px 14px;
}
.bnblv2-chip.is-selected { background: #EFF8FF; border-color: #278AE5; color: #175CD3; }
.bnblv2-sheet .bnblv2-field { margin-bottom: 14px; }
.bnblv2-sheetinput {
	height: 43px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid #D5D7DA;
	box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
}
.bnblv2-consent { font-size: 12px; color: #717680; margin: 4px 0 14px; }
.bnblv2-btn-sheet { height: 38px; border-radius: 8px; font-size: 14px; }
.bnblv2-submit-error { font-size: 12px; color: #D92D20; margin-top: 10px; }
.bnblv2-sheet-sent {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
	padding: 10px 0 4px;
}
.bnblv2-checkbadge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #ECFDF3;
	color: #17B26A;
}
.bnblv2-checkbadge svg { width: 26px; height: 26px; }
.bnblv2-sent-title { font-size: 20px; font-weight: 600; color: #181D27; }
.bnblv2-sent-body { font-size: 14px; color: #535862; }
.bnblv2-sheet-sent .bnblv2-btn--secondary { width: 100%; margin-top: 6px; }

/* ---- Desktop / embed (spec 9b): centered modal >= 600px ---- */
@media (min-width: 600px) {
	.bnblv2-sheet {
		left: 50%;
		right: auto;
		bottom: auto;
		top: 50%;
		width: 100%;
		max-width: 440px;
		border-radius: 16px;
		transform: translate(-50%, -46%);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.2s ease, transform 0.2s ease;
		max-height: 86vh;
	}
	.bnblv2-sheet.is-open {
		transform: translate(-50%, -50%);
		opacity: 1;
		pointer-events: auto;
	}
	.bnblv2-grab { display: none; }
}

/* ---- Narrow phones (spec 12: usable from 360px) ---- */
@media (max-width: 374px) {
	.bnblv2 { padding: 0 16px 16px; }
	.bnblv2-phone .bnblv2-bottombar { padding-left: 16px; padding-right: 16px; }
	.bnblv2-hero-big { font-size: 26px; }
	.bnblv2-hero-big.is-long { font-size: 22px; }
	.bnblv2-compare { gap: 12px; }
	.bnblv2-ccard-total-val { font-size: 18px; }
	.bnblv2-fbar { width: 30px; }
}

/* ---- Motion: count-up numbers, stepper pop, bar growth ---- */
.cu-wrap { display: inline-grid; font-variant-numeric: tabular-nums; text-align: inherit; }
.cu-wrap > .cu-live, .cu-wrap > .cu-ghost { grid-area: 1 / 1; }
.cu-wrap > .cu-ghost { visibility: hidden; }
.bnblv2-stepper-val.is-pop { animation: bnblv2-pop .3s ease-out; }
@keyframes bnblv2-pop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.bnblv2-fbar { transition: height .6s cubic-bezier(.22, .61, .36, 1); }
.bnblv2-seg { transition: flex-grow .6s cubic-bezier(.22, .61, .36, 1); }
.bnblv2-fcol:nth-child(2) .bnblv2-fbar { transition-delay: .06s; }
.bnblv2-fcol:nth-child(3) .bnblv2-fbar { transition-delay: .12s; }
.bnblv2-fcol:nth-child(4) .bnblv2-fbar { transition-delay: .18s; }
.bnblv2-fcol:nth-child(5) .bnblv2-fbar { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
	.bnblv2-sheet, .bnblv2-scrim, .bnblv2-fbar, .bnblv2-seg { transition: none; }
	.bnblv2-stepper-val.is-pop { animation: none; }
}
