/* Web-Click נגישות 2.0 — toolbar, personal bar, floating tools & user-preference styles.
 * The toolbar UI itself targets WCAG 2.2 AAA: 7:1 text contrast (1.4.6), 44×44px targets (2.5.5),
 * strong focus indicator (2.4.13), state shown by more than colour (1.4.1). */

:root {
	--wca11y-primary: #1a2b4c;
	--wca11y-scale: 1;
	--wca11y-sat: saturate(1);
	--wca11y-inv: invert(0);
}

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

/* ---------- Skip link (2.4.1) ---------- */
.wca11y-skip-link {
	position: fixed;
	top: -100px;
	right: 16px;
	z-index: 2147483001;
	padding: 12px 20px;
	background: #000;
	color: #fff !important;
	font: 700 18px/1.4 Arial, sans-serif;
	text-decoration: underline;
	border: 3px solid #fff;
	border-radius: 4px;
}
.wca11y-skip-link:focus,
.wca11y-skip-link:focus-visible {
	top: 16px;
	outline: 3px solid #ffbf00;
	outline-offset: 2px;
}

/* ================================================================
 * Toolbar
 * ============================================================== */
.wca11y-root,
.wca11y-root * {
	box-sizing: border-box;
	font-family: Arial, "Heebo", "Assistant", sans-serif;
	letter-spacing: normal;
	word-spacing: normal;
	text-transform: none;
	text-shadow: none;
}
.wca11y-root {
	position: fixed;
	z-index: 2147483000;
	font-size: 16px;
	line-height: 1.5;
	color: #111;
	text-align: right;
}
.wca11y-pos-left { left: 16px; }
.wca11y-pos-right { right: 16px; }
.wca11y-pos-bottom { bottom: 16px; }
.wca11y-pos-top { top: 16px; }

.wca11y-root button { font: inherit; }
/* Shield the popup from theme typography */
.wca11y-root :is(p, h2, h3, h4, ul, ol, li, dl, dt, dd, label, output, span) {
	text-align: start;
	text-indent: 0;
	float: none;
}
.wca11y-root :is(h2, h3, h4) { font-family: Arial, "Heebo", "Assistant", sans-serif; letter-spacing: normal; text-transform: none; }
.wca11y-icon { flex: 0 0 auto; display: block; }

.wca11y-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	padding: 0;
	margin: 0;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--wca11y-primary);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}
.wca11y-toggle:hover { filter: brightness(1.2); }

