/* Vision Wear accessibility toolbar. Sits on the left so it does not cover chat. */

.vwca-a11y-wrap {
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 10000000;
	font-family: Inter, system-ui, sans-serif;
}

.vwca-a11y-toggle {
	box-sizing: border-box !important;
	width: 52px !important;
	height: 52px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 50% !important;
	border: 0 !important;
	background-color: #172554 !important;
	color: #fff !important;
	cursor: pointer;
	display: flex !important;
	align-items: center;
	justify-content: center;
	line-height: 1;
	box-shadow: 0 8px 20px rgba(23, 37, 84, 0.35);
}

.vwca-a11y-toggle svg {
	display: block !important;
	width: 28px !important;
	height: 28px !important;
}

.vwca-a11y-toggle:hover,
.vwca-a11y-toggle:focus-visible {
	background-color: #1e3a8a !important;
}

.vwca-a11y-toggle:focus-visible,
.vwca-a11y-btn:focus-visible {
	outline: 3px solid #2563eb;
	outline-offset: 2px;
}

.vwca-a11y-panel {
	position: absolute;
	bottom: 62px;
	left: 0;
	width: 240px;
	max-height: min(70vh, 520px);
	overflow-y: auto;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 12px;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.vwca-a11y-heading {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #172554;
}

.vwca-a11y-group {
	margin: 10px 0 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #64748b;
}

.vwca-a11y-btn {
	display: block;
	width: 100%;
	margin: 0 0 6px;
	padding: 8px 10px;
	font-size: 14px;
	text-align: left;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
	color: #0f172a;
	cursor: pointer;
}

.vwca-a11y-btn[aria-pressed="true"] {
	background: #172554;
	border-color: #172554;
	color: #fff;
}

.vwca-a11y-btn[aria-pressed="true"]::after {
	content: " ✓";
}

.vwca-a11y-reset {
	border-color: #172554;
	color: #172554;
	margin-bottom: 0;
}

html.vwca-font-1 { font-size: 112.5% !important; }
html.vwca-font-2 { font-size: 125% !important; }

html.vwca-underline a { text-decoration: underline !important; }

html.vwca-readable body,
html.vwca-readable body *:not(.vwca-a11y-wrap):not(.vwca-a11y-wrap *) {
	font-family: Arial, Helvetica, sans-serif !important;
	letter-spacing: 0.02em;
}

html.vwca-dyslexia body,
html.vwca-dyslexia body *:not(.vwca-a11y-wrap):not(.vwca-a11y-wrap *) {
	font-family: "Comic Sans MS", "Comic Sans", "Trebuchet MS", Verdana, sans-serif !important;
	letter-spacing: 0.04em;
	word-spacing: 0.12em;
	line-height: 1.7;
}

html.vwca-spacing body,
html.vwca-spacing body *:not(.vwca-a11y-wrap):not(.vwca-a11y-wrap *) {
	letter-spacing: 0.06em !important;
	word-spacing: 0.16em !important;
	line-height: 1.8 !important;
}

html.vwca-no-motion *,
html.vwca-no-motion *::before,
html.vwca-no-motion *::after {
	animation-play-state: paused !important;
	transition: none !important;
	scroll-behavior: auto !important;
}

html.vwca-hide-images img,
html.vwca-hide-images picture,
html.vwca-hide-images video {
	visibility: hidden !important;
}

html.vwca-cursor,
html.vwca-cursor body,
html.vwca-cursor body * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill='%23172554' stroke='%23fff' stroke-width='1.5' d='M5 3 L5 26 L11 20 L16 29 L20 27 L15 18 L24 18 Z'/%3E%3C/svg%3E") 4 2, auto !important;
}

html.vwca-focus :focus-visible {
	outline: 3px solid #2563eb !important;
	outline-offset: 3px !important;
}

.vwca-reading-guide,
.vwca-reading-mask {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	pointer-events: none;
	z-index: 99998;
}

.vwca-reading-guide {
	height: 3px;
	background: #2563eb;
	box-shadow: 0 0 0 1px #fff;
}

.vwca-reading-mask {
	height: 88px;
	box-shadow: 0 0 0 100vh rgba(15, 23, 42, 0.55);
}

html.vwca-guide .vwca-reading-guide,
html.vwca-mask .vwca-reading-mask {
	display: block;
}
