/* TP Cookie Consent — everything scoped to #tpcc-root so theme/builder CSS stays untouched. */
#tpcc-root {
	--tpcc-bg: #fff;
	--tpcc-text: #1f2937;
	--tpcc-accent: #1a5fb4;
	--tpcc-accent-text: #fff;
	--tpcc-radius: 12px;
	--tpcc-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#tpcc-root [hidden] { display: none !important; }

.tpcc-sr-only,
#tpcc-root .tpcc-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

#tpcc-root .tpcc-banner,
#tpcc-root .tpcc-dialog,
#tpcc-root .tpcc-manage {
	box-sizing: border-box;
	font-family: var(--tpcc-font);
	font-size: 15px;
	line-height: 1.5;
	color: var(--tpcc-text);
	text-align: left;
	letter-spacing: normal;
	text-transform: none;
}

#tpcc-root *,
#tpcc-root *::before,
#tpcc-root *::after { box-sizing: border-box; }

/* Corner banner */
#tpcc-root .tpcc-banner {
	position: fixed;
	bottom: 20px;
	z-index: 2147483000;
	width: 400px;
	max-width: calc(100vw - 32px);
	max-height: calc(100vh - 40px);
	max-height: calc(100dvh - 40px);
	overflow: auto;
	padding: 22px;
	background: var(--tpcc-bg);
	border-radius: var(--tpcc-radius);
	box-shadow: 0 10px 40px rgba(0, 0, 0, .18), 0 2px 8px rgba(0, 0, 0, .08);
	animation: tpcc-in .25s ease-out;
}
#tpcc-root.tpcc-right .tpcc-banner { right: 20px; }
#tpcc-root.tpcc-left .tpcc-banner { left: 20px; }

@keyframes tpcc-in {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}

#tpcc-root .tpcc-title {
	margin: 0 0 8px;
	padding: 0;
	font-family: var(--tpcc-font);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
	color: var(--tpcc-text);
	background: none;
	border: 0;
}
#tpcc-root .tpcc-text {
	margin: 0 0 12px;
	padding: 0;
	font-size: 14px;
	color: var(--tpcc-text);
}
#tpcc-root .tpcc-links {
	margin: 0 0 14px;
	padding: 0;
	font-size: 13px;
}
#tpcc-root .tpcc-links a {
	display: inline-block;
	min-height: 24px;
	margin-right: 14px;
	padding: 2px 0;
	color: var(--tpcc-accent);
	text-decoration: underline;
}
#tpcc-root .tpcc-links a:focus-visible,
#tpcc-root .tpcc-dialog:focus-visible {
	outline: 3px solid var(--tpcc-accent);
	outline-offset: 2px;
}

#tpcc-root .tpcc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

.tpcc-btn,
#tpcc-root .tpcc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-height: 40px;
	margin: 0;
	padding: 9px 16px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	border-radius: calc(var(--tpcc-radius, 12px) / 2);
	border: 1px solid var(--tpcc-accent, #1a5fb4);
	box-shadow: none;
	cursor: pointer;
	transition: filter .15s, background-color .15s;
}
.tpcc-btn-primary,
#tpcc-root .tpcc-btn-primary {
	background: var(--tpcc-accent, #1a5fb4);
	color: var(--tpcc-accent-text, #fff);
}
#tpcc-root .tpcc-btn-secondary {
	background: transparent;
	color: var(--tpcc-accent);
}
#tpcc-root .tpcc-btn-link {
	flex-basis: 100%;
	min-height: 32px;
	padding: 4px;
	background: transparent;
	border-color: transparent;
	color: var(--tpcc-accent);
	text-decoration: underline;
}
#tpcc-root .tpcc-btn:hover { filter: brightness(.92); }
#tpcc-root .tpcc-btn:focus-visible,
#tpcc-root .tpcc-close:focus-visible,
#tpcc-root .tpcc-manage:focus-visible,
#tpcc-root .tpcc-switch input:focus-visible + .tpcc-slider {
	outline: 3px solid var(--tpcc-accent);
	outline-offset: 2px;
}