.wca11y-root :focus-visible {
	outline: 3px solid #000 !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 6px #fff !important;
}
.wca11y-toggle:focus-visible { outline-color: #ffbf00 !important; }

/* ---------- Panel ---------- */
.wca11y-root {
	--wca11y-bg: #eef0fb;          /* panel background — light tint */
	--wca11y-card: #ffffff;        /* group cards */
	--wca11y-tile: #f2f3f6;        /* tiles */
	--wca11y-tile-hover: #e6e8ef;
	--wca11y-line: #dfe2ea;        /* soft borders */
	--wca11y-ink: #111318;         /* 18:1 on white */
	--wca11y-muted: #3f4451;       /* 9.6:1 on white */
}
@supports (background: color-mix(in srgb, red 10%, white)) {
	.wca11y-root {
		--wca11y-bg: color-mix(in srgb, var(--wca11y-primary) 9%, #f6f7fb);
		--wca11y-line: color-mix(in srgb, var(--wca11y-primary) 14%, #e4e6ec);
	}
}

.wca11y-panel {
	position: absolute;
	display: flex;
	flex-direction: column;
	width: min(440px, calc(100vw - 32px));
	max-height: calc(100vh - 100px);
	background: var(--wca11y-bg);
	color: var(--wca11y-ink);
	border: 1px solid var(--wca11y-line);
	border-radius: 24px;
	box-shadow: 0 18px 50px rgba(17, 19, 24, .28), 0 2px 6px rgba(17, 19, 24, .12);
	overflow: hidden;
}
.wca11y-panel[hidden] { display: none; }
.wca11y-pos-left .wca11y-panel { left: 0; }
.wca11y-pos-right .wca11y-panel { right: 0; }
.wca11y-pos-bottom .wca11y-panel { bottom: 72px; }
.wca11y-pos-top .wca11y-panel { top: 72px; }

.wca11y-head {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 18px;
	background: var(--wca11y-primary);
	color: #fff;
	border-radius: 0 0 22px 22px;
	box-shadow: 0 4px 14px rgba(17, 19, 24, .18);
}
.wca11y-title {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	margin: 0;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
}
.wca11y-close,
.wca11y-head-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 44px;
	min-height: 44px;
	padding: 0 10px;
	border: 2px solid rgba(255, 255, 255, .85);
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}
.wca11y-close:hover,
.wca11y-head-btn:hover { background: rgba(255, 255, 255, .16); }
.wca11y-close { padding: 0; width: 44px; }

.wca11y-scroll {
	flex: 1 1 auto;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 14px 14px 6px;
	scrollbar-width: thin;
}

/* Group cards */
.wca11y-group,
.wca11y-assist,
.wca11y-personal {
	margin: 0 0 14px;
	padding: 14px;
	background: var(--wca11y-card);
	border: 1px solid var(--wca11y-line);
	border-radius: 20px;
}
.wca11y-gtitle {
	margin: 0 4px 12px;
	font-size: 14px;
	font-weight: 700;
	color: var(--wca11y-muted);
}

/* ---------- Tiles ---------- */
.wca11y-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
.wca11y-tile {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 64px;
	padding: 10px 12px;
	border: 1px solid var(--wca11y-line);
	border-radius: 16px;
	background: var(--wca11y-tile);
	color: var(--wca11y-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	text-align: start;
	cursor: pointer;
}
.wca11y-tile:hover { background: var(--wca11y-tile-hover); border-color: var(--wca11y-primary); }
.wca11y-tile-label { flex: 1; min-width: 0; padding-inline-end: 22px; }

/* Centred icon in a white circle */
.wca11y-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #fff;
	color: var(--wca11y-primary);
	box-shadow: 0 1px 3px rgba(17, 19, 24, .14);
}
.wca11y-ico .wca11y-icon { width: 22px; height: 22px; }

.wca11y-tile[aria-pressed="true"] {
	background: var(--wca11y-primary);
	border-color: var(--wca11y-primary);
	color: #fff;
}
/* State is not shown by colour alone (1.4.1) */
.wca11y-tile[aria-pressed="true"]::after {
	content: "✓";
	position: absolute;
	top: 6px;
	left: 8px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	color: var(--wca11y-primary);
	font-size: 13px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
}
.wca11y-tile[data-wca11y-action] .wca11y-tile-label::after {
	content: " ↗";
	font-weight: 400;
}

/* ---------- Stepper ---------- */
.wca11y-stepper {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 64px;
	padding: 10px 12px;
	border: 1px solid var(--wca11y-line);
	border-radius: 16px;
	background: var(--wca11y-tile);
}
.wca11y-stepper.is-changed { border: 2px solid var(--wca11y-primary); }
.wca11y-st-label {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	font-size: 15px;
	font-weight: 700;
}
.wca11y-st-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--wca11y-line);
	border-radius: 50%;
	background: #fff;
	color: var(--wca11y-primary);
	box-shadow: 0 1px 3px rgba(17, 19, 24, .14);
	cursor: pointer;
}
.wca11y-st-btn:hover:not(:disabled) { border-color: var(--wca11y-primary); }
.wca11y-st-btn:disabled { color: #8a8f9c; box-shadow: none; cursor: not-allowed; }
.wca11y-st-val {
	min-width: 52px;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
}

/* ---------- Personal bar ---------- */
.wca11y-personal {
	border: 2px solid var(--wca11y-primary);
	box-shadow: 0 6px 18px rgba(17, 19, 24, .1);
}
.wca11y-personal[hidden] { display: none; }
.wca11y-personal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.wca11y-personal-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: var(--wca11y-ink);
}
.wca11y-personal-title .wca11y-icon { color: var(--wca11y-primary); }
.wca11y-personal-msg {
	margin: 6px 2px 12px;
	font-size: 14px;
	color: var(--wca11y-muted);
}

