.aolp-poll {
	--aolp-ink: #25232b;
	--aolp-muted: #67646d;
	--aolp-surface: #fff;
	--aolp-soft: #f4f5f3;
	--aolp-line: #dededb;
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 22px;
	border: 1px solid var(--aolp-line);
	border-radius: 10px;
	background: var(--aolp-surface);
	color: var(--aolp-ink);
	overflow: hidden;
}

.aolp-poll *,
.aolp-poll *::before,
.aolp-poll *::after {
	box-sizing: border-box;
}

.aolp-poll__heading {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 13px 16px;
	background: var(--aolp-header, #25202e);
	color: var(--aolp-header-text, #fff);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .045em;
	line-height: 1.3;
	text-transform: uppercase;
}

.aolp-poll__heading::before {
	content: "";
	width: 5px;
	height: 20px;
	border-radius: 3px;
	background: var(--aolp-accent, #00aa02);
	flex: 0 0 auto;
}

.aolp-poll__body {
	padding: 18px;
}

.aolp-poll__question {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.45;
}

.aolp-poll__options,
.aolp-poll__results {
	display: grid;
	gap: 9px;
}

.aolp-poll__choice {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid var(--aolp-line);
	border-radius: 8px;
	background: var(--aolp-soft);
	color: var(--aolp-ink);
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
}

.aolp-poll__choice:hover {
	border-color: var(--aolp-accent, #00aa02);
}

.aolp-poll__choice input {
	width: 16px;
	height: 16px;
	margin: 2px 0 0;
	accent-color: var(--aolp-accent, #00aa02);
	flex: 0 0 auto;
}

.aolp-poll__vote {
	display: block;
	width: 100%;
	margin: 14px 0 0;
	padding: 10px 14px;
	border: 0;
	border-radius: 8px;
	background: var(--aolp-accent, #00aa02);
	color: #fff;
	font: inherit;
	font-weight: 800;
	line-height: 1.4;
	cursor: pointer;
}

.aolp-poll__vote:hover,
.aolp-poll__vote:focus {
	filter: brightness(.9);
}

.aolp-poll__vote:disabled {
	opacity: .65;
	cursor: wait;
}

.aolp-poll__results {
	display: none;
	gap: 13px;
}

.aolp-poll__result {
	display: grid;
	gap: 6px;
}

.aolp-poll__result-copy {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-weight: 600;
	line-height: 1.4;
}

.aolp-poll__result-copy strong {
	white-space: nowrap;
}

.aolp-poll__track {
	height: 9px;
	border-radius: 999px;
	background: var(--aolp-soft);
	overflow: hidden;
}

.aolp-poll__fill {
	height: 100%;
	border-radius: inherit;
	background: var(--aolp-accent, #00aa02);
	transition: width .35s ease;
}

.aolp-poll__message {
	min-height: 0;
	margin: 12px 0 0;
	color: var(--aolp-muted);
	font-size: 13px;
	line-height: 1.4;
}

.aolp-poll__message:empty {
	display: none;
}

.aolp-poll.is-voted .aolp-poll__form {
	display: none;
}

.aolp-poll.is-voted .aolp-poll__results {
	display: grid;
}

.aolp-poll--compact .aolp-poll__heading {
	padding: 11px 12px;
	font-size: 14px;
}

.aolp-poll--compact .aolp-poll__body {
	padding: 14px;
}

.aolp-poll--compact .aolp-poll__question {
	font-size: 16px;
}

.aolp-poll--compact .aolp-poll__choice {
	padding: 8px 9px;
	font-size: 14px;
}

.aolp-poll--compact .aolp-poll__result-copy {
	font-size: 14px;
}

.aolp-poll-notice {
	padding: 12px;
	border-left: 4px solid var(--aolp-accent, #00aa02);
	background: #f4f5f3;
}

@media (max-width: 480px) {
	.aolp-poll__body {
		padding: 14px;
	}

	.aolp-poll__question {
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aolp-poll__fill {
		transition: none;
	}
}

