.b08-inbound {
	max-width: 36rem;
	margin: 0 auto;
}

.b08-inbound__intro {
	margin: 0 0 1.25rem;
	opacity: 0.9;
}

.b08-inbound__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin-bottom: 1rem;
	font-weight: 600;
}

.b08-inbound__label {
	font-size: 0.92rem;
}

.b08-inbound__label-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.b08-inbound__field input[type="text"],
.b08-inbound__field input[type="file"],
.b08-inbound__field select,
.b08-inbound__field textarea {
	font: inherit;
	font-weight: 400;
	padding: 0.7rem 0.8rem;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 0.35rem;
	background: #fff;
}

.b08-inbound__field textarea {
	resize: vertical;
	min-height: 8rem;
}

.b08-inbound__hint {
	font-size: 0.8rem;
	font-weight: 400;
	opacity: 0.7;
}

.b08-inbound__file-name {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 600;
	color: #1a1a1a;
}

.b08-inbound__media-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

/* Smartphone-only tools: hidden by default, shown via JS + coarse pointer. */
.b08-inbound__mobile-only {
	display: none !important;
}

.b08-inbound.is-smartphone .b08-inbound__mobile-only:not([hidden]) {
	display: inline-flex !important;
}

.b08-inbound.is-smartphone .b08-inbound__media-actions.b08-inbound__mobile-only:not([hidden]) {
	display: flex !important;
}

.b08-inbound.is-smartphone .b08-inbound__hint.b08-inbound__mobile-only:not([hidden]) {
	display: block !important;
}

.b08-inbound__tool-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-height: 2.5rem;
	padding: 0.45rem 0.9rem;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 0.35rem;
	background: #f7f7f7;
	color: #111;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.b08-inbound__tool-btn:active {
	transform: scale(0.98);
}

.b08-inbound__tool-btn.is-listening {
	background: #e30613;
	border-color: #e30613;
	color: #fff;
	animation: b08-inbound-pulse 1.2s ease-in-out infinite;
}

.b08-inbound__tool-btn.is-busy {
	opacity: 0.85;
	cursor: wait;
}

.b08-inbound__speech-status {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 600;
	color: #333;
}

.b08-inbound__speech-status.is-busy {
	color: #e30613;
}

.b08-inbound.is-smartphone .b08-inbound__speech-status.b08-inbound__mobile-only:not([hidden]) {
	display: block !important;
}

@keyframes b08-inbound-pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.72;
	}
}

.b08-inbound__sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.b08-inbound__honeypot {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.b08-inbound__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 3rem;
	margin-top: 0.5rem;
	border: 0;
	border-radius: 0.35rem;
	background: #e30613;
	color: #fff;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.b08-inbound__submit:disabled {
	opacity: 0.65;
	cursor: wait;
}

.b08-inbound__progress,
.b08-inbound__result {
	margin-top: 1.5rem;
	padding: 1rem 1.15rem;
	background: #fff;
	border-radius: 0.35rem;
	border-left: 4px solid #e30613;
}

.b08-inbound__progress-title {
	margin: 0 0 0.75rem;
	font-weight: 800;
}

.b08-inbound__steps {
	list-style: none;
	margin: 0;
	padding: 0;
}

.b08-inbound__steps li {
	padding: 0.25rem 0;
	opacity: 0.45;
}

.b08-inbound__steps li.is-active {
	opacity: 1;
	font-weight: 700;
}

.b08-inbound__steps li.is-done {
	opacity: 0.9;
}

.b08-inbound__steps li.is-done::before {
	content: "✓ ";
	color: #e30613;
	font-weight: 800;
}

.b08-inbound__view {
	display: inline-flex;
	margin-top: 0.75rem;
	padding: 0.7rem 1rem;
	background: #e30613;
	color: #fff !important;
	text-decoration: none;
	font-weight: 800;
	border-radius: 0.35rem;
}

.b08-inbound__error {
	margin-top: 1rem;
	color: #8a0f14;
	font-weight: 600;
}

.b08-inbound [hidden] {
	display: none !important;
}
