/*
 * BnR forms — inherits the theme's Apple-clean tokens, with fallbacks.
 */
.bnrhs-form-wrap {
	--f-ink: var(--wp--preset--color--contrast, #1d1d1f);
	--f-muted: var(--wp--preset--color--muted, #5f6368);
	--f-line: var(--wp--preset--color--line, #d2d2d7);
	--f-blue: var(--wp--preset--color--primary, #0071e3);
	--f-blue-d: var(--wp--preset--color--primary-dark, #0058b8);
	--f-subtle: var(--wp--preset--color--subtle, #f5f5f7);
	--f-base: var(--wp--preset--color--base, #fff);
	max-width: 640px;
	color: var(--f-ink);
}

.bnrhs-form__field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.bnrhs-form__label { font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em; }
.bnrhs-form__req { color: var(--f-blue); }

.bnrhs-form__input {
	width: 100%; font: inherit; font-size: 1.0625rem;
	color: var(--f-ink); background: var(--f-base);
	border: 1px solid var(--f-line); border-radius: 12px;
	padding: 0.7rem 0.9rem; min-height: 46px;
}
select.bnrhs-form__input { appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
	background-image: linear-gradient(45deg, transparent 50%, var(--f-muted) 50%), linear-gradient(135deg, var(--f-muted) 50%, transparent 50%);
	background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
textarea.bnrhs-form__input { min-height: 96px; resize: vertical; }
input[type="file"].bnrhs-form__input { padding: 0.55rem 0.9rem; }
.bnrhs-form__input:focus { outline: none; border-color: var(--f-blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.14); }

.bnrhs-form__fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; }
.bnrhs-form__fieldset legend { padding: 0; margin-bottom: 0.5rem; }
.bnrhs-form__checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 0.4rem 1rem; }
.bnrhs-form__check { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; }
.bnrhs-form__check input { width: 18px; height: 18px; accent-color: var(--f-blue); }

.bnrhs-form__btn {
	display: inline-flex; align-items: center; justify-content: center;
	font: inherit; font-weight: 500; font-size: 1.0625rem;
	color: #fff; background: var(--f-blue); border: 0; border-radius: 980px;
	cursor: pointer; padding: 0.75rem 1.7rem; min-height: 46px; transition: background 0.15s ease;
}
.bnrhs-form__btn:hover { background: var(--f-blue-d); }
.bnrhs-form__btn:focus-visible { outline: 3px solid var(--f-blue); outline-offset: 2px; }
.bnrhs-form__btn[disabled] { opacity: 0.6; cursor: default; }

.bnrhs-form__error { color: #b3261e; font-size: 0.95rem; margin: 0.5rem 0; }
.bnrhs-form__error:empty { display: none; }
.bnrhs-form__fineprint { font-size: 0.85rem; color: var(--f-muted); margin: 0.75rem 0 0; }

.bnrhs-form__success {
	background: var(--f-subtle); border: 1px solid var(--f-line); border-radius: 16px;
	padding: 1.25rem 1.5rem; font-size: 1.05rem; font-weight: 500;
}

/* Honeypot — hidden from people + AT, present in the DOM. */
.bnrhs-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
