/* BBJ Report Form — design B. Everything is scoped under .bbj-rf. */
.bbj-rf {
	--bbj-ink: #14161A;
	--bbj-muted: #5B6270;
	--bbj-line: #E3E5E8;
	--bbj-soft: #F4F5F7;
	--bbj-accent: #C2410C;
	--bbj-accent-dark: #9A3412;
	--bbj-safe: #0F766E;
	--bbj-safe-soft: #E2F3EF;
	color: var(--bbj-ink);
	font-size: 16px;
	line-height: 1.5;
	max-width: 1160px;
	margin: 0 auto;
	box-sizing: border-box;
	container-type: inline-size;
	container-name: bbjrf;
}
.bbj-rf *, .bbj-rf *::before, .bbj-rf *::after { box-sizing: border-box; }
.bbj-rf [hidden] { display: none !important; }
.bbj-rf p { margin: 0; }
.bbj-rf [role="heading"] { margin: 0; padding: 0; border: 0; background: none; color: inherit; }
.bbj-rf [role="heading"]::before, .bbj-rf [role="heading"]::after { content: none; display: none; }
.bbj-rf a { color: var(--bbj-accent); }
.bbj-rf a:hover { color: var(--bbj-accent-dark); }
.bbj-rf__icon { flex: none; vertical-align: middle; }

