.senboku-input-mode {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	margin: 0 0 16px;
}

.senboku-input-mode label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	color: #4d3b2b;
	font-weight: 700;
	line-height: 1.5;
	cursor: pointer;
}

.senboku-input-mode input[type="radio"] {
	margin: 0;
}

.senboku-prefill-block {
	margin: 0 0 18px;
	padding: 18px;
	border: 2px dashed #f1a43a;
	border-radius: 18px;
	background: transparent;
}

.senboku-prefill-block.is-hidden {
	display: none;
}

.senboku-prefill-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 16px;
	margin-bottom: 14px;
}

.senboku-prefill-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 24px;
	border: 0;
	border-radius: 999px;
	background: #f1a43a;
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 2px 0 rgba(193, 124, 33, .35);
	transition: background-color .18s ease, transform .18s ease, opacity .18s ease;
}

.senboku-prefill-submit:hover,
.senboku-prefill-submit:focus-visible {
	background: #e0922a;
	outline: 3px solid rgba(241, 164, 58, .25);
	transform: translateY(-1px);
}

.senboku-prefill-submit:disabled {
	background: #a9b6ad;
	cursor: not-allowed;
	opacity: .78;
}

.senboku-prefill-error {
	margin: 12px 0 0;
	color: #b3261e;
	font-weight: 700;
	line-height: 1.6;
}

.senboku-prefill-readonly {
	background: #f3f4f6 !important;
	color: #5b6470;
	cursor: not-allowed;
}

.senboku-prefill-reset {
	padding: 0;
	border: 0;
	background: transparent;
	color: #1f6f9f;
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.senboku-prefill-reset:hover,
.senboku-prefill-reset:focus-visible {
	background: transparent;
	color: #164f72;
	outline: 3px solid rgba(31, 111, 159, .18);
}

@media (max-width: 600px) {
	.senboku-input-mode {
		display: grid;
		gap: 10px;
	}

	.senboku-prefill-row {
		grid-template-columns: 1fr;
	}
}
