.tacs-newsletter {
	--tacs-primary: #000a2e;
	--tacs-accent: #ffff00;
	--tacs-text: #333333;
	position: fixed;
	right: 20px;
	bottom: 112px;
	z-index: 2147482900;
	width: min(360px, calc(100vw - 32px));
	color: var(--tacs-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 1.45;
	pointer-events: none;
}

.tacs-newsletter[hidden],
.tacs-newsletter [hidden] {
	display: none !important;
}

.tacs-newsletter.is-expanded {
	width: min(380px, calc(100vw - 32px));
}

.tacs-newsletter *,
.tacs-newsletter *::before,
.tacs-newsletter *::after {
	box-sizing: border-box;
}

.tacs-newsletter button,
.tacs-newsletter input {
	font: inherit;
}

.tacs-newsletter button {
	cursor: pointer;
}

.tacs-newsletter__card {
	max-height: calc(100vh - 132px);
	overflow: hidden;
	background: #ffffff;
	border: 1px solid rgba(0, 10, 46, 0.08);
	border-radius: 16px;
	box-shadow: 0 16px 50px rgba(0, 9, 71, 0.24);
	pointer-events: auto;
}

.tacs-newsletter__teaser {
	position: relative;
	display: flex;
	gap: 13px;
	align-items: flex-start;
	padding: 16px 42px 16px 16px;
}

.tacs-newsletter__mark {
	position: relative;
	flex: 0 0 auto;
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	overflow: hidden;
	color: var(--tacs-primary);
	background: var(--tacs-accent);
	border-radius: 50%;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: -0.5px;
}

.tacs-newsletter__mark span {
	position: absolute;
	right: 6px;
	bottom: 6px;
	width: 7px;
	height: 7px;
	background: #3dc76a;
	border: 2px solid var(--tacs-accent);
	border-radius: 50%;
}

.tacs-newsletter__mark--small {
	width: 38px;
	height: 38px;
	color: var(--tacs-primary);
	font-size: 12px;
}

.tacs-newsletter__teaser-copy {
	min-width: 0;
}

.tacs-newsletter__eyebrow {
	margin: 0 0 3px;
	color: #666c80;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.09em;
	line-height: 1.3;
	text-transform: uppercase;
}

.tacs-newsletter h2,
.tacs-newsletter h3,
.tacs-newsletter p {
	font-family: inherit;
}

.tacs-newsletter__teaser h2 {
	margin: 0;
	color: var(--tacs-primary);
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.015em;
	line-height: 1.25;
}

.tacs-newsletter__teaser-copy > p:not(.tacs-newsletter__eyebrow) {
	margin: 4px 0 12px;
	color: #555d70;
	font-size: 13.5px;
	line-height: 1.45;
}

.tacs-newsletter__close,
.tacs-newsletter__header-close {
	display: grid;
	place-items: center;
	border: 0;
	background: transparent;
	font-size: 23px;
	font-weight: 300;
	line-height: 1;
}

.tacs-newsletter__close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 30px;
	height: 30px;
	color: #697086;
	border-radius: 50%;
}

.tacs-newsletter__close:hover,
.tacs-newsletter__close:focus-visible {
	color: var(--tacs-primary);
	background: #f1f3f8;
	outline: none;
}

.tacs-newsletter__open {
	display: inline-flex;
	gap: 9px;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 13px;
	color: #ffffff;
	background: var(--tacs-primary);
	border: 0;
	border-radius: 9px;
	font-size: 12.5px;
	font-weight: 750;
	line-height: 1.2;
}

.tacs-newsletter__open span {
	font-size: 16px;
	transition: transform 160ms ease;
}

.tacs-newsletter__open:hover span {
	transform: translateX(2px);
}

.tacs-newsletter__open:focus-visible,
.tacs-newsletter__submit:focus-visible,
.tacs-newsletter__done:focus-visible {
	outline: 3px solid rgba(0, 10, 46, 0.18);
	outline-offset: 2px;
}

.tacs-newsletter__expanded {
	max-height: calc(100vh - 132px);
	overflow-y: auto;
	overscroll-behavior: contain;
	background: #ffffff;
}

.tacs-newsletter__header {
	display: flex;
	gap: 11px;
	align-items: center;
	min-height: 67px;
	padding: 13px 14px;
	color: #ffffff;
	background: var(--tacs-primary);
}

.tacs-newsletter__header > div:nth-child(2) {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
}

.tacs-newsletter__header strong {
	color: #ffffff;
	font-size: 15px;
	font-weight: 750;
	line-height: 1.25;
}