/* Layout: one column on phones, form + side column from 960px. */
.bbj-rf__layout { display: flex; flex-direction: column; gap: 24px; }
.bbj-rf__aside { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
@container bbjrf (min-width: 880px) {
	.bbj-rf__layout { flex-direction: row; align-items: flex-start; gap: 32px; }
	.bbj-rf__layout > :first-child { flex: 1 1 auto; min-width: 0; }
	.bbj-rf__aside { flex: 0 0 340px; margin-top: 0; }
}
/* Report strength: inside the column on phones, in the side column on wide screens. */
.bbj-rf__aside--strength { display: none; }
@container bbjrf (min-width: 880px) {
	.bbj-rf .bbj-rf__aside--strength { display: flex; }
	.bbj-rf .bbj-rf__strength--inline { display: none; }
}

.bbj-rf__card {
	background: #fff;
	border: 1px solid #EAECEF;
	border-radius: 20px;
	padding: 24px 20px;
}
@container bbjrf (min-width: 880px) { .bbj-rf__card { padding: 40px 44px 44px; border-radius: 24px; } }

.bbj-rf__head { display: flex; flex-direction: column; gap: 8px; padding-bottom: 20px; }
.bbj-rf .bbj-rf__title { font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
@container bbjrf (min-width: 880px) { .bbj-rf .bbj-rf__title { font-size: 36px; } }
.bbj-rf__intro { color: var(--bbj-muted); font-size: 16px; }
.bbj-rf__time { display: flex; align-items: center; gap: 8px; color: var(--bbj-muted); font-size: 14px; font-weight: 600; }

/* Questions. */
.bbj-rf__q { border: 0; margin: 0; padding: 22px 0; background: linear-gradient(#EEF0F2, #EEF0F2) top / 100% 1px no-repeat; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bbj-rf__qhead { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font-size: 18px; font-weight: 700; padding: 0; margin-bottom: 14px; }
.bbj-rf__q > .bbj-rf__qhead { margin-bottom: 0; }
.bbj-rf__hint { font-size: 14px; font-weight: 400; color: var(--bbj-muted); }
.bbj-rf__fieldhint { margin: 0; font-size: 13px; line-height: 1.5; color: var(--bbj-muted); }
.bbj-rf__num { width: 28px; height: 28px; border-radius: 999px; background: var(--bbj-ink); color: #fff; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.bbj-rf__num--soft { background: #F1F2F4; color: var(--bbj-ink); }
.bbj-rf__label { display: block; font-size: 14px; font-weight: 700; }

.bbj-rf .bbj-rf__field {
	width: 100%;
	min-height: 52px;
	padding: 14px 16px;
	border: 1.5px solid var(--bbj-line);
	border-radius: 14px;
	background: #fff;
	color: var(--bbj-ink);
	font: inherit;
	font-size: 16px; /* 16px stops iPhone from zooming in */
	line-height: 1.5;
}
.bbj-rf .bbj-rf__field:focus { outline: none; border-color: var(--bbj-ink); box-shadow: 0 0 0 3px rgba(20, 22, 26, .12); }
.bbj-rf textarea.bbj-rf__field { resize: vertical; }

/* Hotel search. */
.bbj-rf__combo { position: relative; }
.bbj-rf__searchicon { z-index: 1; pointer-events: none; position: absolute; left: 16px; top: 17px; color: var(--bbj-muted); }
.bbj-rf .bbj-rf__field.bbj-rf__field--search { padding-left: 46px; }
.bbj-rf__suggest {
	position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px);
	list-style: none; margin: 0; padding: 6px;
	background: #fff; border: 1px solid var(--bbj-line); border-radius: 14px;
	box-shadow: 0 12px 32px rgba(20, 22, 26, .12);
	max-height: 320px; overflow-y: auto;
}
.bbj-rf__suggest li { padding: 10px 12px; border-radius: 10px; cursor: pointer; display: flex; flex-direction: column; }
.bbj-rf__suggest li small { color: var(--bbj-muted); font-size: 13px; }
.bbj-rf__suggest li[aria-selected="true"], .bbj-rf__suggest li:hover { background: var(--bbj-soft); }
.bbj-rf__suggest li.bbj-rf__suggest-note { cursor: default; color: var(--bbj-muted); font-size: 14px; }
.bbj-rf__suggest li.bbj-rf__suggest-note:hover { background: none; }

/* Choice pills (real checkboxes / radios underneath). */
.bbj-rf__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.bbj-rf__pill { position: relative; display: inline-flex; cursor: pointer; }
.bbj-rf__pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bbj-rf__pill span {
	display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px;
	border: 1.5px solid var(--bbj-line); border-radius: 999px; background: #fff;
	font-size: 15px; font-weight: 600; line-height: 1.2;
}
.bbj-rf__pill:hover span { border-color: var(--bbj-ink); }
.bbj-rf__pill input:checked + span { background: var(--bbj-ink); border-color: var(--bbj-ink); color: #fff; }
.bbj-rf__pill--safe input:checked + span { background: var(--bbj-safe); border-color: var(--bbj-safe); }
.bbj-rf__pill input:focus-visible + span { outline: 3px solid var(--bbj-accent); outline-offset: 2px; }

.bbj-rf__link {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
	min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
	font: inherit; font-size: 14px; font-weight: 700; color: var(--bbj-accent);
}
.bbj-rf__datewrap { position: relative; max-width: 300px; }
.bbj-rf .bbj-rf__field.bbj-rf__field--date { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-height: 50px; text-align: left; }
.bbj-rf__field--date::-webkit-date-and-time-value { text-align: left; }
.bbj-rf__datewrap.is-empty::before {
	content: attr(data-ph); position: absolute; left: 16px; right: 44px; top: 50%; transform: translateY(-50%);
	color: var(--bbj-muted); pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bbj-rf__datewrap.is-empty .bbj-rf__field--date { color: transparent; }
.bbj-rf__datewrap.is-empty:focus-within::before { display: none; }
.bbj-rf__datewrap.is-empty .bbj-rf__field--date:focus { color: inherit; }
.bbj-rf__note--after { margin-top: -6px; font-weight: 600; color: #3D4450; }

.bbj-rf__check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.bbj-rf__check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--bbj-accent); flex: none; }

.bbj-rf__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.bbj-rf__submit { display: flex; flex-direction: column; gap: 16px; padding-top: 22px; border-top: 1px solid #EEF0F2; }
.bbj-rf__turnstile:empty { display: none; }
.bbj-rf__note { font-size: 13px; color: var(--bbj-muted); text-align: center; }
.bbj-rf__note--left { text-align: left; }
.bbj-rf__error { color: #B42318; font-size: 14px; font-weight: 600; }

/* Buttons. */
.bbj-rf__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 54px; padding: 0 28px; border-radius: 16px; border: 1.5px solid transparent;
	font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; text-decoration: none;
}
.bbj-rf__btn--primary { background: var(--bbj-accent); color: #fff; width: 100%; }
.bbj-rf__btn--primary:hover { background: var(--bbj-accent-dark); }
@container bbjrf (min-width: 880px) { .bbj-rf__btn--primary { width: auto; min-width: 260px; align-self: flex-start; } }
.bbj-rf__btn--dark, .bbj-rf a.bbj-rf__btn--dark { background: var(--bbj-ink); color: #fff; }
.bbj-rf__btn--ghost { background: #fff; color: var(--bbj-ink); border-color: var(--bbj-line); }
.bbj-rf__btn--ghost:hover { border-color: var(--bbj-ink); }
.bbj-rf__btn--small { min-height: 46px; font-size: 15px; padding: 0 22px; border-radius: 14px; align-self: flex-start; }
.bbj-rf__btn[disabled] { opacity: .6; cursor: progress; }

/* Info cards. */
.bbj-rf__info { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid #EAECEF; }
.bbj-rf__infotitle { font-size: 17px; font-weight: 800; }
.bbj-rf__info p { font-size: 14px; line-height: 1.55; }
.bbj-rf__step { display: flex; gap: 12px; }
.bbj-rf__step span:not(.bbj-rf__num) { color: var(--bbj-muted); }
.bbj-rf__never { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.bbj-rf__never li { display: flex; gap: 10px; align-items: center; }
.bbj-rf__never .bbj-rf__icon { color: var(--bbj-safe); }
.bbj-rf__info--dark { background: var(--bbj-ink); border-color: var(--bbj-ink); color: #fff; }
.bbj-rf__info--dark p { color: #D5D8DD; }

/* Step 2. */
.bbj-rf__main { display: flex; flex-direction: column; gap: 16px; }
.bbj-rf__main .bbj-rf__head { padding: 4px 2px 0; }
.bbj-rf__sent { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 16px; background: var(--bbj-safe); color: #fff; font-weight: 700; }
.bbj-rf__sections { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: start; }
@container bbjrf (min-width: 620px) { .bbj-rf__sections { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bbj-rf__sec { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid #EAECEF; }
.bbj-rf__sec.is-open { grid-column: 1 / -1; }
.bbj-rf__sec.is-done { border-color: var(--bbj-safe); background: #F4FBF9; }
.bbj-rf__sechead { display: flex; align-items: center; gap: 12px; }
.bbj-rf__sechead > div { flex: 1; min-width: 0; }
.bbj-rf__sechead .bbj-rf__sectitle { font-size: 16px; font-weight: 700; }
.bbj-rf__sechead p { font-size: 13px; color: var(--bbj-muted); }
.bbj-rf__add { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--bbj-ink); background: #fff; font: inherit; font-size: 14px; font-weight: 700; color: var(--bbj-ink); cursor: pointer; flex: none; }
.bbj-rf__added { font-size: 13px; font-weight: 700; color: var(--bbj-safe); }
.bbj-rf__secbody { display: flex; flex-direction: column; gap: 12px; }

.bbj-rf__drop { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px; border-radius: 14px; border: 1.5px dashed #C9CDD3; background: #F6F7F9; text-align: center; color: var(--bbj-muted); }
.bbj-rf__pick { position: relative; overflow: hidden; align-self: center; }
.bbj-rf__file { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.bbj-rf__thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bbj-rf__thumbs:empty { display: none; }
.bbj-rf__thumbs li { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bbj-soft); }
.bbj-rf__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bbj-rf__thumbs span { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 6px; font-size: 12px; background: rgba(20, 22, 26, .72); color: #fff; }

.bbj-rf__strengthhead { display: flex; justify-content: space-between; align-items: baseline; }
.bbj-rf__strengthval { font-size: 22px; font-weight: 800; color: var(--bbj-safe); }
.bbj-rf__bar { height: 12px; border-radius: 12px; background: #EEF0F2; overflow: hidden; }
.bbj-rf__bar span { display: block; height: 100%; border-radius: 12px; background: var(--bbj-safe); transition: width .3s; }
.bbj-rf__finish { width: 100%; }

/* Done. */
.bbj-rf__doneview { justify-content: center; }
.bbj-rf__center { max-width: 560px; margin: 24px auto 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.bbj-rf__bigcheck { width: 88px; height: 88px; border-radius: 999px; background: var(--bbj-safe-soft); color: var(--bbj-safe); display: flex; align-items: center; justify-content: center; }
.bbj-rf__bigcheck .bbj-rf__icon { width: 44px; height: 44px; }
.bbj-rf__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

.bbj-rf__note--alt { margin-top: -4px; font-size: 13px; }
.bbj-rf__note--alt a { color: inherit; text-decoration: underline; }
