/* ----------------------------------------------------------------------
   Visitor question box — single-line, not form-like
   ---------------------------------------------------------------------- */

.scb-contact-box {
	margin: 1.25em 0;
	padding: 0 !important;
	background: none !important;
	text-align: left;
	width: 100%;
	max-width: 100%;
	position: relative;
}

.scb-vq-line {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: nowrap;
	gap: 0.5em;
	width: 100%;
	padding: 0.65em 0.85em;
	border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
	border-radius: 4px;
	background: color-mix(in srgb, currentColor 4%, transparent);
	box-sizing: border-box;
	overflow: hidden;
	text-align: left;
}

.scb-vq-line.scb-vq-hidden,
.scb-vq-line[hidden] {
	display: none !important;
}

/* Collapsed: prompt only — tap/click to expand into an input. */
.scb-vq-line.scb-vq-collapsed {
	cursor: pointer;
}

.scb-vq-line.scb-vq-collapsed .scb-vq-input-track,
.scb-vq-line.scb-vq-collapsed .scb-vq-input-wrap,
.scb-vq-line.scb-vq-collapsed .scb-vq-contact-fields,
.scb-vq-line.scb-vq-collapsed .scb-vq-extra-fields,
.scb-vq-line.scb-vq-collapsed .scb-vq-human-answer-wrap,
.scb-vq-line.scb-vq-collapsed [data-scb-vq-human-next],
.scb-vq-line.scb-vq-collapsed .scb-vq-submit[data-scb-vq-next],
.scb-vq-line.scb-vq-collapsed .scb-vq-submit[data-scb-vq-name-next],
.scb-vq-line.scb-vq-collapsed .scb-vq-submit[data-scb-vq-email-next],
.scb-vq-line.scb-vq-collapsed .scb-vq-submit[data-scb-vq-phone-next],
.scb-vq-line.scb-vq-collapsed .scb-vq-submit[data-scb-vq-human-next],
.scb-vq-line.scb-vq-collapsed .scb-vq-inline-action,
.scb-vq-line.scb-vq-collapsed .scb-vq-submit[data-scb-vq-extra-next],
.scb-vq-line.scb-vq-collapsed .scb-vq-submit[data-scb-vq-submit] {
	display: none !important;
}

.scb-vq-line.scb-vq-collapsed .scb-vq-prompt-trigger {
	flex: 1 1 auto;
	cursor: pointer;
	opacity: 0.85;
	min-width: 0;
	text-align: left;
}

.scb-vq-line:not(.scb-vq-collapsed) .scb-vq-prompt-trigger {
	display: none !important;
}

.scb-vq-line.scb-vq-collapsed .scb-vq-contact-label {
	display: none !important;
}

.scb-vq-line:not(.scb-vq-collapsed) .scb-vq-contact-label {
	flex: 0 1 auto;
	white-space: nowrap;
}

.scb-vq-line.scb-vq-collapsed .scb-vq-human-label {
	display: none !important;
}

.scb-vq-line:not(.scb-vq-collapsed) .scb-vq-human-label {
	flex: 0 1 auto;
	white-space: nowrap;
}

.scb-vq-line.scb-vq-collapsed .scb-vq-extra-label {
	display: none !important;
}

.scb-vq-line:not(.scb-vq-collapsed) .scb-vq-extra-label {
	flex: 0 1 auto;
	white-space: nowrap;
}

.scb-vq-extra-fields {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
	gap: 0.5em;
}

.scb-vq-line.scb-vq-extra-tags:not(.scb-vq-collapsed) {
	flex-wrap: nowrap;
	align-items: center;
	min-width: 0;
}