.tacs-newsletter__header > div > span {
	display: flex;
	gap: 6px;
	align-items: center;
	margin-top: 2px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 11.5px;
}

.tacs-newsletter__header i {
	width: 7px;
	height: 7px;
	background: #55d879;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
}

.tacs-newsletter__header-close {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	color: rgba(255, 255, 255, 0.78);
	border-radius: 50%;
}

.tacs-newsletter__header-close:hover,
.tacs-newsletter__header-close:focus-visible {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.12);
	outline: none;
}

.tacs-newsletter__content {
	padding: 18px;
}

.tacs-newsletter__content > h2 {
	margin: 0;
	color: var(--tacs-primary);
	font-size: 24px;
	font-weight: 850;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.tacs-newsletter__description {
	margin: 7px 0 16px;
	color: #555d70;
	font-size: 13.5px;
	line-height: 1.5;
}

.tacs-newsletter__field {
	display: block;
	margin: 0 0 12px;
	color: var(--tacs-primary);
	font-size: 12px;
	font-weight: 700;
}

.tacs-newsletter__field small {
	color: #7b8192;
	font-size: 11px;
	font-weight: 500;
}

.tacs-newsletter__field input {
	display: block;
	width: 100%;
	height: 42px;
	margin-top: 5px;
	padding: 9px 11px;
	color: var(--tacs-text);
	background: #ffffff;
	border: 1px solid #cdd1db;
	border-radius: 9px;
	box-shadow: none;
	appearance: none;
}

.tacs-newsletter__field input:focus {
	border-color: var(--tacs-primary);
	box-shadow: 0 0 0 3px rgba(0, 10, 46, 0.1);
	outline: none;
}

.tacs-newsletter__honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.tacs-newsletter__consent {
	display: grid;
	grid-template-columns: 17px 1fr;
	gap: 9px;
	align-items: start;
	margin: 2px 0 14px;
	color: #555d70;
	font-size: 11.5px;
	font-weight: 450;
	line-height: 1.45;
	cursor: pointer;
}

.tacs-newsletter__consent input {
	width: 17px;
	height: 17px;
	margin: 1px 0 0;
	accent-color: var(--tacs-primary);
}

.tacs-newsletter__submit,
.tacs-newsletter__done {
	width: 100%;
	min-height: 43px;
	padding: 10px 15px;
	color: var(--tacs-primary);
	background: var(--tacs-accent);
	border: 1px solid rgba(0, 10, 46, 0.08);
	border-radius: 9px;
	font-size: 13px;
	font-weight: 850;
}

.tacs-newsletter__submit:hover,
.tacs-newsletter__done:hover {
	filter: brightness(0.97);
}

.tacs-newsletter__submit:disabled {
	cursor: progress;
	opacity: 0.7;
}

.tacs-newsletter__status {
	min-height: 18px;
	margin: 7px 0 0;
	color: #a12424;
	font-size: 11.5px;
	font-weight: 650;
	text-align: center;
}

.tacs-newsletter__fine-print {
	margin: 2px 0 0;
	color: #777e90;
	font-size: 10.5px;
	line-height: 1.4;
	text-align: center;
}

.tacs-newsletter__fine-print a {
	color: var(--tacs-primary);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tacs-newsletter__success {
	padding: 10px 0 2px;
	text-align: center;
}

.tacs-newsletter__success-icon {
	display: grid;
	width: 48px;
	height: 48px;
	margin: 0 auto 11px;
	place-items: center;
	color: var(--tacs-primary);
	background: var(--tacs-accent);
	border-radius: 50%;
	font-size: 23px;
	font-weight: 900;
}

.tacs-newsletter__success h3 {
	margin: 0;
	color: var(--tacs-primary);
	font-size: 21px;
	font-weight: 850;
}

.tacs-newsletter__success p {
	margin: 7px auto 17px;
	max-width: 270px;
	color: #555d70;
	font-size: 13px;
}

@media (max-width: 480px) {
	.tacs-newsletter,
	.tacs-newsletter.is-expanded {
		right: 8px;
		bottom: 96px;
		left: 8px;
		width: auto;
	}

	.tacs-newsletter__card,
	.tacs-newsletter__expanded {
		max-height: calc(100vh - 112px);
	}

	.tacs-newsletter__teaser {
		gap: 11px;
		padding: 14px 40px 14px 14px;
	}

	.tacs-newsletter__mark {
		width: 40px;
		height: 40px;
	}

	.tacs-newsletter__teaser h2 {
		font-size: 17px;
	}

	.tacs-newsletter__content {
		padding: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tacs-newsletter *,
	.tacs-newsletter *::before,
	.tacs-newsletter *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
