.ihqp-public,
.ihqp-public *,
.ihqp-editor,
.ihqp-editor * {
	box-sizing: border-box;
}

.ihqp-public {
	margin-top: 14px;
	color: #17191d;
}

.ihqp-public__intro {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}

.ihqp-public__intro h2 {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
}

.ihqp-public__intro p {
	margin: 0;
	color: #68645f;
	font-size: 14px;
	line-height: 1.4;
	text-align: right;
}

.ihqp-public__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 7px;
}

.ihqp-public__card {
	display: flex;
	min-width: 0;
	min-height: 104px;
	flex-direction: column;
	justify-content: center;
	gap: 7px;
	padding: 12px 9px;
	border: 1px solid #e4ded5;
	border-radius: 10px;
	background: #fffdfa;
	box-shadow: 0 1px 2px rgba(31, 28, 24, 0.04);
	text-align: center;
}

.ihqp-public__label {
	display: block;
	color: #111827;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.ihqp-public__value {
	color: #b96500;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.1;
	white-space: nowrap;
}

.ihqp-editor {
	margin-top: 24px;
	padding: 22px;
	border: 1px solid #dcdcde;
	border-radius: 12px;
	background: #fff;
}

.ihqp-editor__header h2,
.ihqp-editor__header p {
	margin-top: 0;
}

.ihqp-editor__header h2 {
	margin-bottom: 8px;
}

.ihqp-editor__header > p:last-child {
	margin-bottom: 16px;
	color: #50575e;
}

.ihqp-editor__eyebrow {
	margin-bottom: 5px;
	color: #996000;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ihqp-editor__status {
	margin: 0 0 16px;
	padding: 10px 12px;
	border-radius: 8px;
	font-weight: 600;
}

.ihqp-editor__status.is-visible {
	background: #edf7ed;
	color: #1e5c28;
}

.ihqp-editor__status.is-hidden {
	background: #fff6e8;
	color: #704600;
}

.ihqp-editor__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.ihqp-editor__card {
	display: grid;
	align-content: start;
	gap: 10px;
	min-width: 0;
	margin: 0;
	padding: 14px;
	border: 1px solid #dcdcde;
	border-radius: 10px;
}

.ihqp-editor__card legend {
	padding: 0 5px;
	font-weight: 700;
}

.ihqp-editor__card label:not(.ihqp-editor__check) {
	display: grid;
	gap: 5px;
}

.ihqp-editor__card label > span {
	font-size: 13px;
	font-weight: 600;
}

.ihqp-editor__card input[type="number"],
.ihqp-editor__card select {
	width: 100%;
	min-height: 42px;
	margin: 0;
	padding: 7px 9px;
	border: 1px solid #8c8f94;
	border-radius: 7px;
	background: #fff;
	font: inherit;
}

.ihqp-editor__check {
	display: flex;
	align-items: center;
	gap: 7px;
}

.ihqp-editor__submit {
	min-height: 42px;
	margin-top: 14px;
	padding: 9px 15px;
	border: 0;
	border-radius: 8px;
	background: #c96e00;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.ihqp-editor__submit:disabled {
	cursor: wait;
	opacity: 0.65;
}

@media (max-width: 781px) {
	.ihqp-public {
		margin: 18px 0 14px;
	}

	.ihqp-public__intro {
		align-items: flex-end;
	}

	.ihqp-public__intro h2 {
		font-size: 17px;
	}

	.ihqp-public__intro p {
		max-width: 250px;
	}

	.ihqp-public__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.ihqp-public__card {
		min-height: 96px;
		padding: 11px 12px;
	}

	.ihqp-editor {
		padding: 16px;
	}

	.ihqp-editor__grid {
		grid-template-columns: 1fr;
	}
}
