/* DFS Client Enquiry — 问卷表单样式（只在含 [dfs_inquiry] 的页面加载）
   颜色沿用主题变量：--ink #1c2430 / --muted #5b6675 / --line #e8ecf1 / --green #2f9e63 */

.inq {
	max-width: 660px;
	margin: 0 0 10px;
}

.inq-head {
	margin: 0 0 20px;
}

.inq-head h2 {
	font-size: 22px;
	line-height: 1.35;
	margin: 0 0 8px;
	color: var(--ink);
}

.inq-head p {
	margin: 0;
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.65;
}

.inq-head a,
.inq-consent a {
	color: var(--green);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.inq-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 30px 32px 26px;
	box-shadow: 0 12px 34px rgba(20, 40, 30, .07);
}

.inq-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 18px;
}

.inq-f {
	margin-bottom: 18px;
}

.inq-l {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--ink);
	margin-bottom: 7px;
	line-height: 1.5;
}

.inq-l .req,
.inq-consent .req {
	color: #d1495b;
}

.inq-i {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 11px 13px;
	font: inherit;
	font-size: 14.5px;
	color: var(--ink);
	background: #fff;
	transition: border-color .15s, box-shadow .15s;
}

.inq-i:focus {
	outline: none;
	border-color: var(--green);
	box-shadow: 0 0 0 3px rgba(47, 158, 99, .12);
}

textarea.inq-i {
	min-height: 104px;
	resize: vertical;
	line-height: 1.6;
}

select.inq-i {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b6675' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 13px center;
	padding-right: 36px;
}

.inq-radio {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 2px;
}

.inq-radio label {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 14.5px;
	color: #374151;
	cursor: pointer;
	line-height: 1.5;
}

.inq-radio input {
	margin-top: 3px;
	accent-color: var(--green);
	flex: none;
}

.inq-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13.5px;
	color: var(--muted);
	line-height: 1.6;
	margin: 4px 0 20px;
	cursor: pointer;
}

.inq-consent input {
	margin-top: 3px;
	accent-color: var(--green);
	flex: none;
}

.inq-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.inq-act {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.inq-btn {
	background: var(--green);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 13px 30px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s, transform .1s;
}

.inq-btn:hover {
	background: #268052;
}

.inq-btn:active {
	transform: translateY(1px);
}

.inq-btn[disabled] {
	opacity: .6;
	cursor: default;
}

.inq-hint {
	font-size: 12.5px;
	color: #8b95a2;
}

.inq-msg {
	display: none;
	margin-top: 16px;
	font-size: 14px;
	line-height: 1.6;
	padding: 11px 14px;
	border-radius: 10px;
}

.inq-msg.on {
	display: block;
}

.inq-msg.err {
	background: #fdf2f2;
	border: 1px solid #f3d3d5;
	color: #9d2a2c;
}

.inq-msg.good {
	background: #eef8f2;
	border: 1px solid #cfe9dc;
	color: #1b6b41;
}

.inq-done {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 38px 34px;
	text-align: center;
	box-shadow: 0 12px 34px rgba(20, 40, 30, .07);
}

.inq-done-i {
	width: 52px;
	height: 52px;
	line-height: 52px;
	border-radius: 50%;
	background: #e7f5ed;
	color: var(--green);
	font-size: 26px;
	margin: 0 auto 16px;
}

.inq-done h3 {
	font-size: 19px;
	margin: 0 0 8px;
	color: var(--ink);
}

.inq-done p {
	margin: 0 auto;
	max-width: 440px;
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.65;
}

.inq-done a {
	color: var(--green);
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (max-width: 620px) {
	.inq-grid {
		grid-template-columns: 1fr;
	}

	.inq-card {
		padding: 24px 20px 20px;
		border-radius: 14px;
	}

	.inq-btn {
		width: 100%;
	}
}