/* Preferences dialog */
#tpcc-root .tpcc-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
#tpcc-root .tpcc-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .5);
}
#tpcc-root .tpcc-dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 560px;
	max-width: 100%;
	max-height: calc(100vh - 32px);
	background: var(--tpcc-bg);
	border-radius: var(--tpcc-radius);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
	outline: none;
}
#tpcc-root .tpcc-dialog-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 22px 8px;
}
#tpcc-root .tpcc-dialog-head .tpcc-title { margin: 0; }
#tpcc-root .tpcc-close {
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	font-size: 26px;
	line-height: 1;
	color: var(--tpcc-text);
	background: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}
#tpcc-root .tpcc-dialog-body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 4px 22px 8px;
}
#tpcc-root .tpcc-dialog > .tpcc-actions { padding: 14px 22px; border-top: 1px solid rgba(0, 0, 0, .08); }
#tpcc-root .tpcc-dialog-foot { margin: 0; padding: 0 22px 16px; }

#tpcc-root .tpcc-cat {
	padding: 12px 0;
	border-top: 1px solid rgba(0, 0, 0, .08);
}
#tpcc-root .tpcc-cat-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
#tpcc-root .tpcc-cat-desc {
	margin: 6px 0 0 56px;
	font-size: 13px;
	color: var(--tpcc-text);
}
#tpcc-root .tpcc-always {
	font-size: 12px;
	font-weight: 600;
	color: var(--tpcc-accent);
	white-space: nowrap;
}

/* Toggle switch */
#tpcc-root .tpcc-switch {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-weight: 600;
	cursor: pointer;
}
#tpcc-root .tpcc-switch input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
}
#tpcc-root .tpcc-slider {
	position: relative;
	flex: 0 0 44px;
	width: 44px;
	height: 24px;
	background: #6b7280; /* 4.8:1 on white: meets 1.4.11 non-text contrast */
	border-radius: 24px;
	transition: background .2s;
}
#tpcc-root .tpcc-slider::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
	transition: transform .2s;
}
#tpcc-root .tpcc-switch input:checked + .tpcc-slider { background: var(--tpcc-accent); }
#tpcc-root .tpcc-switch input:checked + .tpcc-slider::after { transform: translateX(20px); }
#tpcc-root .tpcc-switch input:disabled + .tpcc-slider { opacity: .6; }
#tpcc-root .tpcc-switch input:disabled { cursor: not-allowed; }

/* Manage tab */
#tpcc-root .tpcc-manage {
	position: fixed;
	bottom: 0;
	z-index: 2147482999;
	margin: 0;
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--tpcc-accent-text);
	background: var(--tpcc-accent);
	border: 0;
	border-radius: calc(var(--tpcc-radius) / 2) calc(var(--tpcc-radius) / 2) 0 0;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, .12);
	cursor: pointer;
}
#tpcc-root .tpcc-manage:hover { filter: brightness(.92); }
#tpcc-root.tpcc-right .tpcc-manage { right: 24px; }
#tpcc-root.tpcc-left .tpcc-manage { left: 24px; }

html.tpcc-modal-open { overflow: hidden; }

@media (forced-colors: active) {
	#tpcc-root .tpcc-banner,
	#tpcc-root .tpcc-dialog,
	#tpcc-root .tpcc-manage { border: 2px solid CanvasText; }
	#tpcc-root .tpcc-slider { border: 2px solid CanvasText; background: Canvas; }
	#tpcc-root .tpcc-slider::after { background: CanvasText; }
	#tpcc-root .tpcc-switch input:checked + .tpcc-slider { background: Highlight; }
}

@media (max-width: 480px) {
	#tpcc-root .tpcc-banner {
		right: 8px !important;
		left: 8px !important;
		bottom: 8px;
		width: auto;
		max-width: none;
		padding: 18px;
	}
	#tpcc-root .tpcc-cat-desc { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
	#tpcc-root .tpcc-banner { animation: none; }
	#tpcc-root .tpcc-slider,
	#tpcc-root .tpcc-slider::after { transition: none; }
}

