.l8cc-banner,
.l8cc-reopen {
	box-sizing: border-box;
	font-family: "PT Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	-webkit-tap-highlight-color: transparent;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.l8cc-banner *,
.l8cc-reopen {
	box-sizing: border-box;
}

.l8cc-banner {
	position: fixed;
	z-index: 99990;
	width: min(560px, calc(100vw - 32px));
	color: #1c2430;
}

.l8cc-banner--bottom-right {
	right: 18px;
	bottom: 18px;
	left: auto;
	top: auto;
	transform: none;
}

.l8cc-banner--bottom-center {
	right: auto;
	bottom: 18px;
	left: 50%;
	top: auto;
	transform: translateX(-50%);
}

.l8cc-banner--bottom-left {
	right: auto;
	bottom: 18px;
	left: 18px;
	top: auto;
	transform: none;
}

.l8cc-banner--top-right {
	right: 18px;
	bottom: auto;
	left: auto;
	top: 18px;
	transform: none;
}

.l8cc-banner--top-center {
	right: auto;
	bottom: auto;
	left: 50%;
	top: 18px;
	transform: translateX(-50%);
}

.l8cc-banner--top-left {
	right: auto;
	bottom: auto;
	left: 18px;
	top: 18px;
	transform: none;
}

body.admin-bar .l8cc-banner--top-right,
body.admin-bar .l8cc-banner--top-center,
body.admin-bar .l8cc-banner--top-left {
	top: 50px;
}

.l8cc-banner-content {
	max-height: calc(100vh - 36px);
	overflow: auto;
	padding: 18px;
	background: #ffffff;
	border: 1px solid #d6dde8;
	border-top: 4px solid #84ccd5;
	border-radius: 8px;
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.2);
}

.l8cc-banner-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.l8cc-banner h2 {
	flex: 1 1 auto;
	margin: 0;
	color: #161a3a;
	font-size: 20px;
	line-height: 1.25;
	letter-spacing: 0;
}

.l8cc-preferences h3 {
	margin: 0;
	color: #161a3a;
	font-size: 17px;
	line-height: 1.25;
	letter-spacing: 0;
}

.l8cc-banner p {
	margin: 10px 0 12px;
	color: #344256;
	font-size: 15px;
	line-height: 1.45;
}

.l8cc-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
}