.wca11y-link-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 44px;
	padding: 4px 14px;
	border: 1px solid var(--wca11y-line);
	border-radius: 999px;
	background: var(--wca11y-tile);
	color: var(--wca11y-ink);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}
.wca11y-link-btn:hover { border-color: var(--wca11y-primary); }

/* ---------- Assistant ---------- */
.wca11y-assist { padding: 6px; }
.wca11y-assist-toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 52px;
	padding: 6px 8px;
	border: 0;
	border-radius: 14px;
	background: transparent;
	color: var(--wca11y-ink);
	font-size: 16px;
	font-weight: 700;
	text-align: start;
	cursor: pointer;
}
.wca11y-assist-toggle:hover { background: var(--wca11y-tile); }
.wca11y-assist-toggle > .wca11y-icon {
	width: 42px;
	height: 42px;
	padding: 10px;
	border-radius: 50%;
	background: var(--wca11y-primary);
	color: #fff;
}
.wca11y-assist-toggle .wca11y-chev { margin-inline-start: auto; color: var(--wca11y-muted); }
.wca11y-assist-toggle[aria-expanded="true"] .wca11y-chev svg { transform: rotate(180deg); }
.wca11y-assist-body { padding: 4px 8px 10px; }
.wca11y-assist-body[hidden] { display: none; }
.wca11y-assist-intro { margin: 0 0 12px; font-size: 14px; color: var(--wca11y-muted); }

.wca11y-chips {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 14px;
}
.wca11y-chip {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 48px;
	padding: 6px 10px;
	border: 1px solid var(--wca11y-line);
	border-radius: 14px;
	background: var(--wca11y-tile);
	color: var(--wca11y-ink);
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
}
.wca11y-chip:hover { background: var(--wca11y-tile-hover); border-color: var(--wca11y-primary); }
.wca11y-chip .wca11y-icon { width: 20px; height: 20px; color: var(--wca11y-primary); }
.wca11y-chip[aria-pressed="true"] {
	background: var(--wca11y-primary);
	border-color: var(--wca11y-primary);
	color: #fff;
}
.wca11y-chip[aria-pressed="true"] .wca11y-icon { color: #fff; }
.wca11y-chip[aria-pressed="true"]::before { content: "✓"; font-weight: 700; }
.wca11y-assist-label { display: block; margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.wca11y-assist-input {
	display: block;
	width: 100%;
	min-height: 76px;
	padding: 10px 12px;
	border: 1px solid #8a8f9c;
	border-radius: 14px;
	background: #fff;
	color: var(--wca11y-ink);
	font-size: 16px;
	line-height: 1.5;
	resize: vertical;
}
.wca11y-assist-input::placeholder { color: #5b606c; }
.wca11y-assist-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}
.wca11y-primary-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 8px 18px;
	border: 0;
	border-radius: 999px;
	background: var(--wca11y-primary);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(17, 19, 24, .2);
}
.wca11y-primary-btn:hover { filter: brightness(1.12); }
.wca11y-primary-btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.wca11y-dictate[aria-pressed="true"] { background: #ffe9a8; }
.wca11y-assist-note { margin: 10px 0 0; font-size: 13px; color: var(--wca11y-muted); }
.wca11y-assist-status { margin: 10px 0 0; font-weight: 700; }
.wca11y-assist-status:empty { display: none; }
.wca11y-assist-h { margin: 0; font-size: inherit; }
.wca11y-modal-title { margin: 0; font-size: 18px; color: #fff; }

/* ---------- Footer ---------- */
.wca11y-foot {
	padding: 10px 14px 12px;
	background: var(--wca11y-card);
	border-top: 1px solid var(--wca11y-line);
}
.wca11y-foot-links {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px;
	overflow-x: auto;
	scrollbar-width: none;
}
.wca11y-foot-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 44px;
	padding: 0 6px;
	border-radius: 10px;
	color: var(--wca11y-ink) !important;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: underline !important;
	text-decoration-color: var(--wca11y-line) !important;
	text-underline-offset: 4px;
}
.wca11y-foot-link:hover { background: var(--wca11y-tile); text-decoration-color: currentColor !important; }
.wca11y-foot-link .wca11y-icon { width: 18px; height: 18px; color: var(--wca11y-primary); }
.wca11y-credit {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 6px;
	padding-top: 8px;
	border-top: 1px dashed var(--wca11y-line);
	font-size: 13px;
	color: var(--wca11y-muted);
}
.wca11y-credit a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	color: var(--wca11y-primary) !important;
	font-weight: 700;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}
.wca11y-kbd {
	padding: 2px 8px;
	border: 1px solid var(--wca11y-line);
	border-radius: 6px;
	background: var(--wca11y-tile);
	font-family: ui-monospace, Consolas, monospace;
	font-size: 12px;
	color: var(--wca11y-ink);
}

/* ================================================================
 * Floating layers (inside the root so page filters never touch them)
 * ============================================================== */
.wca11y-layer {
	position: fixed;
	z-index: 2147483002;
	color: #111;
	background: #fff;
	border: 2px solid #111;
	border-radius: 10px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}
.wca11y-layer[hidden] { display: none !important; }
.wca11y-layer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 6px 8px 6px 12px;
	background: var(--wca11y-primary);
	color: #fff;
	border-radius: 8px 8px 0 0;
	font-weight: 700;
}
.wca11y-layer-head .wca11y-close { min-width: 40px; min-height: 40px; }
.wca11y-layer .wca11y-mini {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 44px;
	min-height: 44px;
	padding: 4px 10px;
	border: 2px solid #111;
	border-radius: 8px;
	background: #f3f4f6;
	color: #111;
	font-weight: 700;
	cursor: pointer;
}

