/* Cookie banner (#75): mockup A approved by Leo on 2026-11-18, full-width bottom bar without a panel. */

.ei-consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1002;
	background: var(--base-3);
	border-top: 1px solid var(--outline-variant);
	font-family: PT Sans, system-ui, sans-serif;
	color: var(--contrast);
}

.ei-consent[hidden] {
	display: none;
}

.ei-consent .ei-shell-frame {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 20px 0;
}

.ei-consent .ei-mini {
	max-width: 640px;
	padding: 0;
	border: 0;
	background: none;
}

.ei-consent .ei-mini h3 {
	font-size: 19px;
}

.ei-consent .ei-mini p a {
	color: inherit;
	text-decoration: underline;
}

.ei-consent-actions {
	display: flex;
	gap: 12px;
	align-items: center;
}

.ei-consent-actions .button.is-style-outline {
	padding: 0 20px;
	font-weight: 700;
}

/* The chat launcher rides above the bar while it is open. */
.ei-consent-open #ei-chat {
	bottom: calc(var(--ei-consent-h, 0px) + 16px);
}

@media (max-width: 800px) {
	.ei-consent .ei-shell-frame {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding: 18px 0;
	}
	.ei-consent-actions .button {
		flex: 1 1 0;
	}
}
