.k2u-poll,
.k2u-poll *,
.k2u-poll *::before,
.k2u-poll *::after {
	box-sizing: border-box;
}

.k2u-poll {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	color: #232325;
	color-scheme: light;
	font-family: Bromny, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

.k2u-poll[hidden] {
	display: none !important;
}

html.k2u-poll-open {
	overflow: hidden;
}

.k2u-poll__scrim {
	position: absolute;
	inset: 0;
	background: rgba(1, 1, 61, 0.45);
}

.k2u-poll__dialog {
	position: relative;
	z-index: 1;
	width: min(520px, 100%);
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow: auto;
	padding: 28px 24px 24px;
	background: #ffffff;
	border-radius: 24px;
	box-shadow: 0 18px 50px rgba(1, 1, 61, 0.16);
}

.k2u-poll__close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: #232325;
	cursor: pointer;
}

.k2u-poll__brand {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding-right: 44px;
}

.k2u-poll__logo {
	display: block;
	width: 28px;
	height: 28px;
}

.k2u-poll__wordmark {
	color: #01013d;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
}

.k2u-poll__hero {
	margin-top: 14px;
}

.k2u-poll__pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 16px 0 0;
	padding: 6px 12px;
	border-radius: 999px;
	background: #e4f2f9;
	color: #002c87;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}

.k2u-poll__title {
	margin: 0 0 10px;
	color: #000000;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.k2u-poll__text {
	margin: 0;
	color: #6e6e6f;
	font-size: 16px;
	line-height: 1.45;
}

.k2u-poll__panel,
.k2u-poll__thanks {
	margin-top: 22px;
}

.k2u-poll__thanks[hidden],
.k2u-poll__panel[hidden],
.k2u-poll__error[hidden] {
	display: none !important;
}

.k2u-poll__thanks .k2u-poll__text {
	margin-bottom: 18px;
}

.k2u-poll__fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.k2u-poll__option {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	margin: 0 0 10px;
	padding: 12px 16px;
	border: 1px solid #d9d9d9;
	border-radius: 12px;
	background: #ffffff;
	color: #000000;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
}

.k2u-poll__option:last-child {
	margin-bottom: 0;
}

.k2u-poll__option:hover {
	background: #f6f6f6;
}

.k2u-poll__option:has(input:checked) {
	border-color: #0148db;
	background: #e4f2f9;
}

.k2u-poll__option input {
	width: 20px;
	height: 20px;
	margin: 0;
	flex: 0 0 auto;
	accent-color: #0148db;
}

.k2u-poll__error {
	margin: 12px 0 0;
	color: #c40000;
	font-size: 14px;
	line-height: 1.4;
}

.k2u-poll__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 52px;
	margin-top: 16px;
	padding: 12px 18px;
	border: 0;
	border-radius: 12px;
	background: var(--k2u-poll-cta, #0148db);
	color: var(--k2u-poll-cta-text, #ffffff);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.k2u-poll__thanks .k2u-poll__submit {
	margin-top: 0;
}

.k2u-poll__submit:hover {
	filter: brightness(0.92);
}

.k2u-poll__submit:disabled {
	cursor: progress;
	opacity: 0.7;
}

.k2u-poll button,
.k2u-poll input {
	font-family: inherit;
}

.k2u-poll :focus {
	outline: none;
}

.k2u-poll :focus-visible {
	outline: 2px solid #0148db;
	outline-offset: 2px;
}

.k2u-poll__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (min-width: 480px) {
	.k2u-poll__dialog {
		padding: 28px 28px 24px;
	}

	.k2u-poll__title {
		font-size: 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.k2u-poll__dialog {
		scroll-behavior: auto;
	}
}