.scb-vq-line.scb-vq-extra-tags:not(.scb-vq-collapsed) .scb-vq-extra-label {
	flex: 0 1 auto;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.scb-vq-line.scb-vq-extra-tags.scb-vq-extra-chosen:not(.scb-vq-collapsed) .scb-vq-extra-label {
	display: none;
}

.scb-vq-line.scb-vq-extra-tags:not(.scb-vq-collapsed) .scb-vq-extra-fields {
	flex: 1 1 auto;
	min-width: 0;
	flex-direction: row;
	align-items: center;
	gap: 0.35em;
	overflow: visible;
}

.scb-vq-tags-track {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
	gap: 0.35em;
}

.scb-vq-line.scb-vq-extra-tags:not(.scb-vq-collapsed) .scb-vq-extra-bubbles {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	min-width: 0;
}

.scb-vq-line.scb-vq-extra-tags.scb-vq-extra-chosen:not(.scb-vq-collapsed) .scb-vq-tags-track {
	flex: 0 1 auto;
	min-width: 0;
	overflow: visible;
}

.scb-vq-line.scb-vq-extra-tags.scb-vq-extra-chosen:not(.scb-vq-collapsed) .scb-vq-extra-fields {
	flex: 1 1 auto;
	min-width: 0;
	overflow: visible;
}

.scb-vq-line.scb-vq-extra-tags.scb-vq-extra-chosen:not(.scb-vq-collapsed) .scb-vq-extra-bubbles {
	flex: 0 0 auto;
	min-width: 0;
	max-width: none;
	overflow: visible;
}

.scb-vq-line.scb-vq-extra-tags.scb-vq-extra-chosen:not(.scb-vq-collapsed) .scb-vq-inline-action--static {
	flex-shrink: 0;
	white-space: nowrap;
}

.scb-vq-line.scb-vq-extra-tags.scb-vq-extra-chosen:not(.scb-vq-collapsed) .scb-vq-extra-bubble:not(.scb-vq-method-bubble--active) {
	display: none !important;
}

.scb-vq-line.scb-vq-extra-tags.scb-vq-extra-chosen:not(.scb-vq-collapsed) .scb-vq-method-bubble--active {
	flex: 0 1 auto;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

.scb-vq-human-answer-wrap {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
	gap: 0.5em;
}

.scb-vq-human-answer-wrap .scb-vq-input {
	flex: 1 1 auto;
	min-width: 0;
}

.scb-vq-human-wrong-msg {
	flex: 0 0 auto;
	white-space: nowrap;
	font-style: italic;
	opacity: 0.75;
	color: color-mix(in srgb, #c0392b 72%, currentColor);
}

.scb-vq-human-wrong-msg.scb-vq-hidden {
	display: none !important;
}

.scb-vq-line.scb-vq-human-wrong-line .scb-vq-human-answer-wrap [data-scb-vq-human-answer] {
	display: none !important;
}

.scb-vq-line.scb-vq-human-wrong-line [data-scb-vq-human-next] {
	display: none !important;
}

.scb-vq-human-retry {
	flex: 0 0 auto;
	white-space: nowrap;
	cursor: pointer;
	opacity: 0.85;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.scb-vq-human-retry.scb-vq-hidden {
	display: none !important;
}

.scb-vq-saved-answer {
	flex: 0 0 auto;
	white-space: nowrap;
	opacity: 0.85;
	font-size: 0.95em;
}

.scb-vq-saved-answer.scb-vq-hidden {
	display: none !important;
}

.scb-vq-contact-fields {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
	gap: 0.5em;
}

.scb-vq-prompt {
	flex: 0 1 auto;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 0.95em;
	opacity: 0.85;
	text-align: left;
}

.scb-vq-input {
	flex: 1 1 auto;
	min-width: 6em;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	padding: 0 !important;
	margin: 0 !important;
	font: inherit;
	color: inherit;
	text-align: left;
}

.scb-vq-input.scb-vq-human-wrong {
	opacity: 0.7;
	font-style: italic;
	color: color-mix(in srgb, #c0392b 72%, currentColor) !important;
	transition: opacity 0.2s ease, color 0.2s ease;
}

.scb-contact-box .scb-vq-input {
	text-transform: none !important;
}

.scb-contact-box .scb-vq-input::placeholder {
	text-align: left;
	opacity: 0.85;
}

.scb-vq-input-track {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	overflow: hidden;
	text-align: left;
}

.scb-vq-input-wrap--scroll-long {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15em;
}

.scb-vq-input-wrap--scroll-long .scb-vq-input-track {
	flex: 1 1 auto;
	width: 100%;
}

.scb-vq-scroll-rail {
	width: 100%;
	height: 32px;
	margin: 0;
	padding: 12px 0;
	background: transparent;
	border: 0;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	box-sizing: border-box;
	touch-action: pan-x;
}

.scb-vq-scroll-rail.scb-vq-hidden {
	display: none !important;
}

.scb-vq-scroll-rail::-webkit-slider-runnable-track {
	height: 5px;
	border-radius: 999px;
	background: color-mix(in srgb, currentColor 16%, transparent);
}

.scb-vq-scroll-rail::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 32px;
	height: 32px;
	margin-top: -13px;
	border-radius: 999px;
	background: color-mix(in srgb, currentColor 42%, transparent);
	border: 0;
	box-shadow: 0 0 0 1px color-mix(in srgb, currentColor 12%, transparent);
}

.scb-vq-scroll-rail::-moz-range-track {
	height: 5px;
	border-radius: 999px;
	background: color-mix(in srgb, currentColor 16%, transparent);
	border: 0;
}

.scb-vq-scroll-rail::-moz-range-thumb {
	width: 32px;
	height: 32px;
	border-radius: 999px;
	background: color-mix(in srgb, currentColor 42%, transparent);
	border: 0;
	box-shadow: 0 0 0 1px color-mix(in srgb, currentColor 12%, transparent);
}

.scb-vq-input-track .scb-vq-input[type="text"] {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	overflow: hidden;
	text-overflow: clip;
}

/* Main message: short text follows caret; overflow pins Send at the end with a scroll bar. */
.scb-vq-input-track.scb-vq-input-track--scroll-long.scb-vq-input-track--overflow {
	display: flex;
	align-items: center;
	overflow: visible;
}

.scb-vq-line:not(.scb-vq-collapsed):has(.scb-vq-input-track--overflow) {
	overflow: visible;
}

.scb-vq-input-track.scb-vq-input-track--scroll-long.scb-vq-input-track--overflow .scb-vq-input[type="text"] {
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
}

.scb-vq-input-track.scb-vq-input-track--scroll-long.scb-vq-input-track--overflow .scb-vq-inline-action {
	position: static;
	transform: none;
	flex: 0 0 auto;
	margin-left: 0.15em;
	box-shadow: -8px 0 8px color-mix(in srgb, currentColor 4%, transparent);
}

.scb-vq-input-mirror {
	position: absolute;
	top: 0;
	left: 0;
	visibility: hidden;
	white-space: pre;
	font: inherit;
	line-height: inherit;
	padding: 0;
	margin: 0;
	border: 0;
	pointer-events: none;
}

.scb-vq-inline-action {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	border: 0 !important;
	background: color-mix(in srgb, currentColor 4%, transparent) !important;
	padding: 0 0 0 1px !important;
	margin: 0 !important;
	cursor: pointer;
	font: inherit;
	color: inherit;
	opacity: 0.9;
	white-space: nowrap;
	line-height: 1;
	box-shadow: -6px 0 6px color-mix(in srgb, currentColor 4%, transparent);
}

.scb-vq-inline-action:hover,
.scb-vq-inline-action:focus {
	opacity: 1;
	text-decoration: underline;
}

.scb-vq-inline-action.scb-vq-hidden {
	display: none !important;
}

.scb-vq-inline-action--static {
	position: static;
	transform: none;
	box-shadow: none;
	flex: 0 0 auto;
}

.scb-vq-line:not(.scb-vq-collapsed) > .scb-vq-submit {
	margin-left: auto;
	flex-shrink: 0;
}

.scb-vq-select-track {
	display: flex;
	align-items: center;
	flex: 0 1 auto;
	min-width: 0;
	gap: 0.35em;
}

.scb-vq-line.scb-vq-extra-dropdown:not(.scb-vq-collapsed),
.scb-vq-line.scb-vq-extra-tags:not(.scb-vq-collapsed) {
	align-items: center;
}

.scb-vq-select {
	flex: 0 0 auto;
	max-width: 7em;
	border: 0 !important;
	background: transparent !important;
	font: inherit;
	color: inherit;
	padding: 0 !important;
	margin: 0 !important;
	cursor: pointer;
}

.scb-vq-line.scb-vq-contact-tags:not(.scb-vq-collapsed) {
	flex-wrap: nowrap;
	align-items: center;
	min-width: 0;
}

.scb-vq-line.scb-vq-contact-tags:not(.scb-vq-collapsed) .scb-vq-contact-label {
	flex: 0 1 auto;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.scb-vq-line.scb-vq-contact-tags.scb-vq-method-chosen:not(.scb-vq-collapsed) .scb-vq-contact-label {
	display: none;
}

.scb-vq-line.scb-vq-contact-tags:not(.scb-vq-collapsed) .scb-vq-contact-fields {
	flex: 1 1 auto;
	min-width: 0;
	flex-direction: row;
	align-items: center;
	gap: 0.35em;
	overflow: hidden;
}

.scb-vq-line.scb-vq-contact-tags.scb-vq-method-chosen:not(.scb-vq-collapsed) .scb-vq-method-bubbles {
	display: none !important;
}

.scb-vq-method-bubbles {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.25em;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	scroll-behavior: smooth;
	cursor: grab;
	touch-action: pan-x;
}

.scb-vq-method-bubbles::-webkit-scrollbar {
	display: none;
}

.scb-vq-method-bubbles.scb-vq-method-bubbles--dragging {
	cursor: grabbing;
	user-select: none;
}

.scb-vq-method-bubble {
	flex: 0 0 auto;
	border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
	border-radius: 999px;
	padding: 0.12em 0.5em;
	background: transparent !important;
	font: inherit;
	font-size: 0.81em;
	color: inherit;
	cursor: pointer;
	white-space: nowrap;
	line-height: 1.25;
}

.scb-vq-method-bubbles.scb-vq-method-bubbles--dragging .scb-vq-method-bubble {
	pointer-events: none;
}

.scb-vq-method-bubble:hover {
	background: color-mix(in srgb, currentColor 6%, transparent) !important;
}

.scb-vq-method-bubble--active {
	background: color-mix(in srgb, currentColor 12%, transparent) !important;
	border-color: color-mix(in srgb, currentColor 45%, transparent);
}

.scb-vq-line.scb-vq-contact-tags:not(.scb-vq-collapsed) .scb-vq-input-track {
	flex: 1 1 auto;
	min-width: 0;
}

.scb-vq-input-track.scb-vq-method-pending {
	display: none !important;
}

.scb-vq-name-input {
	flex: 0 1 auto;
	min-width: 4em;
	max-width: 9em;
}

.scb-vq-contact-input {
	flex: 1 1 auto;
	min-width: 4em;
}

.scb-vq-back,
.scb-vq-submit {
	flex: 0 0 auto;
	border: 0 !important;
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
	cursor: pointer;
	font: inherit;
	color: inherit;
	opacity: 0.7;
	line-height: 1;
}

.scb-vq-back:hover,
.scb-vq-submit:hover {
	opacity: 1;
}

.scb-vq-success .scb-vq-prompt {
	opacity: 1;
	white-space: normal;
}

.scb-vq-captcha {
	margin-top: 0.5em;
}

.scb-vq-captcha.scb-vq-captcha-turnstile {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
	margin: 0;
	padding: 0;
	border: 0;
}

.scb-vq-captcha.scb-vq-hidden {
	display: none;
}

.scb-contact-box.scb-vq-sending {
	opacity: 0.65;
	pointer-events: none;
}