.l8cc-button,
.l8cc-icon-button,
.l8cc-reopen {
	min-height: 40px;
	border: 1px solid transparent;
	border-radius: 6px;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.l8cc-button {
	padding: 9px 13px;
	white-space: nowrap;
}

.l8cc-button-primary {
	background: #134395;
	border-color: #134395;
	color: #ffffff;
}

.l8cc-button-secondary {
	background: #f6f8fb;
	border-color: #c7d0df;
	color: #1f2a44;
}

.l8cc-button-soft-primary {
	background: #edf9fb;
	border-color: #84ccd5;
	color: #0f3578;
}

.l8cc-button-secondary:hover,
.l8cc-button-soft-primary:hover {
	background: #e9eef6;
	border-color: #aebbd0;
}

.l8cc-button-settings {
	margin-left: auto;
	background: #ffffff;
	border-color: #b8c6d9;
	color: #134395;
	box-shadow: inset 0 0 0 1px rgba(132, 204, 213, 0.18);
}

.l8cc-button-settings:hover,
.l8cc-button-settings[aria-expanded="true"] {
	background: #edf9fb;
	border-color: #84ccd5;
	color: #0f3578;
}

.l8cc-button-link {
	background: transparent;
	border-color: transparent;
	color: #134395;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.l8cc-button:focus-visible,
.l8cc-icon-button:focus-visible,
.l8cc-privacy-link:focus-visible,
.l8cc-reopen:focus-visible {
	outline: 3px solid #84ccd5;
	outline-offset: 2px;
}

.l8cc-privacy-link {
	display: inline-block;
	color: #134395;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.l8cc-privacy-link--banner {
	flex: 0 0 auto;
	margin-top: 3px;
	font-size: 14px;
	line-height: 1.25;
	text-align: right;
	text-decoration: none;
}

.l8cc-banner-content > .l8cc-actions:not(.l8cc-preferences-actions) {
	align-items: stretch;
}

.l8cc-banner-content > .l8cc-actions:not(.l8cc-preferences-actions) .l8cc-button-primary {
	flex: 1 1 190px;
	min-width: 180px;
}

.l8cc-preferences {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid #d6dde8;
}

.l8cc-preferences-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.l8cc-icon-button {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f6f8fb;
	border-color: #c7d0df;
	color: #1f2a44;
	font-size: 26px;
	font-weight: 400;
	line-height: 1;
	text-transform: none;
}

.l8cc-icon-button:hover {
	background: #edf9fb;
	border-color: #84ccd5;
	color: #0f3578;
}

.l8cc-category {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 12px;
	align-items: flex-start;
	margin: 12px 0;
	padding: 14px;
	background: #f8fafc;
	border: 1px solid #d6dde8;
	border-radius: 8px;
	color: #1c2430;
}

.l8cc-category--interactive {
	cursor: pointer;
}

.l8cc-category--interactive:hover {
	background: #f3fbfc;
	border-color: #b8dfe5;
}

.l8cc-category--disabled {
	cursor: default;
}

.l8cc-category input {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: #134395;
}

.l8cc-category--interactive input {
	cursor: pointer;
}

.l8cc-category--disabled input {
	cursor: not-allowed;
}

.l8cc-category strong,
.l8cc-category span span {
	display: block;
}

.l8cc-category strong {
	margin-bottom: 5px;
	color: #161a3a;
	font-size: 16px;
	line-height: 1.25;
}

.l8cc-category span span {
	color: #344256;
	font-size: 14px;
	line-height: 1.45;
}

.l8cc-preferences-actions {
	margin-top: 12px;
}

.l8cc-reopen {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 99980;
	max-width: calc(100vw - 32px);
	padding: 7px 10px;
	background: #ffffff;
	border-color: #c7d0df;
	color: #134395;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
	font-size: 13px;
}

.l8cc-reopen--bottom-right {
	right: 16px;
	bottom: 16px;
	left: auto;
	top: auto;
	transform: none;
}

.l8cc-reopen--bottom-center {
	right: auto;
	bottom: 16px;
	left: 50%;
	top: auto;
	transform: translateX(-50%);
}

.l8cc-reopen--bottom-left {
	right: auto;
	bottom: 16px;
	left: 16px;
	top: auto;
	transform: none;
}

.l8cc-reopen--top-right {
	right: 16px;
	bottom: auto;
	left: auto;
	top: 16px;
	transform: none;
}

.l8cc-reopen--top-center {
	right: auto;
	bottom: auto;
	left: 50%;
	top: 16px;
	transform: translateX(-50%);
}

.l8cc-reopen--top-left {
	right: auto;
	bottom: auto;
	left: 16px;
	top: 16px;
	transform: none;
}

body.admin-bar .l8cc-reopen--top-right,
body.admin-bar .l8cc-reopen--top-center,
body.admin-bar .l8cc-reopen--top-left {
	top: 48px;
}

.l8cc-banner ~ .l8cc-reopen {
	display: none;
}

@media (max-width: 782px) {
	body.admin-bar .l8cc-banner--top-right,
	body.admin-bar .l8cc-banner--top-center,
	body.admin-bar .l8cc-banner--top-left {
		top: 64px;
	}

	body.admin-bar .l8cc-reopen--top-right,
	body.admin-bar .l8cc-reopen--top-center,
	body.admin-bar .l8cc-reopen--top-left {
		top: 62px;
	}
}

@media (max-width: 640px) {
	.l8cc-banner {
		width: calc(100vw - 24px);
	}

	.l8cc-banner-header {
		flex-wrap: wrap;
		gap: 6px 12px;
	}

	.l8cc-privacy-link--banner {
		margin-left: auto;
	}

	.l8cc-banner--bottom-right {
		right: 12px;
		bottom: 12px;
	}

	.l8cc-banner--bottom-center {
		bottom: 12px;
	}

	.l8cc-banner--bottom-left {
		bottom: 12px;
		left: 12px;
	}

	.l8cc-banner--top-right {
		right: 12px;
		top: 12px;
	}

	.l8cc-banner--top-center {
		top: 12px;
	}

	.l8cc-banner--top-left {
		left: 12px;
		top: 12px;
	}

	.l8cc-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.l8cc-button {
		width: 100%;
	}

	.l8cc-banner-content > .l8cc-actions:not(.l8cc-preferences-actions) .l8cc-button-primary {
		min-width: 0;
	}

	.l8cc-button-settings {
		margin-left: 0;
	}

	.l8cc-reopen {
		max-width: calc(100vw - 24px);
	}

	.l8cc-reopen--bottom-right {
		right: 12px;
		bottom: 12px;
	}

	.l8cc-reopen--bottom-center {
		bottom: 12px;
	}

	.l8cc-reopen--bottom-left {
		bottom: 12px;
		left: 12px;
	}

	.l8cc-reopen--top-right {
		right: 12px;
		top: 12px;
	}

	.l8cc-reopen--top-center {
		top: 12px;
	}

	.l8cc-reopen--top-left {
		left: 12px;
		top: 12px;
	}

	body.admin-bar .l8cc-reopen--top-right,
	body.admin-bar .l8cc-reopen--top-center,
	body.admin-bar .l8cc-reopen--top-left {
		top: 58px;
	}

	body.admin-bar .l8cc-banner--top-right,
	body.admin-bar .l8cc-banner--top-center,
	body.admin-bar .l8cc-banner--top-left {
		top: 60px;
	}
}