/* Docks keep floating tools from piling on top of each other */
.wca11y-dock {
	position: fixed;
	z-index: 2147483002;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	pointer-events: none;
}
.wca11y-dock > .wca11y-layer { position: static; transform: none; pointer-events: auto; }
.wca11y-dock-top { top: 12px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 24px); }
.wca11y-dock-side { top: 50%; right: 12px; transform: translateY(-50%); align-items: stretch; }
/* Keep docks on the side away from the popup */
.wca11y-pos-left .wca11y-dock-top { left: auto; right: 12px; transform: none; align-items: flex-end; }
.wca11y-pos-right .wca11y-dock-top { left: 12px; transform: none; align-items: flex-start; }
.wca11y-pos-right .wca11y-dock-side { right: auto; left: 12px; }

/* Text-to-speech player */
.wca11y-tts-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	padding: 6px 8px;
	max-width: calc(100vw - 32px);
}
.wca11y-tts-bar .wca11y-tts-title { font-weight: 700; padding: 0 6px; }
.wca11y-tts-bar select { min-height: 44px; border: 2px solid #111; border-radius: 8px; background: #fff; color: #111; }

/* Voice badge */
.wca11y-voice-badge {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 8px 6px 12px;
	max-width: calc(100vw - 32px);
}
.wca11y-voice-dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #c00;
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px #c00;
}
.wca11y-voice-heard { font-weight: 700; }

/* Smart-nav legend / voice help */
.wca11y-legend {
	width: min(300px, calc(100vw - 32px));
}
.wca11y-legend dl { margin: 0; padding: 8px 12px 12px; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; }
.wca11y-legend dt { font-weight: 700; font-family: monospace; }
.wca11y-legend dd { margin: 0; }

/* Tooltip (image description) & magnifier */
.wca11y-tooltip {
	max-width: min(360px, calc(100vw - 24px));
	padding: 8px 12px;
	background: #111;
	color: #fff;
	border: 2px solid #fff;
	font-size: 16px;
	pointer-events: none;
}
.wca11y-mag-box {
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	width: min(900px, calc(100vw - 32px));
	max-height: 40vh;
	overflow: auto;
	padding: 14px 18px;
	background: #111;
	color: #fff;
	border: 3px solid #ffbf00;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.45;
	pointer-events: none;
}

