.p1ds-review-page {
	margin: 0;
	background: #f6f8fb;
	color: #172033;
	font-family: Arial, sans-serif;
}

.p1ds-review-shell {
	box-sizing: border-box;
	min-height: 100vh;
	padding: 48px 18px;
	display: grid;
	place-items: center;
}

.p1ds-review-card,
.p1ds-review-item {
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #dde3ea;
	border-radius: 8px;
	box-shadow: 0 18px 45px rgba(23, 32, 51, 0.08);
}

.p1ds-review-card {
	width: min(680px, 100%);
	padding: 32px;
}

.p1ds-review-card h1 {
	margin: 0 0 10px;
	color: #111827;
	font-size: 30px;
	line-height: 1.18;
}

.p1ds-review-card p {
	margin: 0 0 18px;
	color: #4b5563;
	font-size: 16px;
	line-height: 1.6;
}

.p1ds-review-kicker {
	color: #0f766e !important;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 12px !important;
	letter-spacing: 0 !important;
}

.p1ds-review-form {
	display: grid;
	gap: 12px;
	margin-top: 24px;
}

.p1ds-review-form label {
	color: #172033;
	font-size: 14px;
	font-weight: 700;
}

.p1ds-review-form input[type="text"],
.p1ds-review-form select,
.p1ds-review-form textarea {
	box-sizing: border-box;
	width: 100%;
	border: 1px solid #cfd7e2;
	border-radius: 6px;
	background: #fff;
	color: #172033;
	font-size: 16px;
	line-height: 1.4;
	padding: 12px 14px;
}

.p1ds-review-form textarea {
	resize: vertical;
	min-height: 140px;
}

.p1ds-review-form button,
.p1ds-admin-inline-form .button-primary {
	border: 0;
	border-radius: 6px;
	background: #e11d48;
	color: #fff;
	cursor: pointer;
	font-weight: 800;
	padding: 13px 18px;
	text-decoration: none;
}

.p1ds-review-form button:hover,
.p1ds-admin-inline-form .button-primary:hover {
	background: #be123c;
	color: #fff;
}

.p1ds-stars {
	display: inline-flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	width: fit-content;
	gap: 4px;
}

.p1ds-stars input {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.p1ds-stars label {
	color: #cbd5e1;
	cursor: pointer;
	font-size: 34px;
	line-height: 1;
	transition: color 140ms ease, transform 140ms ease;
}

.p1ds-stars label:hover,
.p1ds-stars label:hover ~ label,
.p1ds-stars input:checked ~ label {
	color: #f59e0b;
}

.p1ds-stars label:hover {
	transform: translateY(-1px);
}

.p1ds-review-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
	margin: 24px 0;
}

.p1ds-review-item {
	padding: 20px;
	box-shadow: none;
}

.p1ds-review-item h3 {
	margin: 8px 0;
	color: #111827;
	font-size: 18px;
	line-height: 1.3;
}

.p1ds-review-item p {
	margin: 0;
	color: #374151;
	line-height: 1.6;
}

.p1ds-review-stars {
	color: #f59e0b;
	font-size: 18px;
}

.p1ds-review-item footer {
	display: grid;
	gap: 2px;
	margin-top: 18px;
	color: #6b7280;
	font-size: 13px;
}

.p1ds-review-item footer strong {
	color: #172033;
	font-size: 14px;
}

.p1ds-review-item footer span {
	color: #0f766e;
	font-weight: 700;
}

.p1ds-review-reply {
	margin-top: 16px;
	border-left: 3px solid #e11d48;
	background: #fff5f7;
	padding: 12px 14px;
}

.p1ds-review-reply strong {
	display: block;
	color: #9f1239;
	margin-bottom: 4px;
}

.p1ds-review-summary {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	border: 1px solid #dde3ea;
	border-radius: 8px;
	background: #fff;
	color: #172033;
	padding: 12px 14px;
}

.p1ds-review-summary strong {
	font-size: 22px;
}

.p1ds-review-summary span {
	color: #f59e0b;
}

.p1ds-review-summary small {
	color: #6b7280;
}

.p1ds-review-empty {
	margin: 0;
	color: #6b7280;
}

.p1ds-admin-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
	margin: 16px 0;
	max-width: 760px;
}

.p1ds-admin-cards > div {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	padding: 16px;
}

.p1ds-admin-cards strong {
	display: block;
	color: #111827;
	font-size: 26px;
	line-height: 1.1;
}

.p1ds-admin-cards span {
	color: #646970;
}

.p1ds-review-reply-form {
	margin-top: 12px;
	display: grid;
	gap: 6px;
	max-width: 520px;
}

.p1ds-review-reply-form textarea {
	width: 100%;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 8px;
}

.p1ds-admin-inline-form {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 18px;
	padding: 12px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	max-width: 760px;
}

.p1ds-admin-inline-form label {
	font-weight: 700;
}

.p1ds-admin-inline-form input {
	max-width: 160px;
}

@media (max-width: 640px) {
	.p1ds-review-shell {
		padding: 24px 12px;
	}

	.p1ds-review-card {
		padding: 22px;
	}

	.p1ds-review-card h1 {
		font-size: 25px;
	}

	.p1ds-stars label {
		font-size: 30px;
	}
}