@media print {
	#tpcc-root { display: none !important; }
}

/* Blocked embeds and held content */
iframe.tpcc-blocked { background: #f3f4f6; }

.tpcc-hold {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 160px;
	padding: 20px;
	text-align: center;
	background: #f3f4f6;
	border-radius: 8px;
}
.tpcc-hold-notice p { margin: 0 0 12px; }

/* Settings link shortcode: a button that looks like a link */
.tpcc-open-settings {
	display: inline;
	min-height: 24px;
	margin: 0;
	padding: 2px 0;
	font: inherit;
	color: inherit;
	text-decoration: underline;
	background: none;
	border: 0;
	cursor: pointer;
}
.tpcc-open-settings:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.tpcc-btn:focus-visible { outline: 3px solid var(--tpcc-accent, #1a5fb4); outline-offset: 2px; }

/* Cookie policy */
.tpcc-table-wrap { max-width: 100%; margin: 0 0 1.5em; overflow-x: auto; }
.tpcc-table-wrap:focus-visible { outline: 2px solid var(--tpcc-accent, #1a5fb4); outline-offset: 2px; }
.tpcc-table-wrap table { margin: 0; min-width: 560px; }
.tpcc-policy table {
	width: 100%;
	margin: 0 0 1.5em;
	border-collapse: collapse;
	font-size: .95em;
}
.tpcc-policy th,
.tpcc-policy td {
	padding: 8px 10px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.tpcc-policy th { font-weight: 700; }
.tpcc-policy .tpcc-service-note {
	margin: 0 0 1em;
	padding: 12px 16px;
	background: rgba(0, 0, 0, .04);
	border-left: 4px solid var(--tpcc-accent, #1a5fb4);
}
.tpcc-status {
	margin: 0 0 1.5em;
	padding: 16px 20px;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 8px;
}
.tpcc-status dl {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 4px 16px;
	margin: 0 0 12px;
}
.tpcc-status dt { font-weight: 600; }
.tpcc-status dd { margin: 0; word-break: break-all; }
.tpcc-status .tpcc-status-details { display: none; }
.tpcc-status.tpcc-has-consent .tpcc-status-details { display: block; }
.tpcc-status .is-on { color: #137333; font-weight: 600; }
.tpcc-status .is-off { color: #a50e0e; font-weight: 600; }
.tpcc-status .tpcc-btn { flex: 0 0 auto; margin: 4px 8px 0 0; }
.tpcc-status .tpcc-btn-secondary { background: transparent; color: var(--tpcc-accent, #1a5fb4); }

/* Category details and per-service switches */
.tpcc-cat-details { margin: 6px 0 0 56px; }
.tpcc-cat-details > summary {
	display: list-item;
	min-height: 24px;
	padding: 2px 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--tpcc-accent, #1a5fb4);
	cursor: pointer;
}
.tpcc-cat-details > summary:focus-visible { outline: 3px solid var(--tpcc-accent, #1a5fb4); outline-offset: 2px; }
.tpcc-cat-details .tpcc-cat-desc { margin-left: 0 !important; }
.tpcc-count { font-weight: 400; }
.tpcc-services {
	display: grid;
	gap: 8px;
	margin: 10px 0 4px;
	padding: 0;
	border: 0;
}
.tpcc-switch-small { font-weight: 400 !important; font-size: 14px; }
.tpcc-switch-small .tpcc-slider { flex-basis: 36px !important; width: 36px !important; height: 20px !important; }
.tpcc-switch-small .tpcc-slider::after { width: 14px !important; height: 14px !important; }
.tpcc-switch-small input:checked + .tpcc-slider::after { transform: translateX(16px) !important; }
#tpcc-root .tpcc-cats-banner .tpcc-cat { padding: 6px 0; border-top: 0; }
#tpcc-root .tpcc-cats-banner { margin: 0 0 12px; }

/* Cookie wall: banner becomes a centred modal over a dimmed page */
#tpcc-root .tpcc-wall-overlay { display: none; }
#tpcc-root.tpcc-wall-open .tpcc-wall-overlay {
	display: block;
	position: fixed;
	inset: 0;
	z-index: 2147482999;
	background: rgba(0, 0, 0, .55);
}
#tpcc-root .tpcc-banner.tpcc-wall {
	top: 50%;
	right: auto !important;
	bottom: auto;
	left: 50% !important;
	width: 520px;
	transform: translate(-50%, -50%);
	animation: none;
}
#tpcc-root .tpcc-banner.tpcc-wall:focus-visible { outline: 3px solid var(--tpcc-accent); outline-offset: 2px; }

/* Bottom bar: full width, and nothing on the page is ever behind it (2.4.12).
   While it is shown, tpcc.js adds html.tpcc-bar-open and sizes <body> to end
   where the bar starts, so the page scrolls inside the space above the bar. */
html.tpcc-bar-open {
	height: 100% !important;
	overflow: hidden !important;
}
html.tpcc-bar-open body {
	box-sizing: border-box !important;
	height: var(--tpcc-body-h, 100%) !important;
	min-height: 0 !important;
	max-height: none !important;
	overflow: auto !important;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}
@media print {
	html.tpcc-bar-open,
	html.tpcc-bar-open body { height: auto !important; overflow: visible !important; }
}
#tpcc-root.tpcc-bar .tpcc-banner:not(.tpcc-wall) {
	right: 0;
	bottom: 0;
	left: 0;
	width: auto;
	max-width: none;
	max-height: 50vh;
	max-height: 50dvh;
	padding: 16px max(20px, calc((100vw - 1160px) / 2));
	border-top: 1px solid rgba(0, 0, 0, .15);
	border-radius: 0;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, .1);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"title actions"
		"text actions"
		"cats actions"
		"links actions";
	column-gap: 32px;
	align-items: start;
	animation: none;
}
#tpcc-root.tpcc-bar .tpcc-banner:not(.tpcc-wall)[hidden] { display: none !important; }
#tpcc-root.tpcc-bar .tpcc-banner:not(.tpcc-wall) .tpcc-title { grid-area: title; }
#tpcc-root.tpcc-bar .tpcc-banner:not(.tpcc-wall) .tpcc-text { grid-area: text; margin-bottom: 8px; }
#tpcc-root.tpcc-bar .tpcc-banner:not(.tpcc-wall) .tpcc-cats-banner {
	grid-area: cats;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 28px;
	margin-bottom: 8px;
}
#tpcc-root.tpcc-bar .tpcc-cats-banner .tpcc-cat-head { justify-content: flex-start; }
#tpcc-root.tpcc-bar .tpcc-banner:not(.tpcc-wall) .tpcc-links { grid-area: links; margin-bottom: 0; }
#tpcc-root.tpcc-bar .tpcc-banner:not(.tpcc-wall) .tpcc-actions {
	grid-area: actions;
	align-self: center;
	max-width: 420px;
}
/* After a choice: a small round Cookie settings button floats in a corner.
   It takes no space in the page; tpcc.js keeps focused elements clear of it.
   48px target (2.5.8); the white ring keeps it visible on dark pages (1.4.11). */
#tpcc-root.tpcc-bar .tpcc-manage-icon {
	right: 16px;
	bottom: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}
#tpcc-root.tpcc-bar.tpcc-manage-left .tpcc-manage-icon { right: auto; left: 16px; }
#tpcc-root.tpcc-bar .tpcc-manage-icon svg { display: block; width: 26px; height: 26px; }
#tpcc-root.tpcc-bar .tpcc-manage-icon:focus-visible { outline: 3px solid var(--tpcc-accent); outline-offset: 3px; }

@media (max-width: 800px) {
	#tpcc-root.tpcc-bar .tpcc-banner:not(.tpcc-wall) {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "title" "text" "cats" "links" "actions";
		padding: 14px 16px;
	}
	#tpcc-root.tpcc-bar .tpcc-banner:not(.tpcc-wall) .tpcc-links { margin-bottom: 12px; }
	#tpcc-root.tpcc-bar .tpcc-banner:not(.tpcc-wall) .tpcc-actions { max-width: none; }
}
@media (max-width: 480px) {
	#tpcc-root.tpcc-bar .tpcc-banner:not(.tpcc-wall) {
		right: 0 !important;
		left: 0 !important;
		bottom: 0;
	}
}

/* Short viewports (400% zoom, landscape phones): a fixed bar would leave too
   little page to read, so it joins the normal flow at the top of the page and
   pushes the content down instead. */
@media (max-height: 480px) {
	#tpcc-root.tpcc-bar .tpcc-banner:not(.tpcc-wall) {
		position: static;
		max-height: none;
		overflow: visible;
		box-shadow: none;
		border-top: 0;
		border-bottom: 1px solid rgba(0, 0, 0, .15);
	}
}

/* Policy page: switches outside #tpcc-root reuse the same look */
.tpcc-policy .tpcc-switch { position: relative; display: inline-flex; align-items: center; gap: 12px; margin: 0; font-weight: 600; cursor: pointer; }
.tpcc-policy .tpcc-switch input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.tpcc-policy .tpcc-slider { position: relative; flex: 0 0 44px; width: 44px; height: 24px; background: #6b7280; border-radius: 24px; transition: background .2s; }
.tpcc-policy .tpcc-slider::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.tpcc-policy .tpcc-switch input:checked + .tpcc-slider { background: var(--tpcc-accent, #1a5fb4); }
.tpcc-policy .tpcc-switch input:checked + .tpcc-slider::after { transform: translateX(20px); }
.tpcc-policy .tpcc-switch input:disabled + .tpcc-slider { opacity: .6; }
.tpcc-policy .tpcc-switch input:focus-visible + .tpcc-slider { outline: 3px solid var(--tpcc-accent, #1a5fb4); outline-offset: 2px; }
.tpcc-policy .tpcc-cat { padding: 12px 0; border-top: 1px solid rgba(0, 0, 0, .12); }
.tpcc-policy .tpcc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tpcc-policy .tpcc-always { font-size: .85em; font-weight: 600; color: var(--tpcc-accent, #1a5fb4); }
.tpcc-policy .tpcc-prefs-actions { margin: 12px 0 0; }

/* Policy page: one collapsible panel per service */
.tpcc-policy .tpcc-service {
	margin: 0 0 10px;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 8px;
}
.tpcc-policy .tpcc-service > summary {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 16px;
	padding: 12px 16px;
	cursor: pointer;
	list-style: none;
}
.tpcc-policy .tpcc-service > summary::-webkit-details-marker { display: none; }
.tpcc-policy .tpcc-service > summary::after { content: "+"; font-weight: 700; margin-left: auto; }
.tpcc-policy .tpcc-service[open] > summary::after { content: "\2212"; }
.tpcc-policy .tpcc-service > summary:focus-visible { outline: 3px solid var(--tpcc-accent, #1a5fb4); outline-offset: 2px; }
.tpcc-policy .tpcc-service-name { margin: 0; font-size: 1.05em; }
.tpcc-policy .tpcc-service-cat { font-size: .9em; font-weight: 600; }
.tpcc-policy .tpcc-service-body { padding: 0 16px 12px; }
.tpcc-policy .tpcc-service-body h4 { margin: 12px 0 4px; font-size: 1em; }

/* Placeholder stills behind blocked video / map embeds are painted inside the srcdoc. */

/* Policy layout: summary box, contents, lists */
.tpcc-policy ul,
.tpcc-policy ol { margin: 0 0 1.2em 1.4em; padding: 0; }
.tpcc-policy li { margin: 0 0 .35em; }
.tpcc-policy h2 { scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 90px); }
.tpcc-policy .tpcc-summary {
	margin: 0 0 1.5em;
	padding: 16px 20px;
	background: rgba(0, 0, 0, .04);
	border-left: 4px solid var(--tpcc-accent, #1a5fb4);
	border-radius: 6px;
}
.tpcc-policy .tpcc-summary-title { margin: 0 0 .5em; }
.tpcc-policy .tpcc-summary ul { margin-bottom: 0; }
.tpcc-policy .tpcc-toc { margin: 0 0 2em; }
.tpcc-policy .tpcc-toc p { margin: 0 0 .4em; }
.tpcc-policy .tpcc-toc ol { columns: 2 16em; column-gap: 2em; }
.tpcc-policy .tpcc-toc a { display: inline-block; min-height: 24px; }
.tpcc-policy .tpcc-facts { list-style: none; margin-left: 0; }
.tpcc-policy .tpcc-facts li { padding-left: 0; }
.tpcc-policy .tpcc-contact { margin: 0 0 .8em; font-style: normal; line-height: 1.6; }
.tpcc-policy .tpcc-contact-list { list-style: none; margin-left: 0; }

/* Technophobia Accessibility toolbar (and similar) high-contrast mode:
   keep the banner, switches and buttons distinguishable when every element
   is forced to black. */
body.tpa-high-contrast #tpcc-root .tpcc-banner,
body.tpa-high-contrast #tpcc-root .tpcc-dialog,
body.tpa-high-contrast #tpcc-root .tpcc-manage { border: 2px solid #fff !important; }
body.tpa-high-contrast #tpcc-root .tpcc-btn,
body.tpa-high-contrast .tpcc-policy .tpcc-btn,
body.tpa-high-contrast #tpcc-root .tpcc-close { border: 2px solid #fff !important; }
body.tpa-high-contrast #tpcc-root .tpcc-btn-primary,
body.tpa-high-contrast .tpcc-policy .tpcc-btn-primary { background-color: #fff !important; color: #000 !important; }
body.tpa-high-contrast #tpcc-root .tpcc-slider,
body.tpa-high-contrast .tpcc-policy .tpcc-slider { border: 2px solid #fff !important; }
body.tpa-high-contrast #tpcc-root .tpcc-switch input:checked + .tpcc-slider,
body.tpa-high-contrast .tpcc-policy .tpcc-switch input:checked + .tpcc-slider { background-color: #0ff !important; }
body.tpa-high-contrast #tpcc-root .tpcc-slider::after,
body.tpa-high-contrast .tpcc-policy .tpcc-slider::after { background-color: #fff !important; }
body.tpa-high-contrast #tpcc-root .tpcc-switch input:checked + .tpcc-slider::after,
body.tpa-high-contrast .tpcc-policy .tpcc-switch input:checked + .tpcc-slider::after { background-color: #000 !important; }
body.tpa-high-contrast #tpcc-root .tpcc-overlay,
body.tpa-high-contrast #tpcc-root .tpcc-wall-overlay { background-color: rgba(0, 0, 0, .85) !important; }
body.tpa-high-contrast #tpcc-root .tpcc-btn:focus-visible,
body.tpa-high-contrast #tpcc-root .tpcc-switch input:focus-visible + .tpcc-slider,
body.tpa-high-contrast .tpcc-policy .tpcc-switch input:focus-visible + .tpcc-slider { outline: 3px solid #ff0 !important; }
body.tpa-high-contrast .tpcc-policy .tpcc-service,
body.tpa-high-contrast .tpcc-policy .tpcc-summary { border: 2px solid #fff !important; }
body.tpa-high-contrast .tpcc-policy .tpcc-status .is-on { color: #0f0 !important; }
body.tpa-high-contrast .tpcc-policy .tpcc-status .is-off { color: #f66 !important; }
/* Larger text and dyslexia modes: let the banner grow instead of clipping. */
body.tpa-large-font #tpcc-root .tpcc-banner,
body.tpa-dyslexic #tpcc-root .tpcc-banner { width: 480px; }