html.wca11y-virtual-keyboard .wca11y-mag-box { bottom: 300px; }

/* Dictionary */
.wca11y-dict {
	width: min(340px, calc(100vw - 24px));
}
.wca11y-dict-body { padding: 10px 12px 12px; font-size: 16px; }
.wca11y-dict-word { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.wca11y-dict-def { margin: 0 0 8px; }
.wca11y-dict-links a { color: #0b3d91 !important; text-decoration: underline !important; margin-inline-end: 12px; font-weight: 700; }

/* Virtual keyboard */
.wca11y-vkb {
	left: 50%;
	bottom: 8px;
	transform: translateX(-50%);
	width: min(760px, calc(100vw - 16px));
	padding: 0 0 8px;
	user-select: none;
}
.wca11y-vkb-rows { padding: 8px; display: grid; gap: 6px; }
.wca11y-vkb-row { display: flex; gap: 5px; justify-content: center; }
.wca11y-vkb-key {
	flex: 1 1 0;
	min-width: 0;
	max-width: 64px;
	min-height: 48px;
	border: 2px solid #111;
	border-radius: 8px;
	background: #f3f4f6;
	color: #111;
	font-size: 20px;
	font-weight: 700;
	cursor: pointer;
}
.wca11y-vkb-key:hover { background: #e3e6eb; }
.wca11y-vkb-key.wide { max-width: 140px; flex-grow: 2; font-size: 15px; }
.wca11y-vkb-key.space { max-width: 320px; flex-grow: 6; }
.wca11y-vkb-key[aria-pressed="true"] { background: var(--wca11y-primary); color: #fff; }
.wca11y-vkb-target { padding: 0 12px; font-size: 14px; color: #333; }

/* Modal dialogs (page structure, reader fallback) */
.wca11y-overlay {
	position: fixed;
	inset: 0;
	z-index: 2147483003;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, .6);
}
.wca11y-overlay[hidden] { display: none; }
.wca11y-modal {
	display: flex;
	flex-direction: column;
	width: min(640px, 100%);
	max-height: calc(100vh - 32px);
	background: #fff;
	color: #111;
	border: 2px solid #111;
	border-radius: 10px;
	overflow: hidden;
}
.wca11y-modal.is-wide { width: min(980px, 100%); height: calc(100vh - 32px); }
.wca11y-modal iframe { flex: 1; width: 100%; border: 0; }
.wca11y-tabs { display: flex; gap: 4px; padding: 8px 12px 0; border-bottom: 2px solid #111; }
.wca11y-tab {
	min-height: 44px;
	padding: 6px 14px;
	border: 2px solid #111;
	border-bottom: 0;
	border-radius: 8px 8px 0 0;
	background: #f3f4f6;
	color: #111;
	font-weight: 700;
	cursor: pointer;
}
.wca11y-tab[aria-selected="true"] { background: var(--wca11y-primary); color: #fff; }
.wca11y-tabpanel { overflow-y: auto; padding: 8px 12px 12px; }
.wca11y-tabpanel ul { list-style: none; margin: 0; padding: 0; }
.wca11y-tabpanel li { margin: 0; }
.wca11y-struct-item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 44px;
	padding: 6px 8px;
	border: 0;
	border-bottom: 1px solid #c8c8c8;
	background: transparent;
	color: #111;
	font-size: 16px;
	text-align: right;
	cursor: pointer;
}
.wca11y-struct-item:hover { background: #eef1f6; }
.wca11y-struct-tag {
	flex: 0 0 auto;
	min-width: 38px;
	padding: 2px 6px;
	border-radius: 4px;
	background: var(--wca11y-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}
.wca11y-struct-empty { padding: 12px 4px; }

.wca11y-guide {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	height: 12px;
	margin-top: -6px;
	background: rgba(255, 191, 0, .55);
	border-top: 2px solid #000;
	border-bottom: 2px solid #000;
	pointer-events: none;
	z-index: 2147482999;
}
html.wca11y-reading-guide .wca11y-guide { display: block; }

@media (max-width: 520px) {
	.wca11y-panel {
		position: fixed;
		left: 8px !important;
		right: 8px !important;
		bottom: 8px !important;
		top: auto !important;
		width: auto;
		max-height: calc(100vh - 16px);
	}
	.wca11y-root.is-open :is(.wca11y-dock, .wca11y-vkb, .wca11y-mag-box) { display: none !important; }
	.wca11y-foot-link .wca11y-icon { display: none; }
	.wca11y-foot-link { padding: 0 4px; }
	.wca11y-tile { padding: 10px; gap: 8px; }
	.wca11y-ico { flex-basis: 38px; width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: no-preference) {
	.wca11y-toggle { transition: filter .15s; }
}

/* ================================================================
 * User preferences — applied to page content only, never the toolbar.
 * ============================================================== */

/* Page zoom (1.4.4) — zoom reflows layout regardless of px/rem units. */
html.wca11y-scaled body > *:not(#wca11y-root):not(.wca11y-skip-link) {
	zoom: var(--wca11y-scale);
}

/* Readable font */
html.wca11y-readable-font body *:not(#wca11y-root *):not(i):not([class*="icon"]):not([class*="fa-"]):not([class*="dashicons"]):not([class*="eicon"]):not(code):not(pre) {
	font-family: Arial, "Heebo", "Assistant", sans-serif !important;
}

/* Text spacing (1.4.12) & line spacing (1.4.8 AAA) */
html.wca11y-line-height body *:not(#wca11y-root):not(#wca11y-root *) {
	line-height: 1.8 !important;
}
html.wca11y-line-height body p:not(#wca11y-root *) {
	margin-bottom: 2em !important;
}
html.wca11y-letter-spacing body *:not(#wca11y-root):not(#wca11y-root *) {
	letter-spacing: .12em !important;
	word-spacing: .16em !important;
}

/* Not justified (1.4.8 AAA) */
html.wca11y-align-start body *:not(#wca11y-root):not(#wca11y-root *) {
	text-align: start !important;
}

/* Dark high contrast */
html.wca11y-contrast-dark body,
html.wca11y-contrast-dark body *:not(#wca11y-root):not(#wca11y-root *) {
	background-color: #000 !important;
	background-image: none !important;
	color: #fff !important;
	border-color: #fff !important;
	text-shadow: none !important;
	box-shadow: none !important;
}
html.wca11y-contrast-dark body a:not(#wca11y-root *),
html.wca11y-contrast-dark body a:not(#wca11y-root *) * {
	color: #ffff00 !important;
}
html.wca11y-contrast-dark body button:not(#wca11y-root *) {
	color: #ffff00 !important;
	border: 2px solid #ffff00 !important;
}
html.wca11y-contrast-dark body img:not(#wca11y-root *) {
	background-color: transparent !important;
}

/* Light high contrast */
html.wca11y-contrast-light body,
html.wca11y-contrast-light body *:not(#wca11y-root):not(#wca11y-root *) {
	background-color: #fff !important;
	background-image: none !important;
	color: #000 !important;
	border-color: #000 !important;
	text-shadow: none !important;
	box-shadow: none !important;
}
html.wca11y-contrast-light body a:not(#wca11y-root *),
html.wca11y-contrast-light body a:not(#wca11y-root *) * {
	color: #0000c8 !important;
}

/* Colour filters — combined through custom properties so saturation and inversion can stack. */
html.wca11y-monochrome { --wca11y-sat: grayscale(1); }
html.wca11y-low-saturation { --wca11y-sat: saturate(.4); }
html.wca11y-high-saturation { --wca11y-sat: saturate(2); }
html.wca11y-invert { --wca11y-inv: invert(1) hue-rotate(180deg); }
html:is(.wca11y-monochrome, .wca11y-low-saturation, .wca11y-high-saturation, .wca11y-invert) body > *:not(#wca11y-root):not(.wca11y-skip-link) {
	filter: var(--wca11y-sat) var(--wca11y-inv);
}
html.wca11y-invert body :is(img, video, picture, iframe, canvas):not(#wca11y-root *) {
	filter: invert(1) hue-rotate(180deg);
}

/* Highlight links */
html.wca11y-highlight-links body a:not(#wca11y-root *) {
	text-decoration: underline !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 3px !important;
	outline: 2px dashed currentColor !important;
	outline-offset: 2px !important;
}

/* Highlight headings */
html.wca11y-highlight-headings body :is(h1, h2, h3, h4, h5, h6, [role="heading"]):not(#wca11y-root *) {
	outline: 3px solid currentColor !important;
	outline-offset: 4px !important;
}

/* Strong focus / keyboard navigation */
html:is(.wca11y-strong-focus, .wca11y-keyboard-nav) body *:not(#wca11y-root *):focus {
	outline: 4px solid #000 !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 8px #ffbf00 !important;
}
html.wca11y-keyboard-nav body li:focus-within > :is(ul, .sub-menu, .children, .dropdown-menu, .elementor-nav-menu--dropdown) {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	transform: none !important;
	pointer-events: auto !important;
}

/* Bigger targets (2.5.5) */
html.wca11y-big-buttons body :is(button, input[type="button"], input[type="submit"], input[type="reset"], [role="button"], .button, .btn, .wp-block-button__link, .elementor-button, select, input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="password"], input[type="number"]):not(#wca11y-root *) {
	min-height: 48px !important;
	min-width: 48px !important;
	font-size: max(1.1em, 17px) !important;
}
html.wca11y-big-buttons body :is(button, input[type="button"], input[type="submit"], [role="button"], .button, .btn, .wp-block-button__link, .elementor-button):not(#wca11y-root *) {
	padding: .6em 1.2em !important;
}
html.wca11y-big-buttons body :is(nav, .menu, [role="navigation"]) a:not(#wca11y-root *) {
	display: inline-block;
	min-height: 44px !important;
	padding-top: .6em !important;
	padding-bottom: .6em !important;
}
html.wca11y-big-buttons body input:is([type="checkbox"], [type="radio"]):not(#wca11y-root *) {
	width: 26px !important;
	height: 26px !important;
}

/* Big cursor */
html.wca11y-big-cursor,
html.wca11y-big-cursor * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M4 2 L4 40 L14 30 L21 46 L28 43 L21 28 L35 28 Z' fill='%23000' stroke='%23fff' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto !important;
}

/* Stop motion (2.2.2, 2.3.3) */
html.wca11y-stop-motion *,
html.wca11y-stop-motion *::before,
html.wca11y-stop-motion *::after {
	animation: none !important;
	transition: none !important;
	scroll-behavior: auto !important;
}

/* Hide images */
html.wca11y-hide-images body :is(img, picture, video, figure svg, [role="img"]):not(#wca11y-root *) {
	visibility: hidden !important;
}
html.wca11y-hide-images body *:not(#wca11y-root):not(#wca11y-root *) {
	background-image: none !important;
}

/* Reading focus — the block under the pointer */
html.wca11y-reading-focus .wca11y-rf-on {
	outline: 4px solid #ffbf00 !important;
	outline-offset: 4px !important;
	background-color: #fffbe6 !important;
	color: #111 !important;
	border-radius: 4px;
}

/* Text-to-speech */
html.wca11y-tts body :is(p, li, h1, h2, h3, h4, h5, h6, td, th, blockquote, figcaption, dt, dd, label):not(#wca11y-root *) {
	cursor: help;
}
.wca11y-speaking {
	background-color: #fff3b0 !important;
	color: #111 !important;
	outline: 2px solid #111 !important;
	outline-offset: 2px !important;
}

/* Image descriptions */
html.wca11y-image-desc body img:not(#wca11y-root *) {
	outline: 2px dashed #1a2b4c !important;
	outline-offset: 2px !important;
	cursor: help;
}

/* Smart-nav / structure target flash */
.wca11y-flash {
	outline: 4px solid #ffbf00 !important;
	outline-offset: 4px !important;
	box-shadow: 0 0 0 8px #000 !important;
}

@media print {
	.wca11y-root, .wca11y-skip-link { display: none !important; }
}
