.hy-form p { margin: 0 0 1em; }
.hy-form label { display: block; font-weight: 600; margin-bottom: .25em; }
.hy-form input[type="text"],
.hy-form input[type="email"],
.hy-form input[type="url"],
.hy-form input[type="password"],
.hy-form select,
.hy-form textarea { width: 100%; max-width: 480px; padding: .5em; box-sizing: border-box; }
.hy-form button { padding: .6em 1.4em; cursor: pointer; }
.hy-error { color: #b32d2e; }
.hy-notice { color: #2e7d32; }
.hy-my-businesses { list-style: none; padding: 0; }
.hy-my-businesses li { padding: .5em 0; border-bottom: 1px solid #eee; }

/* ========================================================================
 * Phase 2A: Claim Page V2 (shortcode output — /claim-listing-listing/)
 * ======================================================================== */

.hy-claim-v2 {
	max-width: 640px;
	margin: 0 auto;
	padding: 32px 0;
	font-family: inherit;
}

.hy-claim-v2-header {
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e5e7eb;
}

.hy-claim-v2-title {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 4px;
}

.hy-claim-v2-subtitle {
	font-size: 14px;
	color: #6b7280;
	margin: 0;
}

.hy-claim-v2-notice {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 8px;
	padding: 16px 20px;
	margin-bottom: 16px;
	color: #166534;
	font-size: 14px;
	line-height: 1.6;
}

.hy-claim-v2-notice p {
	margin: 0;
}

.hy-claim-v2-notice p + p {
	margin-top: 8px;
}

.hy-claim-v2-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 8px;
	padding: 16px 20px;
	margin-bottom: 16px;
	color: #991b1b;
	font-size: 14px;
	line-height: 1.6;
}

.hy-claim-v2-info {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.7;
	color: #374151;
}

.hy-claim-v2-info p {
	margin: 0 0 12px;
}

.hy-claim-v2-info p:last-child {
	margin-bottom: 0;
}

.hy-claim-v2-login {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 24px;
	margin-bottom: 20px;
	text-align: center;
}

.hy-claim-v2-login p {
	font-size: 14px;
	color: #374151;
	margin: 0 0 16px;
}

.hy-claim-v2-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
}

.hy-claim-v2-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 20px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid #d1d5db;
	background: #fff;
	color: #374151;
	transition: background 0.15s, border-color 0.15s;
}

.hy-claim-v2-btn:hover {
	background: #f3f4f6;
	border-color: #9ca3af;
}

.hy-claim-v2-btn-primary {
	background: #FFC400;
	border-color: #FFC400;
	color: #16181B;
}

.hy-claim-v2-btn-primary:hover {
	background: #E6B000;
	border-color: #E6B000;
}

.hy-claim-v2-form {
	margin-top: 16px;
}

.hy-claim-v2-form textarea {
	width: 100%;
	max-width: 100%;
	min-height: 80px;
	padding: 10px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 14px;
	resize: vertical;
	box-sizing: border-box;
}

.hy-claim-v2-form label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 6px;
}

.hy-claim-v2-back {
	margin-top: 20px;
	font-size: 13px;
}

.hy-claim-v2-back a {
	color: #16181B;
	text-decoration: underline;
}

.hy-claim-v2-back a:hover {
	text-decoration: underline;
}

/* ========================================================================
 * Phase 2A: Business Detail V2 — claim section state variants
 * (content-listing-single.php .hbd-claim)
 * ======================================================================== */

.hbd-claim {
	border-radius: 8px;
}

.hbd-claim-owner {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	padding: 20px;
}

.hbd-claim-owner h2 {
	color: #166534;
}

.hbd-claim-admin {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	padding: 20px;
}

.hbd-claim-admin h2 {
	color: #1e40af;
}

.hbd-claim-claimed {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	padding: 20px;
}

.hbd-claim-pending-mine {
	background: #fffbeb;
	border: 1px solid #fde68a;
	padding: 20px;
}

.hbd-claim-pending-mine h2 {
	color: #92400e;
}

.hbd-claim-pending-other {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	padding: 20px;
}

.hbd-claim-unclaimed {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	padding: 20px;
}

/* ========================================================================
 * Claim V1（认领页前台重做 — 追加在 Phase 2A 之上，mobile-first）
 * ======================================================================== */

/* 商家摘要卡：申请人确认「我要认领的是这家店」 */
.hy-claim-summary {
	display: flex;
	gap: 14px;
	align-items: center;
	background: #fff;
	border: 1px solid #ECECE7;
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 16px;
}

.hy-claim-summary-thumb img {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 8px;
}

.hy-claim-summary-body {
	min-width: 0;
}

.hy-claim-summary-name {
	font-size: 16px;
	font-weight: 700;
	color: #16181B;
	margin: 0 0 6px;
	word-break: break-word;
}

.hy-claim-summary-line {
	font-size: 13px;
	color: #4B5563;
	margin: 2px 0;
	line-height: 1.5;
}

.hy-claim-summary-line span {
	display: inline-block;
	margin-right: 8px;
	color: #9CA3AF;
}

/* 认领资料表单 */
.hy-claim-fields p {
	margin: 0 0 14px;
}

.hy-claim-fields label {
	font-size: 14px;
	color: #16181B;
}

.hy-claim-fields input[type="text"],
.hy-claim-fields input[type="email"],
.hy-claim-fields input[type="tel"],
.hy-claim-fields select,
.hy-claim-fields textarea {
	border: 1px solid #D1D5DB;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 15px;
	background: #fff;
	color: #16181B;
	max-width: 100%;
}

.hy-claim-fields input:focus,
.hy-claim-fields select:focus,
.hy-claim-fields textarea:focus {
	outline: 2px solid #FFC400;
	outline-offset: 1px;
	border-color: #16181B;
}

@media (min-width: 640px) {
	.hy-claim-fields {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0 16px;
	}

	.hy-claim-fields p {
		margin: 0 0 14px;
	}

	.hy-claim-fields .hy-claim-fields-wide,
	.hy-claim-fields p:last-child {
		grid-column: 1 / -1;
	}
}

/* 提交成功 / 审核中提示 */
.hy-claim-v2-notice-title {
	font-size: 16px;
	font-weight: 700;
	color: #14532D;
}

/* STATE F 管理员后台入口降级为小字链接，不做主 CTA */
.hy-claim-v2-adminlink {
	font-size: 12px;
	opacity: .75;
}

.hy-claim-v2-adminlink a {
	color: #4B5563;
	text-decoration: underline;
}
