/* EWT Analytics Consent banner: design-system tokens from the ewt theme (fallbacks for other themes). Flat: no shadow. */
.ewt-consent {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 100000;
	box-sizing: border-box;
	max-height: 85vh;
	overflow-y: auto;
	padding: 1rem max(1rem, env(safe-area-inset-right)) calc(1rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
	border-top: 1px solid var(--wp--preset--color--line-strong, #77838f);
	background: var(--wp--preset--color--bg-raised, #f2f4f6);
	color: var(--wp--preset--color--brand-ink, #00000c);
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	line-height: 1.43;
}
.ewt-consent[hidden],
.ewt-consent [hidden] { display: none !important; }
.ewt-consent__inner {
	display: grid;
	gap: 0.75rem;
	max-width: 72rem;
	margin-inline: auto;
}
.ewt-consent p { margin: 0; }
.ewt-consent__title { font-size: var(--wp--preset--font-size--body, 1rem); font-weight: 700; }
.ewt-consent a { color: var(--wp--preset--color--brand-blue, #0472b9); text-decoration: underline; }
.ewt-consent__options {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	border: 0;
}
.ewt-consent__option {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 0.5rem;
	align-items: start;
}
.ewt-consent__option input {
	width: 1.25rem;
	height: 1.25rem;
	margin: 0;
	accent-color: var(--wp--preset--color--brand-blue, #0472b9);
}
.ewt-consent__option label { font-weight: 500; }
.ewt-consent__hint {
	grid-column: 2;
	color: var(--wp--preset--color--text-muted, #4a5561);
}
.ewt-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.ewt-consent__actions .wp-element-button {
	border: 1px solid var(--wp--preset--color--brand-blue, #0472b9);
	cursor: pointer;
}
.ewt-consent__actions .ewt-consent__secondary {
	background: transparent;
	color: var(--wp--preset--color--brand-blue, #0472b9);
}
@media (max-width: 30rem) {
	.ewt-consent__actions .wp-element-button { flex: 1 1 100%; }
}
