.ccrgpd {
	position: fixed;
	inset: auto 0 0;
	z-index: 999999;
	padding: 0;
	background: rgba(18, 22, 18, 0.28);
	box-sizing: border-box;
}

.ccrgpd[hidden],
.ccrgpd-open[hidden],
.ccrgpd__choices[hidden],
.ccrgpd__button[hidden] {
	display: none !important;
}

.ccrgpd__panel {
	width: 100%;
	max-width: none;
	margin: 0 auto;
	padding: 22px max(18px, calc((100vw - 1180px) / 2));
	background: #fff;
	border: 1px solid rgba(135, 164, 124, 0.28);
	border-left: 0;
	border-right: 0;
	border-bottom: 0;
	box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
	box-sizing: border-box;
}

.ccrgpd__content {
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.ccrgpd h2 {
	margin: 0 !important;
	font-family: "Raleway", sans-serif !important;
	font-size: 22px !important;
	line-height: 1.25 !important;
	letter-spacing: 0 !important;
	color: #4f7048 !important;
	text-align: left !important;
}

.ccrgpd__text,
.ccrgpd__text p,
.ccrgpd__choice small {
	color: #333;
	font-family: "Raleway", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.55;
	text-align: left;
}

.ccrgpd__text p {
	margin: 0 0 8px;
	padding: 0;
}

.ccrgpd__text p:last-child {
	margin-bottom: 0;
}

.ccrgpd__text a {
	color: #4f7048;
	text-decoration: underline;
}

.ccrgpd__choices {
	display: grid;
	gap: 10px;
	margin-top: 18px;
}

.ccrgpd__choice {
	display: flex;
	gap: 16px;
	justify-content: space-between;
	align-items: center;
	padding: 12px 14px;
	background: #f7f8f4;
	border: 1px solid rgba(135, 164, 124, 0.18);
	box-sizing: border-box;
}

.ccrgpd__choice strong {
	display: block;
	color: #253421;
	font-size: 14px;
	line-height: 1.35;
}

.ccrgpd__choice small {
	display: block;
	margin-top: 3px;
}

.ccrgpd__choice input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: #87a47c;
}

.ccrgpd__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 18px;
}

.ccrgpd__button,
.ccrgpd-open {
	appearance: none;
	border-radius: 0;
	font-family: "Raleway", Arial, sans-serif;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ccrgpd__button {
	min-height: 42px;
	padding: 10px 16px;
	border: 1px solid #87a47c;
	font-size: 14px;
	line-height: 1.2;
}

.ccrgpd__button--primary {
	background: #87a47c;
	color: #fff;
}

.ccrgpd__button--primary:hover,
.ccrgpd__button--primary:focus {
	background: #6f8f64;
	border-color: #6f8f64;
	color: #fff;
}

.ccrgpd__button--ghost {
	background: #fff;
	color: #4f7048;
}

.ccrgpd__button--ghost:hover,
.ccrgpd__button--ghost:focus {
	background: #f0f4ec;
	color: #253421;
}

.ccrgpd-open {
	position: fixed;
	left: 10px;
	bottom: 10px;
	z-index: 999998;
	display: inline-block;
	width: auto !important;
	min-width: 0;
	max-width: calc(100vw - 20px);
	padding: 6px 9px;
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid rgba(135, 164, 124, 0.28);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	color: rgba(79, 112, 72, 0.78);
	font-size: 11px;
	line-height: 1.2;
	opacity: 0.72;
}

.ccrgpd-open:hover,
.ccrgpd-open:focus {
	background: #fff;
	color: #253421;
	opacity: 1;
}

@media (max-width: 767px) {
	.ccrgpd {
		padding: 10px;
	}

	.ccrgpd__panel {
		max-height: calc(100vh - 20px);
		overflow: auto;
		padding: 18px;
	}

	.ccrgpd__content {
		display: block;
	}

	.ccrgpd h2 {
		margin-bottom: 10px !important;
		font-size: 20px !important;
	}

	.ccrgpd__actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	.ccrgpd__button {
		width: 100%;
	}
}
