.analyticsConsent {
	position: fixed;
	z-index: 1000;
	right: max(16px, env(safe-area-inset-right));
	bottom: max(16px, env(safe-area-inset-bottom));
	box-sizing: border-box;
	width: min(520px, calc(100vw - 32px));
	max-height: calc(100dvh - 32px);
	overflow: auto;
	padding: 18px;
	border: 1px solid #6b8259;
	border-radius: 14px;
	color: #f1f5eb;
	background: #14251b;
	box-shadow: 0 8px 32px #0007;
	font: 14px/1.5 system-ui, sans-serif;
}
.analyticsConsent [hidden], .analyticsConsent[hidden] { display: none !important; }
.analyticsConsent h2 { margin: 0 0 8px; color: inherit; font: 700 18px/1.3 system-ui, sans-serif; }
.analyticsConsent p { margin: 0; }
.analyticsConsent .analyticsConsentStatus:not(:empty) { margin-top: 8px; font-size: 13px; color: #d6e5c9; }
.analyticsConsentActions { display: flex; gap: 10px; margin-top: 14px; }
.analyticsConsentActions button {
	flex: 1;
	min-height: 44px;
	padding: 9px 16px;
	border: 1px solid #a9c68d;
	border-radius: 8px;
	color: #f1f5eb;
	background: #243b2b;
	font: 600 14px/1.3 system-ui, sans-serif;
	cursor: pointer;
}
.analyticsConsentActions button:hover { background: #34543c; }
.analyticsConsentPurposes { margin: 12px 0 0; padding: 0; border: 0; }
.analyticsConsentPurposes legend { font-weight: 600; margin-bottom: 8px; }
.analyticsConsentPurposes label { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; cursor: pointer; }
.analyticsConsentPurposes input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #cff27e; }
.analyticsConsentPurposes strong, .analyticsConsentPurposes small { display: block; }
.analyticsConsentPurposes small { margin-top: 3px; color: #d6e5c9; font-size: 12px; }
.analyticsConsentSave { width: 100%; min-height: 40px; margin-top: 10px; border: 1px solid #a9c68d; border-radius: 8px; background: transparent; color: inherit; font: 600 13px system-ui, sans-serif; cursor: pointer; }
.analyticsConsentSave:hover { background: #243b2b; }
.analyticsConsentPurposes { margin: 12px 0 0; padding: 0; border: 0; }
.analyticsConsentPurposes legend { font-weight: 600; margin-bottom: 8px; }
.analyticsConsentPurposes label { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; cursor: pointer; }
.analyticsConsentPurposes input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #cff27e; }
.analyticsConsentPurposes strong, .analyticsConsentPurposes small { display: block; }
.analyticsConsentPurposes small { margin-top: 3px; color: #d6e5c9; font-size: 12px; }
.analyticsConsentSave { width: 100%; min-height: 40px; margin-top: 10px; border: 1px solid #a9c68d; border-radius: 8px; background: transparent; color: inherit; font: 600 13px system-ui, sans-serif; cursor: pointer; }
.analyticsConsentSave:hover { background: #243b2b; }
.analyticsConsentLinks { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
.analyticsConsentLinks a, .analyticsConsentLinks button {
	padding: 0;
	border: 0;
	border-bottom: 1px solid currentColor;
	border-radius: 0;
	color: #d6e5c9;
	background: transparent;
	font: 13px/1.5 system-ui, sans-serif;
	text-decoration: none;
	cursor: pointer;
}
.analyticsConsent :focus-visible { outline: 2px solid #cff27e; outline-offset: 3px; }
@media (max-width: 480px) {
	.analyticsConsent { padding: 14px; font-size: 13px; }
	.analyticsConsent h2 { font-size: 17px; }
}

.analyticsConsent .analyticsConsentHelp { margin-top: 10px; color: #d6e5c9; font-size: 12px; }
