/* KAMP WCAG 2.2 AA — prawy pasek (jak FMT) */

.kamp-wcag-widget {
	--kamp-wcag-z: 100050;
	--kamp-wcag-ink: #1a1d1f;
	--kamp-wcag-paper: #ffffff;
	position: fixed;
	top: max(28%, calc(env(safe-area-inset-top, 0px) + 120px));
	right: 0;
	z-index: var(--kamp-wcag-z);
	display: flex;
	flex-direction: row-reverse;
	align-items: flex-start;
	gap: 10px;
	width: auto;
	height: auto;
	overflow: visible;
	pointer-events: none;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.kamp-wcag-fab {
	position: relative;
	z-index: 2;
	pointer-events: auto;
	width: 42px;
	min-height: 54px;
	margin: 0;
	padding: 9px 4px 8px;
	border: 1px solid rgba(26, 29, 31, 0.1);
	border-right: 0;
	border-radius: 8px 0 0 8px;
	background: var(--kamp-wcag-paper);
	color: var(--kamp-wcag-ink);
	box-shadow: -6px 8px 22px rgba(15, 17, 19, 0.18);
	cursor: pointer;
	display: grid;
	justify-items: center;
	align-content: center;
	gap: 3px;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.kamp-wcag-fab:hover,
.kamp-wcag-fab:focus-visible,
.kamp-wcag-widget.is-open .kamp-wcag-fab {
	background: var(--kamp-red, #c8102e);
	color: #fff;
	outline: none;
	box-shadow: -6px 8px 24px rgba(200, 16, 46, 0.28);
}

.kamp-wcag-fab:focus-visible {
	outline: 3px solid #fff !important;
	outline-offset: -3px !important;
	box-shadow: 0 0 0 3px var(--kamp-red, #c8102e) !important;
}

.kamp-wcag-fab-ico {
	display: grid;
	place-items: center;
	line-height: 0;
}

.kamp-wcag-fab-ico svg {
	width: 20px;
	height: 20px;
	display: block;
}

.kamp-wcag-fab-label {
	display: grid;
	justify-items: center;
	gap: 1px;
	line-height: 1.05;
	text-align: center;
	letter-spacing: 0.02em;
}

.kamp-wcag-fab-label strong {
	font-size: 8px;
	font-weight: 800;
	text-transform: uppercase;
}

.kamp-wcag-fab-label em {
	font-style: normal;
	font-size: 7px;
	font-weight: 600;
	opacity: 0.72;
}

.kamp-wcag-panel {
	position: relative;
	z-index: 1;
	pointer-events: auto;
	width: min(288px, calc(100vw - 56px));
	margin-top: 0;
	background: var(--kamp-wcag-paper);
	color: #2b2f33;
	border: 1px solid #e5e8eb;
	border-radius: 10px;
	box-shadow: -10px 12px 32px rgba(15, 17, 19, 0.2);
	overflow: hidden;
}

.kamp-wcag-panel[hidden] {
	display: none !important;
}

.kamp-wcag-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 14px;
	background: #0f1113;
	color: #fff;
}

.kamp-wcag-panel-head strong {
	font-size: 15px;
	font-weight: 700;
}

.kamp-wcag-close {
	border: 0;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	width: 36px;
	height: 36px;
	border-radius: 6px;
}

.kamp-wcag-close:hover,
.kamp-wcag-close:focus-visible {
	background: rgba(255, 255, 255, 0.22);
}

.kamp-wcag-close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 1px;
}

.kamp-wcag-panel-body {
	padding: 12px 14px 16px;
	display: grid;
	gap: 10px;
}

.kamp-wcag-lead {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: #555d61;
}

.kamp-wcag-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
}

.kamp-wcag-row select {
	min-width: 110px;
	min-height: 36px;
	padding: 4px 8px;
	border: 1px solid #c5ccd1;
	border-radius: 6px;
	background: #fff;
}

.kamp-wcag-row--switch input {
	width: 20px;
	height: 20px;
}

.kamp-wcag-reset {
	margin-top: 4px;
	min-height: 40px;
	border: 1px solid #c5ccd1;
	border-radius: 8px;
	background: #f8f9fa;
	cursor: pointer;
	font-size: 14px;
}

.kamp-wcag-reset:hover {
	background: #eef0f2;
}

.kamp-wcag-reset:focus-visible,
.kamp-wcag-row select:focus-visible,
.kamp-wcag-row--switch input:focus-visible {
	outline: 3px solid var(--kamp-red, #c8102e);
	outline-offset: 2px;
}

.kamp-wcag-hint {
	margin: -4px 0 0;
	font-size: 12px;
	color: #555d61;
	line-height: 1.35;
}

.kamp-wcag-help {
	margin: 4px 0 0;
	font-size: 13px;
}

.kamp-wcag-help a {
	color: var(--kamp-red, #c8102e);
	text-decoration: underline;
}

.kamp-wcag .screen-reader-text,
.kamp-wcag-widget .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

@media (max-width: 640px) {
	.kamp-wcag-widget {
		top: auto;
		bottom: max(88px, calc(env(safe-area-inset-bottom, 0px) + 72px));
	}

	.kamp-wcag-panel {
		width: min(280px, calc(100vw - 52px));
	}

	html.kamp-wcag-on :focus-visible {
		scroll-margin-bottom: 88px;
	}
}

/* Profile dostępności */
html.kamp-wcag-contrast {
	--kamp-red: #a00d25;
	--kamp-accent: #a00d25;
	--kamp-accent-dark: #7a0a1c;
	--kamp-bg: #ffffff;
	--kamp-surface: #ffffff;
	--kamp-text: #000000;
	--kamp-muted: #1a1d1f;
	--kamp-border: #000000;
	--kamp-soft: #ffffff;
}

html.kamp-wcag-contrast body.kamp-host {
	background: #fff !important;
	color: #000 !important;
}

html.kamp-wcag-contrast .kamp-section,
html.kamp-wcag-contrast .kamp-page-hero__card,
html.kamp-wcag-contrast .kamp-footer,
html.kamp-wcag-contrast .kamp-header,
html.kamp-wcag-contrast .kamp-wcag-panel,
html.kamp-wcag-contrast .kamp-wcag-fab {
	background: #fff !important;
	color: #000 !important;
	border-color: #000 !important;
}

html.kamp-wcag-contrast a:not(.kamp-btn):not(.kamp-scroll-top) {
	color: #0000ee !important;
}

html.kamp-wcag-underline a:not(.kamp-btn):not(.kamp-scroll-top):not(.kamp-skip) {
	text-decoration: underline !important;
	text-underline-offset: 0.15em;
	text-decoration-thickness: 1.5px;
}

/* Keep review bodies / stars readable — never inherit link chrome */
html.kamp-wcag-underline .kamp-google-reviews__item,
html.kamp-wcag-underline .kamp-google-reviews__item *,
html.kamp-wcag-contrast .kamp-google-reviews__item,
html.kamp-wcag-contrast .kamp-google-reviews__item * {
	color: #000 !important;
	text-decoration: none !important;
}
html.kamp-wcag-underline .kamp-google-reviews__summary,
html.kamp-wcag-underline .kamp-google-reviews__badge,
html.kamp-wcag-contrast .kamp-google-reviews__summary,
html.kamp-wcag-contrast .kamp-google-reviews__badge {
	color: #000 !important;
	text-decoration: none !important;
}

html.kamp-wcag-motion *,
html.kamp-wcag-motion *::before,
html.kamp-wcag-motion *::after {
	animation: none !important;
	transition: none !important;
	scroll-behavior: auto !important;
}

@media (prefers-reduced-motion: reduce) {
	html.kamp-wcag-on *,
	html.kamp-wcag-on *::before,
	html.kamp-wcag-on *::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

html.kamp-wcag-dyslexia body,
html.kamp-wcag-dyslexia button,
html.kamp-wcag-dyslexia input,
html.kamp-wcag-dyslexia select,
html.kamp-wcag-dyslexia textarea,
html.kamp-wcag-dyslexia a,
html.kamp-wcag-dyslexia label,
html.kamp-wcag-dyslexia p,
html.kamp-wcag-dyslexia li,
html.kamp-wcag-dyslexia h1,
html.kamp-wcag-dyslexia h2,
html.kamp-wcag-dyslexia h3 {
	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
	letter-spacing: 0.03em;
	word-spacing: 0.08em;
	line-height: 1.6;
}

html.kamp-wcag-text-112 { font-size: 112% !important; }
html.kamp-wcag-text-125 { font-size: 125% !important; }
html.kamp-wcag-text-150 { font-size: 150% !important; }

@supports (zoom: 1) {
	html.kamp-wcag-text-112 { font-size: 100% !important; zoom: 1.12; }
	html.kamp-wcag-text-125 { font-size: 100% !important; zoom: 1.25; }
	html.kamp-wcag-text-150 { font-size: 100% !important; zoom: 1.5; }
}

html.kamp-wcag-on :focus-visible {
	outline: 3px solid var(--kamp-red, #c8102e) !important;
	outline-offset: 3px !important;
	box-shadow: 0 0 0 3px #fff !important;
	scroll-margin-top: max(96px, calc(var(--kamp-header-height, 52px) + 28px));
	scroll-margin-bottom: 110px;
}

html.kamp-wcag-on #kamp-main:focus {
	outline: none;
}

html.kamp-wcag-on #kamp-main:focus-visible {
	outline: 3px solid var(--kamp-red, #c8102e) !important;
	outline-offset: 4px !important;
	box-shadow: 0 0 0 3px #fff !important;
}
