/* HSR – bandeau de consentement minimaliste */
#hsr-root { all: initial; }
#hsr-root * { box-sizing: border-box; }

.hsr-banner {
	position: fixed;
	z-index: 2147483000;
	bottom: 16px;
	left: 16px;
	right: 16px;
	max-width: 760px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	padding: 14px 16px;
	background: #1d2327;
	color: #f0f0f1;
	border-radius: 10px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
	font: 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.hsr-banner.hsr-pos-bottom-left { right: auto; margin: 0; max-width: 420px; }
.hsr-banner.hsr-pos-bottom-right { left: auto; margin: 0; max-width: 420px; }

.hsr-banner .hsr-text { flex: 1 1 280px; margin: 0; color: inherit; font: inherit; }
.hsr-banner .hsr-more { color: #9ec2e6; text-decoration: underline; white-space: nowrap; }
.hsr-banner .hsr-actions { display: flex; gap: 8px; flex: 0 0 auto; margin-left: auto; }

/* Refuser et Accepter : même taille, même visibilité */
.hsr-banner .hsr-btn {
	min-width: 104px;
	padding: 9px 16px;
	border-radius: 6px;
	border: 1px solid #f0f0f1;
	background: #f0f0f1;
	color: #1d2327;
	font: 600 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	cursor: pointer;
}
.hsr-banner .hsr-btn:hover,
.hsr-banner .hsr-btn:focus-visible { background: #fff; outline: 2px solid #72aee6; outline-offset: 2px; }

/* Panneau de personnalisation */
.hsr-panel { flex-direction: column; align-items: stretch; max-width: 520px; }
.hsr-panel .hsr-text { flex: 0 0 auto; padding-right: 20px; }
.hsr-panel .hsr-title { margin: 0; font-weight: 700; font-size: 15px; }
.hsr-panel .hsr-row { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.hsr-panel .hsr-row input { margin-top: 3px; width: 16px; height: 16px; flex: 0 0 auto; }
.hsr-panel .hsr-actions { margin-left: 0; justify-content: flex-end; flex-wrap: wrap; }
.hsr-panel .hsr-close {
	position: absolute; top: 6px; right: 10px;
	background: none; border: 0; color: #f0f0f1; font-size: 22px; line-height: 1; cursor: pointer;
}

/* Lien permanent « Cookies » */
.hsr-manage {
	position: fixed;
	z-index: 2147482999;
	left: 12px;
	bottom: 12px;
	padding: 5px 10px;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 14px;
	background: rgba(255, 255, 255, .92);
	color: #1d2327;
	font: 12px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	cursor: pointer;
	opacity: .75;
}
.hsr-manage:hover, .hsr-manage:focus-visible { opacity: 1; }

@media (max-width: 600px) {
	.hsr-banner { left: 8px; right: 8px; bottom: 8px; max-width: none; }
	.hsr-banner .hsr-actions { width: 100%; }
	.hsr-banner .hsr-btn { flex: 1; }
}
@media print { #hsr-root { display: none !important; } }
