/*!
 * Lor Accessibility — front end.
 *
 * Two halves. The first styles the widget and is scoped to #lor-a11y-root so
 * nothing leaks into the site. The second is the feature CSS: every rule hangs
 * off a class on <html> that the script adds, and every rule excludes the
 * widget and the admin bar, so with no feature active this file changes
 * nothing on the page.
 */

/* ======================================================================
   1. WIDGET
   ====================================================================== */

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

#lor-a11y-root {
	/* defaults; the plugin prints the administrator's values over these */
	--lor-a11y-primary: #0b5ed7;
	--lor-a11y-icon: #fff;
	--lor-a11y-bg: #fff;
	--lor-a11y-text: #1b1f27;
	--lor-a11y-radius: 16px;
	--lor-a11y-width: 400px;
	--lor-a11y-btn: 56px;
	--lor-a11y-x: 20px;
	--lor-a11y-y: 20px;
	--lor-a11y-z: 99999;
	--lor-a11y-mask-h: 120px;
	/* derived */
	--lor-a11y-muted: color-mix(in srgb, var(--lor-a11y-text) 62%, transparent);
	--lor-a11y-line: color-mix(in srgb, var(--lor-a11y-text) 12%, transparent);
	--lor-a11y-tint: color-mix(in srgb, var(--lor-a11y-primary) 9%, var(--lor-a11y-bg));
	--lor-a11y-card: color-mix(in srgb, var(--lor-a11y-text) 3%, var(--lor-a11y-bg));
	--lor-a11y-shadow: 0 18px 48px rgba(15, 23, 42, .22), 0 2px 8px rgba(15, 23, 42, .08);
	/* how far the panel must stay from the edge the launcher sits on: icon(s) + gaps */
	--lor-a11y-off:  calc(var(--lor-a11y-y) + var(--lor-a11y-btn) + 12px);
	--lor-a11y-offb: calc(var(--lor-a11y-off) + env(safe-area-inset-bottom, 0px));
	--lor-a11y-ease: 180ms cubic-bezier(.2, .7, .2, 1);

	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Arabic", "Segoe UI Arabic", Tahoma, sans-serif;
	font-size: 15px;
	line-height: 1.45;
	color: var(--lor-a11y-text);
	direction: ltr;
	text-align: start;
	letter-spacing: normal;
	word-spacing: normal;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}
#lor-a11y-root[dir="rtl"] { direction: rtl; }
#lor-a11y-root :is(p, h2, h3, ul, li, figure) { margin: 0; padding: 0; }
#lor-a11y-root ul { list-style: none; }
#lor-a11y-root svg { display: block; flex: none; }
#lor-a11y-root button {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	margin: 0;
	padding: 0;
	background: none;
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
	text-transform: none;
	text-align: inherit;
	line-height: inherit;
	cursor: pointer;
	border-radius: 0;
	box-shadow: none;
	min-width: 0;
	width: auto;
	height: auto;
}
#lor-a11y-root a { color: var(--lor-a11y-primary); text-decoration: none; }
#lor-a11y-root :is(button, a, select, [tabindex]):focus-visible {
	outline: 3px solid var(--lor-a11y-primary);
	outline-offset: 2px;
}
#lor-a11y-root [hidden] { display: none !important; }
#lor-a11y-root .lor-a11y-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
	white-space: nowrap; border: 0;
}

/* ---- launcher ------------------------------------------------------- */
#lor-a11y-root .lor-a11y-launcher{
	position: fixed;
	z-index: var(--lor-a11y-z);
	width: var(--lor-a11y-btn);
	height: var(--lor-a11y-btn);
	min-width: 44px; min-height: 44px;
	border-radius: 50% !important;
	background: var(--lor-a11y-primary) !important;
	color: var(--lor-a11y-icon) !important;
	display: flex !important;
	align-items: center; justify-content: center;
	box-shadow: 0 8px 24px rgba(15, 23, 42, .24), 0 1px 3px rgba(15, 23, 42, .2);
	transition: transform var(--lor-a11y-ease), box-shadow var(--lor-a11y-ease);
	will-change: transform;
}
#lor-a11y-root .lor-a11y-launcher:hover{ transform: scale(1.06); box-shadow: 0 12px 30px rgba(15, 23, 42, .3); }
#lor-a11y-root .lor-a11y-launcher:active{ transform: scale(.97); }
#lor-a11y-root .lor-a11y-launcher:focus-visible{ outline: 3px solid var(--lor-a11y-icon); outline-offset: 3px; box-shadow: 0 0 0 6px var(--lor-a11y-primary); }
#lor-a11y-root .lor-a11y-launcher svg{ width: 56%; height: 56%; }
#lor-a11y-root .lor-a11y-launcher img{ width: 58%; height: 58%; object-fit: contain; display: block; }
#lor-a11y-root .lor-a11y-launcher[aria-expanded="true"]{ transform: scale(.94); }

/* positions */
#lor-a11y-root.lor-a11y-pos-bottom-right .lor-a11y-launcher,
#lor-a11y-root.lor-a11y-pos-bottom-left  .lor-a11y-launcher{ bottom: calc(var(--lor-a11y-y) + env(safe-area-inset-bottom, 0px)); }
#lor-a11y-root.lor-a11y-pos-top-right .lor-a11y-launcher,
#lor-a11y-root.lor-a11y-pos-top-left  .lor-a11y-launcher{ top: var(--lor-a11y-y); }
#lor-a11y-root.lor-a11y-pos-middle-right .lor-a11y-launcher,
#lor-a11y-root.lor-a11y-pos-middle-left  .lor-a11y-launcher{ top: 50%; margin-top: calc(var(--lor-a11y-btn) / -2); }
#lor-a11y-root.lor-a11y-pos-bottom-right .lor-a11y-launcher,
#lor-a11y-root.lor-a11y-pos-middle-right .lor-a11y-launcher,
#lor-a11y-root.lor-a11y-pos-top-right    .lor-a11y-launcher{ right: var(--lor-a11y-x); }
#lor-a11y-root.lor-a11y-pos-bottom-left .lor-a11y-launcher,
#lor-a11y-root.lor-a11y-pos-middle-left .lor-a11y-launcher,
#lor-a11y-root.lor-a11y-pos-top-left    .lor-a11y-launcher{ left: var(--lor-a11y-x); }
/* under the WordPress admin bar */
body.admin-bar #lor-a11y-root.lor-a11y-pos-top-right .lor-a11y-launcher,
body.admin-bar #lor-a11y-root.lor-a11y-pos-top-left  .lor-a11y-launcher{ top: calc(var(--lor-a11y-y) + 32px); }
@media (max-width: 782px) {
	body.admin-bar #lor-a11y-root.lor-a11y-pos-top-right .lor-a11y-launcher,
	body.admin-bar #lor-a11y-root.lor-a11y-pos-top-left  .lor-a11y-launcher{ top: calc(var(--lor-a11y-y) + 46px); }
}

/* ---- panel ----------------------------------------------------------- */
#lor-a11y-root .lor-a11y-backdrop{
	position: fixed; inset: 0;
	z-index: calc(var(--lor-a11y-z) - 1);
	background: transparent; /* desktop: click-outside closes, page stays visible so changes can be seen live */
	opacity: 0;
	transition: opacity var(--lor-a11y-ease);
}
@media (max-width: 600px) { #lor-a11y-root .lor-a11y-backdrop { background: rgba(15, 23, 42, .35); } }
#lor-a11y-root .lor-a11y-backdrop.is-open{ opacity: 1; }

#lor-a11y-root .lor-a11y-panel{
	position: fixed;
	z-index: var(--lor-a11y-z);
	width: var(--lor-a11y-width);
	max-width: calc(100vw - 2 * var(--lor-a11y-x));
	/* fills the screen down to 16px from the far edge; never taller than the viewport */
	max-height: calc(100vh - var(--lor-a11y-offb) - 16px);
	max-height: calc(100dvh - var(--lor-a11y-offb) - 16px);
	display: flex; flex-direction: column;
	background: var(--lor-a11y-bg);
	color: var(--lor-a11y-text);
	border-radius: var(--lor-a11y-radius);
	box-shadow: var(--lor-a11y-shadow);
	overflow: hidden;
	opacity: 0;
	transform: translateY(8px) scale(.98);
	transition: opacity var(--lor-a11y-ease), transform var(--lor-a11y-ease);
	will-change: opacity, transform;
}
#lor-a11y-root .lor-a11y-panel.is-open{ opacity: 1; transform: none; }

#lor-a11y-root.lor-a11y-pos-bottom-right .lor-a11y-panel,
#lor-a11y-root.lor-a11y-pos-bottom-left  .lor-a11y-panel{ bottom: var(--lor-a11y-offb); }
#lor-a11y-root.lor-a11y-pos-top-right .lor-a11y-panel,
#lor-a11y-root.lor-a11y-pos-top-left  .lor-a11y-panel{ top: var(--lor-a11y-off); max-height: calc(100vh - var(--lor-a11y-off) - 16px); max-height: calc(100dvh - var(--lor-a11y-off) - 16px); }
body.admin-bar #lor-a11y-root.lor-a11y-pos-top-right .lor-a11y-panel,
body.admin-bar #lor-a11y-root.lor-a11y-pos-top-left  .lor-a11y-panel{ top: calc(var(--lor-a11y-off) + 32px); max-height: calc(100vh - var(--lor-a11y-off) - 48px); max-height: calc(100dvh - var(--lor-a11y-off) - 48px); }
#lor-a11y-root.lor-a11y-pos-middle-right .lor-a11y-panel,
#lor-a11y-root.lor-a11y-pos-middle-left  .lor-a11y-panel{ top: 50%; transform: translateY(-50%) scale(.98); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
#lor-a11y-root.lor-a11y-pos-middle-right .lor-a11y-panel.is-open,
#lor-a11y-root.lor-a11y-pos-middle-left  .lor-a11y-panel.is-open{ transform: translateY(-50%); }
#lor-a11y-root.lor-a11y-pos-bottom-right .lor-a11y-panel,
#lor-a11y-root.lor-a11y-pos-top-right    .lor-a11y-panel{ right: var(--lor-a11y-x); }
#lor-a11y-root.lor-a11y-pos-bottom-left .lor-a11y-panel,
#lor-a11y-root.lor-a11y-pos-top-left    .lor-a11y-panel{ left: var(--lor-a11y-x); }
#lor-a11y-root.lor-a11y-pos-middle-right .lor-a11y-panel{ right: calc(var(--lor-a11y-x) + var(--lor-a11y-btn) + 12px); }
#lor-a11y-root.lor-a11y-pos-middle-left  .lor-a11y-panel{ left: calc(var(--lor-a11y-x) + var(--lor-a11y-btn) + 12px); }

/* header */
#lor-a11y-root .lor-a11y-head{
	flex: none;
	display: flex; align-items: center; gap: 8px;
	padding: 14px 14px 14px 18px;
	background: var(--lor-a11y-primary);
	color: var(--lor-a11y-icon);
}
#lor-a11y-root[dir="rtl"] .lor-a11y-head { padding: 14px 18px 14px 14px; }
#lor-a11y-root .lor-a11y-title{
	flex: 1 1 auto; min-width: 0;
	font-size: 17px; font-weight: 700; line-height: 1.3;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
#lor-a11y-root .lor-a11y-lang{
	appearance: none; -webkit-appearance: none;
	font: inherit; font-size: 13px; font-weight: 600;
	color: var(--lor-a11y-icon);
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 999px;
	padding: 6px 30px 6px 12px;
	min-height: 36px;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 14px;
}
#lor-a11y-root[dir="rtl"] .lor-a11y-lang { padding: 6px 12px 6px 30px; background-position: left 10px center; }
#lor-a11y-root .lor-a11y-lang option{ color: #111; background: #fff; }
#lor-a11y-root .lor-a11y-iconbtn{
	width: 40px; height: 40px; min-width: 40px;
	display: inline-flex !important; align-items: center; justify-content: center;
	border-radius: 10px !important;
	color: inherit;
	background: rgba(255, 255, 255, .14) !important;
	transition: background var(--lor-a11y-ease), transform var(--lor-a11y-ease);
}
#lor-a11y-root .lor-a11y-iconbtn:hover{ background: rgba(255, 255, 255, .26) !important; }
#lor-a11y-root .lor-a11y-iconbtn:active{ transform: scale(.95); }
#lor-a11y-root .lor-a11y-iconbtn:focus-visible{ outline: 3px solid var(--lor-a11y-icon); outline-offset: 2px; }
#lor-a11y-root .lor-a11y-iconbtn svg{ width: 20px; height: 20px; }

/* scrolling body */
#lor-a11y-root .lor-a11y-body{
	flex: 1 1 auto; min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	padding: 16px 16px 8px;
	scrollbar-width: thin;
}
#lor-a11y-root .lor-a11y-section{ margin-bottom: 18px; }
#lor-a11y-root .lor-a11y-section-h{
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	color: var(--lor-a11y-muted);
	margin: 0 2px 10px;
}
#lor-a11y-root[dir="rtl"] .lor-a11y-section-h { letter-spacing: 0; }

/* profiles */
#lor-a11y-root .lor-a11y-profiles{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#lor-a11y-root .lor-a11y-profile{
	display: flex !important; align-items: center; gap: 10px;
	min-height: 52px;
	padding: 8px 12px;
	border-radius: calc(var(--lor-a11y-radius) * .7) !important;
	background: var(--lor-a11y-card) !important;
	border: 1.5px solid var(--lor-a11y-line);
	font-size: 13.5px; font-weight: 600; line-height: 1.3;
	text-align: start;
	transition: border-color var(--lor-a11y-ease), background var(--lor-a11y-ease), transform var(--lor-a11y-ease);
}
#lor-a11y-root .lor-a11y-profile:hover{ border-color: color-mix(in srgb, var(--lor-a11y-primary) 45%, transparent); }
#lor-a11y-root .lor-a11y-profile:active{ transform: scale(.985); }
#lor-a11y-root .lor-a11y-profile svg{ width: 22px; height: 22px; color: var(--lor-a11y-primary); }
#lor-a11y-root .lor-a11y-profile[aria-pressed="true"]{
	background: var(--lor-a11y-tint) !important;
	border-color: var(--lor-a11y-primary);
	box-shadow: inset 0 0 0 1px var(--lor-a11y-primary);
}
#lor-a11y-root .lor-a11y-profile .lor-a11y-check{ margin-inline-start: auto; }

/* feature cards */
#lor-a11y-root .lor-a11y-grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#lor-a11y-root .lor-a11y-feature{
	position: relative;
	display: flex !important; flex-direction: column; align-items: flex-start; justify-content: flex-start;
	gap: 8px;
	min-height: 104px;
	padding: 12px 12px 10px;
	border-radius: calc(var(--lor-a11y-radius) * .7) !important;
	background: var(--lor-a11y-card) !important;
	border: 1.5px solid var(--lor-a11y-line);
	text-align: start;
	transition: border-color var(--lor-a11y-ease), background var(--lor-a11y-ease), transform var(--lor-a11y-ease);
}
#lor-a11y-root .lor-a11y-feature:hover{ border-color: color-mix(in srgb, var(--lor-a11y-primary) 45%, transparent); }
#lor-a11y-root .lor-a11y-feature:active{ transform: scale(.985); }
#lor-a11y-root .lor-a11y-feature-ico{
	width: 38px; height: 38px;
	display: grid; place-items: center;
	border-radius: 11px;
	background: var(--lor-a11y-bg);
	color: var(--lor-a11y-primary);
	border: 1px solid var(--lor-a11y-line);
	transition: background var(--lor-a11y-ease), color var(--lor-a11y-ease);
}
#lor-a11y-root .lor-a11y-feature-ico svg{ width: 21px; height: 21px; }
#lor-a11y-root .lor-a11y-feature-name{ font-size: 13.5px; font-weight: 700; line-height: 1.3; }
#lor-a11y-root .lor-a11y-feature-state{ font-size: 12px; color: var(--lor-a11y-muted); line-height: 1.3; }
#lor-a11y-root .lor-a11y-feature.is-on,
#lor-a11y-root .lor-a11y-feature[aria-pressed="true"]{
	background: var(--lor-a11y-tint) !important;
	border-color: var(--lor-a11y-primary);
	box-shadow: inset 0 0 0 1px var(--lor-a11y-primary);
}
#lor-a11y-root .lor-a11y-feature.is-on .lor-a11y-feature-ico{ background: var(--lor-a11y-primary); color: var(--lor-a11y-icon); border-color: transparent; }
#lor-a11y-root .lor-a11y-feature.is-on .lor-a11y-feature-state{ color: var(--lor-a11y-primary); font-weight: 600; }
#lor-a11y-root .lor-a11y-check{
	position: absolute; top: 10px; inset-inline-end: 10px;
	width: 20px; height: 20px;
	border-radius: 50%;
	background: var(--lor-a11y-primary); color: var(--lor-a11y-icon);
	display: none; place-items: center;
}
#lor-a11y-root .lor-a11y-check svg{ width: 12px; height: 12px; }
#lor-a11y-root .lor-a11y-feature.is-on .lor-a11y-check,
#lor-a11y-root .lor-a11y-profile[aria-pressed="true"] .lor-a11y-check{ display: grid; }
#lor-a11y-root .lor-a11y-profile .lor-a11y-check{ position: static; }
#lor-a11y-root .lor-a11y-dots{ display: flex; gap: 4px; margin-top: auto; }
#lor-a11y-root .lor-a11y-dots i{
	display: block; width: 14px; height: 4px; border-radius: 2px;
	background: var(--lor-a11y-line);
}
#lor-a11y-root .lor-a11y-dots i.is-on{ background: var(--lor-a11y-primary); }
#lor-a11y-root .lor-a11y-feature.is-wide{ grid-column: 1 / -1; }

/* inline tool rows (read aloud) */
#lor-a11y-root .lor-a11y-toolrow{
	grid-column: 1 / -1;
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
	padding: 10px;
	border-radius: calc(var(--lor-a11y-radius) * .7);
	background: var(--lor-a11y-tint);
	border: 1.5px solid var(--lor-a11y-primary);
}
#lor-a11y-root .lor-a11y-toolrow[hidden]{ display: none; }
#lor-a11y-root .lor-a11y-tool{
	min-width: 44px; min-height: 44px;
	display: inline-flex !important; align-items: center; justify-content: center; gap: 6px;
	padding: 0 12px;
	border-radius: 10px !important;
	background: var(--lor-a11y-bg) !important;
	border: 1px solid var(--lor-a11y-line);
	font-size: 13px; font-weight: 600;
}
#lor-a11y-root .lor-a11y-tool:hover{ border-color: var(--lor-a11y-primary); }
#lor-a11y-root .lor-a11y-tool svg{ width: 18px; height: 18px; }
#lor-a11y-root .lor-a11y-tool.is-primary{ background: var(--lor-a11y-primary) !important; color: var(--lor-a11y-icon); border-color: transparent; }
#lor-a11y-root .lor-a11y-toolnote{ flex: 1 1 100%; font-size: 12px; color: var(--lor-a11y-muted); line-height: 1.5; }

/* sub view (page structure) */
#lor-a11y-root .lor-a11y-subview{ display: none; }
#lor-a11y-root .lor-a11y-subview.is-open{ display: block; }
#lor-a11y-root .lor-a11y-panel.has-subview .lor-a11y-main{ display: none; }
#lor-a11y-root .lor-a11y-back{
	display: inline-flex !important; align-items: center; gap: 6px;
	min-height: 40px; padding: 0 12px 0 8px;
	border-radius: 10px !important;
	font-size: 13.5px; font-weight: 700;
	color: var(--lor-a11y-primary);
	margin-bottom: 10px;
}
#lor-a11y-root .lor-a11y-back:hover{ background: var(--lor-a11y-tint) !important; }
#lor-a11y-root .lor-a11y-back svg{ width: 18px; height: 18px; }
#lor-a11y-root[dir="rtl"] .lor-a11y-back svg { transform: scaleX(-1); }
#lor-a11y-root .lor-a11y-tabs{ display: flex; gap: 6px; margin-bottom: 12px; }
#lor-a11y-root .lor-a11y-tab{
	flex: 1 1 0;
	min-height: 40px;
	border-radius: 10px !important;
	border: 1.5px solid var(--lor-a11y-line);
	background: var(--lor-a11y-card) !important;
	font-size: 13px; font-weight: 600;
	display: inline-flex !important; align-items: center; justify-content: center; gap: 6px;
}
#lor-a11y-root .lor-a11y-tab[aria-selected="true"]{ background: var(--lor-a11y-primary) !important; color: var(--lor-a11y-icon); border-color: transparent; }
#lor-a11y-root .lor-a11y-tab b{ font-weight: 700; opacity: .75; font-size: 12px; }
#lor-a11y-root .lor-a11y-list{ display: flex; flex-direction: column; gap: 4px; }
#lor-a11y-root .lor-a11y-item{
	display: flex !important; align-items: center; gap: 10px;
	width: 100%;
	min-height: 44px;
	padding: 8px 10px;
	border-radius: 10px !important;
	font-size: 13.5px; line-height: 1.35;
	text-align: start;
}
#lor-a11y-root .lor-a11y-item:hover{ background: var(--lor-a11y-tint) !important; }
#lor-a11y-root .lor-a11y-item .lor-a11y-tag{
	flex: none;
	min-width: 30px; height: 22px;
	display: inline-grid; place-items: center;
	padding: 0 6px;
	border-radius: 6px;
	background: var(--lor-a11y-tint); color: var(--lor-a11y-primary);
	font-size: 11px; font-weight: 800;
}
#lor-a11y-root .lor-a11y-item span{ flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#lor-a11y-root .lor-a11y-item[data-level="2"]{ padding-inline-start: 22px; }
#lor-a11y-root .lor-a11y-item[data-level="3"]{ padding-inline-start: 34px; }
#lor-a11y-root .lor-a11y-item[data-level="4"]{ padding-inline-start: 46px; }
#lor-a11y-root .lor-a11y-item[data-level="5"]{ padding-inline-start: 58px; }
#lor-a11y-root .lor-a11y-item[data-level="6"]{ padding-inline-start: 70px; }
#lor-a11y-root .lor-a11y-empty{ padding: 20px 10px; text-align: center; color: var(--lor-a11y-muted); font-size: 13.5px; }

/* footer */
#lor-a11y-root .lor-a11y-foot{
	flex: none;
	padding: 8px 14px calc(10px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--lor-a11y-line);
	background: var(--lor-a11y-bg);
	display: flex; flex-direction: column; gap: 8px;
}
#lor-a11y-root .lor-a11y-resetall{
	width: 100%;
	min-height: 44px;
	display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
	border-radius: 12px !important;
	background: var(--lor-a11y-primary) !important;
	color: var(--lor-a11y-icon);
	font-size: 14px; font-weight: 700;
	transition: filter var(--lor-a11y-ease), transform var(--lor-a11y-ease);
}
#lor-a11y-root .lor-a11y-resetall:hover{ filter: brightness(1.08); }
#lor-a11y-root .lor-a11y-resetall:active{ transform: scale(.99); }
#lor-a11y-root .lor-a11y-resetall svg{ width: 18px; height: 18px; }
#lor-a11y-root .lor-a11y-statement{
	width: 100%;
	min-height: 44px;
	display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
	border-radius: 12px;
	border: 1.5px solid var(--lor-a11y-line);
	font-size: 13.5px; font-weight: 600;
	color: var(--lor-a11y-text) !important;
	text-decoration: none !important;
}
#lor-a11y-root .lor-a11y-statement:hover{ border-color: var(--lor-a11y-primary); color: var(--lor-a11y-primary) !important; }
#lor-a11y-root .lor-a11y-statement svg{ width: 16px; height: 16px; }
#lor-a11y-root .lor-a11y-brand{ font-size: 11px; color: var(--lor-a11y-muted); text-align: center; line-height: 1.45; }
#lor-a11y-root .lor-a11y-brand kbd{ font: inherit; padding: 0 4px; border: 1px solid var(--lor-a11y-line); border-radius: 4px; }
#lor-a11y-root .lor-a11y-status{ font-size: 12.5px; color: var(--lor-a11y-primary); font-weight: 600; text-align: center; min-height: 0; }
#lor-a11y-root .lor-a11y-status:empty{ display: none; }

/* skip link (Keyboard Navigation feature) */
.lor-a11y-skip {
	position: fixed !important;
	top: 12px; left: 12px;
	z-index: 2147483647;
	transform: translateY(-200%);
	padding: 12px 18px;
	border-radius: 10px;
	background: #111 !important; color: #fff !important;
	font: 600 15px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	text-decoration: none !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
	transition: transform 120ms ease-out;
}
.lor-a11y-skip:focus { transform: none; outline: 3px solid #ffbf00; outline-offset: 2px; }

/* overlays that live outside the panel */
#lor-a11y-root .lor-a11y-guide{
	position: fixed; left: 0; right: 0;
	z-index: calc(var(--lor-a11y-z) - 2);
	height: 10px;
	background: color-mix(in srgb, var(--lor-a11y-primary) 42%, transparent);
	border-top: 2px solid var(--lor-a11y-primary);
	border-bottom: 2px solid var(--lor-a11y-primary);
	pointer-events: none;
	transform: translateY(-50%);
	will-change: top;
}
#lor-a11y-root .lor-a11y-mask{
	position: fixed; left: 0; right: 0;
	z-index: calc(var(--lor-a11y-z) - 2);
	background: rgba(0, 0, 0, .62);
	pointer-events: none;
	will-change: height, top;
}
#lor-a11y-root .lor-a11y-mask.is-top{ top: 0; }
#lor-a11y-root .lor-a11y-mask.is-bottom{ bottom: 0; }

#lor-a11y-root .lor-a11y-tooltip{
	position: fixed;
	z-index: var(--lor-a11y-z);
	max-width: min(320px, calc(100vw - 24px));
	padding: 8px 12px;
	border-radius: 10px;
	background: #111; color: #fff;
	font-size: 13.5px; line-height: 1.45;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
	pointer-events: none;
	opacity: 0;
	transition: opacity 120ms ease-out;
	overflow-wrap: anywhere;
}
#lor-a11y-root .lor-a11y-tooltip.is-on{ opacity: 1; }
#lor-a11y-root .lor-a11y-tooltip b{ display: block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }

#lor-a11y-root .lor-a11y-dict{
	position: fixed;
	z-index: var(--lor-a11y-z);
	width: min(320px, calc(100vw - 24px));
	padding: 12px 14px 12px;
	border-radius: 12px;
	background: var(--lor-a11y-bg); color: var(--lor-a11y-text);
	border: 1px solid var(--lor-a11y-line);
	box-shadow: var(--lor-a11y-shadow);
	font-size: 14px; line-height: 1.5;
}
#lor-a11y-root .lor-a11y-dict-h{ display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
#lor-a11y-root .lor-a11y-dict-h strong{ flex: 1; font-size: 15px; }
#lor-a11y-root .lor-a11y-dict .lor-a11y-iconbtn{ background: var(--lor-a11y-tint) !important; color: var(--lor-a11y-primary); width: 34px; height: 34px; min-width: 34px; }
#lor-a11y-root .lor-a11y-dict p{ color: var(--lor-a11y-muted); }
#lor-a11y-root .lor-a11y-dict p.is-def{ color: var(--lor-a11y-text); }

#lor-a11y-root .lor-a11y-img-alt{
	position: absolute;
	z-index: calc(var(--lor-a11y-z) - 3);
	display: flex; align-items: center; justify-content: center;
	padding: 8px;
	background: #f3f4f6; color: #111;
	border: 1px dashed #9ca3af;
	border-radius: 8px;
	font: 500 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	text-align: center;
	overflow: hidden;
	pointer-events: none;
}

/* speaking highlight — applied to page elements, so it must survive the exclusion rules */
.lor-a11y-speaking {
	outline: 3px solid #ffbf00 !important;
	outline-offset: 3px !important;
	background-color: rgba(255, 191, 0, .22) !important;
	box-shadow: 0 0 0 6px rgba(0, 0, 0, .06) !important;
}
.lor-a11y-target-flash {
	outline: 3px solid var(--lor-a11y-primary, #0b5ed7) !important;
	outline-offset: 4px !important;
	transition: outline-color 800ms ease-out !important;
}

/* ---- mobile: bottom sheet --------------------------------------------- */
@media (max-width: 600px) {
	#lor-a11y-root .lor-a11y-panel {
		left: 0 !important; right: 0 !important; top: auto !important; bottom: 0 !important;
		width: 100% !important; max-width: 100% !important;
		max-height: 92vh; max-height: 92dvh;
		border-radius: var(--lor-a11y-radius) var(--lor-a11y-radius) 0 0;
		transform: translateY(24px);
	}
	#lor-a11y-root .lor-a11y-panel.is-open { transform: none; }
	#lor-a11y-root .lor-a11y-body{ padding: 14px 14px 6px; }
	#lor-a11y-root .lor-a11y-title{ font-size: 16px; }
}
@media (max-width: 360px) {
	#lor-a11y-root .lor-a11y-grid, #lor-a11y-root .lor-a11y-profiles{ grid-template-columns: 1fr; }
	#lor-a11y-root .lor-a11y-feature{ min-height: 0; flex-direction: row; align-items: center; }
	#lor-a11y-root .lor-a11y-feature .lor-a11y-dots{ margin: 0; margin-inline-start: auto; }
	#lor-a11y-root .lor-a11y-feature-ico{ flex: none; }
}
@media (prefers-reduced-motion: reduce) {
	#lor-a11y-root * { transition-duration: 1ms !important; }
}


/* short screens: sitting above the icons would leave a slit; cover them instead (the panel has its own close button) */
@media (max-height: 640px) and (min-width: 601px) {
	#lor-a11y-root.lor-a11y-pos-bottom-right .lor-a11y-panel,
	#lor-a11y-root.lor-a11y-pos-bottom-left  .lor-a11y-panel{ bottom: 12px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
	#lor-a11y-root.lor-a11y-pos-top-right .lor-a11y-panel,
	#lor-a11y-root.lor-a11y-pos-top-left  .lor-a11y-panel{ top: 12px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
	body.admin-bar #lor-a11y-root.lor-a11y-pos-top-right .lor-a11y-panel,
	body.admin-bar #lor-a11y-root.lor-a11y-pos-top-left  .lor-a11y-panel{ top: 44px; max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); }
}

/* ======================================================================
   2. FEATURES  — every rule hangs off a class on <html> and skips the widget
   ====================================================================== */

/* ---- highlight links ------------------------------------------------- */
html.lor-a11y-links body a[href]:not(#lor-a11y-root a, #wpadminbar a, .lor-a11y-skip, [class*="logo"], .custom-logo-link, :has(> img:only-child), :has(> svg:only-child), :has(> picture:only-child)) {
	text-decoration: underline !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 3px !important;
	outline: 2px solid #0b5ed7 !important;
	outline-offset: 2px !important;
	background-color: rgba(255, 235, 59, .35) !important;
	color: #0b3d91 !important;
	border-radius: 2px;
}
html.lor-a11y-links.lor-a11y-contrast-dark body a[href]:not(#lor-a11y-root a, #wpadminbar a) { color: #ffe066 !important; background-color: rgba(255, 224, 102, .12) !important; outline-color: #ffe066 !important; }
html.lor-a11y-links body a[href]:focus:not(#lor-a11y-root a) { outline-width: 3px !important; }

/* ---- highlight titles / buttons -------------------------------------- */
html.lor-a11y-titles body :is(h1, h2, h3, h4, h5, h6):not(#lor-a11y-root *, #wpadminbar *) {
	outline: 2px solid #0b5ed7 !important;
	outline-offset: 4px !important;
	background-color: rgba(11, 94, 215, .07) !important;
}
html.lor-a11y-buttons body :is(button, [role="button"], input[type="submit"], input[type="button"], input[type="reset"], .button, .btn, .wp-block-button__link, .elementor-button, .woocommerce a.button):not(#lor-a11y-root *, #wpadminbar *) {
	outline: 3px solid #ff6f00 !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 5px rgba(255, 111, 0, .2) !important;
}

/* ---- focus highlight / keyboard --------------------------------------- */
html.lor-a11y-focus body :is(a, button, input, select, textarea, details, summary, [tabindex], [role="button"], [role="link"]):focus:not(#lor-a11y-root *, #wpadminbar *),
html.lor-a11y-keyboard body :is(a, button, input, select, textarea, details, summary, [tabindex], [role="button"], [role="link"]):focus-visible:not(#lor-a11y-root *, #wpadminbar *) {
	outline: 3px solid #ffbf00 !important;
	outline-offset: 3px !important;
	box-shadow: 0 0 0 6px rgba(17, 17, 17, .9) !important;
	border-radius: 3px;
}
html.lor-a11y-keyboard { scroll-padding-top: 80px; }

/* ---- contrast: dark / light ------------------------------------------ */
html.lor-a11y-contrast-dark body,
html.lor-a11y-contrast-dark body *:not(#lor-a11y-root, #lor-a11y-root *, #wpadminbar, #wpadminbar *, img, picture, picture *, video, svg, svg *, canvas, iframe, [role="img"], .lor-a11y-speaking, .lor-a11y-skip) {
	background-color: #000 !important;
	background-image: none !important;
	color: #fff !important;
	border-color: #fff !important;
	text-shadow: none !important;
	box-shadow: none !important;
}
html.lor-a11y-contrast-dark body a:not(#lor-a11y-root a, #wpadminbar a) { color: #ffe066 !important; }
html.lor-a11y-contrast-dark body :is(button, [role="button"], input[type="submit"], input[type="button"], .button, .btn, .wp-block-button__link, .elementor-button):not(#lor-a11y-root *, #wpadminbar *) {
	background-color: #000 !important; color: #fff !important; border: 2px solid #fff !important;
}
html.lor-a11y-contrast-dark body :is(input, select, textarea):not(#lor-a11y-root *, #wpadminbar *) { border: 2px solid #fff !important; }
html.lor-a11y-contrast-dark body ::placeholder { color: #ccc !important; }
html.lor-a11y-contrast-dark body :is(img, picture, video, canvas, iframe):not(#lor-a11y-root *) { filter: none !important; }

html.lor-a11y-contrast-light body,
html.lor-a11y-contrast-light body *:not(#lor-a11y-root, #lor-a11y-root *, #wpadminbar, #wpadminbar *, img, picture, picture *, video, svg, svg *, canvas, iframe, [role="img"], .lor-a11y-speaking, .lor-a11y-skip) {
	background-color: #fff !important;
	background-image: none !important;
	color: #000 !important;
	border-color: #000 !important;
	text-shadow: none !important;
	box-shadow: none !important;
}
html.lor-a11y-contrast-light body a:not(#lor-a11y-root a, #wpadminbar a) { color: #0000ee !important; text-decoration: underline !important; }
html.lor-a11y-contrast-light body :is(button, [role="button"], input[type="submit"], input[type="button"], .button, .btn, .wp-block-button__link, .elementor-button):not(#lor-a11y-root *, #wpadminbar *) {
	background-color: #fff !important; color: #000 !important; border: 2px solid #000 !important;
}
html.lor-a11y-contrast-light body :is(input, select, textarea):not(#lor-a11y-root *, #wpadminbar *) { border: 2px solid #000 !important; }
html.lor-a11y-contrast-light body ::placeholder { color: #333 !important; }

/* ---- contrast: invert ------------------------------------------------ */
/* The script sets `filter` on <html> (composed with saturation). These undo
   it for media, and for the widget's fixed surfaces, so pictures stay
   pictures and the menu stays the menu. */
html.lor-a11y-contrast-invert body :is(img, picture, video, canvas, iframe, [style*="background-image"], .wp-block-cover__image-background, .elementor-background-slideshow):not(#lor-a11y-root *) { filter: invert(1) hue-rotate(180deg) !important; }
html.lor-a11y-contrast-invert #lor-a11y-root :is(.lor-a11y-launcher, .lor-a11y-panel, .lor-a11y-tooltip, .lor-a11y-dict) { filter: invert(1) hue-rotate(180deg); }
html.lor-a11y-contrast-invert #lor-a11y-root .lor-a11y-launcher img { filter: none; }

/* ---- text spacing ----------------------------------------------------- */
html.lor-a11y-spacing-1 body, html.lor-a11y-spacing-1 body :is(p, li, h1, h2, h3, h4, h5, h6, td, th, dd, dt, blockquote, figcaption, label, legend, a, span, summary, div):not(#lor-a11y-root *, #wpadminbar *, [class*="icon"], .dashicons, i) { letter-spacing: .05em !important; word-spacing: .12em !important; }
html.lor-a11y-spacing-2 body, html.lor-a11y-spacing-2 body :is(p, li, h1, h2, h3, h4, h5, h6, td, th, dd, dt, blockquote, figcaption, label, legend, a, span, summary, div):not(#lor-a11y-root *, #wpadminbar *, [class*="icon"], .dashicons, i) { letter-spacing: .1em !important; word-spacing: .22em !important; }
html.lor-a11y-spacing-3 body, html.lor-a11y-spacing-3 body :is(p, li, h1, h2, h3, h4, h5, h6, td, th, dd, dt, blockquote, figcaption, label, legend, a, span, summary, div):not(#lor-a11y-root *, #wpadminbar *, [class*="icon"], .dashicons, i) { letter-spacing: .16em !important; word-spacing: .34em !important; }
html.lor-a11y-spacing-1 body :is(p, li, td, th, dd, dt, blockquote, div):not(#lor-a11y-root *) { line-height: 1.6 !important; }
html.lor-a11y-spacing-2 body :is(p, li, td, th, dd, dt, blockquote, div):not(#lor-a11y-root *) { line-height: 1.75 !important; }
html.lor-a11y-spacing-3 body :is(p, li, td, th, dd, dt, blockquote, div):not(#lor-a11y-root *) { line-height: 1.9 !important; }
/* Arabic letters connect; spacing them apart breaks the script. Word spacing stays. */
html[class*="lor-a11y-spacing-"] :is(:lang(ar), [lang^="ar"], [lang^="ar"] *, [dir="rtl"], [dir="rtl"] *),
html[class*="lor-a11y-spacing-"].lor-a11y-ar body,
html[class*="lor-a11y-spacing-"].lor-a11y-ar body *:not(#lor-a11y-root *) { letter-spacing: 0 !important; }

/* ---- line height ------------------------------------------------------ */
html.lor-a11y-lh-1 body :is(p, li, td, th, dd, dt, blockquote, figcaption, label, div, span, a, h1, h2, h3, h4, h5, h6):not(#lor-a11y-root *, #wpadminbar *, [class*="icon"], .dashicons, i, svg, svg *) { line-height: 1.5 !important; }
html.lor-a11y-lh-2 body :is(p, li, td, th, dd, dt, blockquote, figcaption, label, div, span, a, h1, h2, h3, h4, h5, h6):not(#lor-a11y-root *, #wpadminbar *, [class*="icon"], .dashicons, i, svg, svg *) { line-height: 1.75 !important; }
html.lor-a11y-lh-3 body :is(p, li, td, th, dd, dt, blockquote, figcaption, label, div, span, a, h1, h2, h3, h4, h5, h6):not(#lor-a11y-root *, #wpadminbar *, [class*="icon"], .dashicons, i, svg, svg *) { line-height: 2 !important; }

/* ---- text align ------------------------------------------------------- */
html.lor-a11y-align-left    body :is(p, h1, h2, h3, h4, h5, h6, li, td, th, dd, dt, blockquote, figcaption, article, section, div):not(#lor-a11y-root *, #wpadminbar *, nav, nav *, .menu, .menu *, [class*="nav"] *, button, button *, [role="button"], [role="button"] *, input, select, textarea, svg, svg *, [class*="icon"], .swiper-wrapper, .swiper-wrapper *, .slick-track, .slick-track *) { text-align: left !important; }
html.lor-a11y-align-center  body :is(p, h1, h2, h3, h4, h5, h6, li, td, th, dd, dt, blockquote, figcaption, article, section, div):not(#lor-a11y-root *, #wpadminbar *, nav, nav *, .menu, .menu *, [class*="nav"] *, button, button *, [role="button"], [role="button"] *, input, select, textarea, svg, svg *, [class*="icon"], .swiper-wrapper, .swiper-wrapper *, .slick-track, .slick-track *) { text-align: center !important; }
html.lor-a11y-align-right   body :is(p, h1, h2, h3, h4, h5, h6, li, td, th, dd, dt, blockquote, figcaption, article, section, div):not(#lor-a11y-root *, #wpadminbar *, nav, nav *, .menu, .menu *, [class*="nav"] *, button, button *, [role="button"], [role="button"] *, input, select, textarea, svg, svg *, [class*="icon"], .swiper-wrapper, .swiper-wrapper *, .slick-track, .slick-track *) { text-align: right !important; }
html.lor-a11y-align-justify body :is(p, li, td, dd, blockquote):not(#lor-a11y-root *, #wpadminbar *, nav *, .menu *, button *, [role="button"] *) { text-align: justify !important; }

/* ---- pause animations ------------------------------------------------- */
html.lor-a11y-no-motion body *:not(#lor-a11y-root, #lor-a11y-root *),
html.lor-a11y-no-motion body *:not(#lor-a11y-root *)::before,
html.lor-a11y-no-motion body *:not(#lor-a11y-root *)::after {
	animation-duration: .001ms !important;
	animation-delay: 0s !important;
	animation-iteration-count: 1 !important;
	transition-duration: .001ms !important;
	transition-delay: 0s !important;
	scroll-behavior: auto !important;
}
html.lor-a11y-no-motion { scroll-behavior: auto !important; }
/* Elementor's entrance animations hide the element until they run; with no
   animation they must simply be visible. */
html.lor-a11y-no-motion body .elementor-invisible { visibility: visible !important; opacity: 1 !important; }
html.lor-a11y-no-motion body :is(.wow, [data-aos]) { visibility: visible !important; opacity: 1 !important; transform: none !important; }

/* ---- hide images ------------------------------------------------------ */
/* Logos stay: the logo image itself, or an image that is the direct child of a logo link/wrapper —
   not every image under an ancestor that happens to have "logo" in its class. Emoji images are text. */
html.lor-a11y-no-images body :is(img, picture, svg[role="img"], [role="img"]):not(#lor-a11y-root *, #wpadminbar *, button img, [role="button"] img, a[role="button"] img, input, .g-recaptcha *, .h-captcha *, .cf-turnstile *, [class*="captcha"] *, .leaflet-container *, .gm-style *, .mapboxgl-map *, video *, .plyr *, .mejs-container *, .wp-video *, img[class*="logo"], a[class*="logo"] > img, [class*="logo"] > img:only-child, .custom-logo, img.emoji, img.wp-smiley) {
	visibility: hidden !important;
}
html.lor-a11y-no-images body *:not(#lor-a11y-root, #lor-a11y-root *, #wpadminbar, #wpadminbar *, .leaflet-container *, .gm-style *, .mapboxgl-map *, [class*="captcha"] *, [class*="logo"], video, video *) {
	background-image: none !important;
}

/* ---- fonts ------------------------------------------------------------ */
html.lor-a11y-dyslexia body,
html.lor-a11y-dyslexia body *:not(#lor-a11y-root, #lor-a11y-root *, #wpadminbar, #wpadminbar *, i, [class*="icon"], [class*="fa-"], .fa, .fas, .far, .fab, .fal, .dashicons, .material-icons, .material-symbols-outlined, [class*="eicon"], svg, svg *, code, pre, kbd, samp) {
	font-family: "Lor OpenDyslexic", "Comic Sans MS", "Comic Neue", Verdana, "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", sans-serif !important;
}
html.lor-a11y-legible body,
html.lor-a11y-legible body *:not(#lor-a11y-root, #lor-a11y-root *, #wpadminbar, #wpadminbar *, i, [class*="icon"], [class*="fa-"], .fa, .fas, .far, .fab, .fal, .dashicons, .material-icons, .material-symbols-outlined, [class*="eicon"], svg, svg *, code, pre, kbd, samp) {
	font-family: Arial, Helvetica, Verdana, "Segoe UI", Tahoma, "Noto Sans Arabic", "Segoe UI Arabic", "Geeza Pro", system-ui, sans-serif !important;
	font-style: normal !important;
	text-shadow: none !important;
}

/* ---- big cursor -------------------------------------------------------- */
html.lor-a11y-cursor-1, html.lor-a11y-cursor-1 body, html.lor-a11y-cursor-1 body *:not(#lor-a11y-root *) { cursor: url("../icons/cursor-arrow-large.svg") 10 4, auto !important; }
html.lor-a11y-cursor-1 body :is(a, button, [role="button"], input[type="submit"], input[type="button"], input[type="checkbox"], input[type="radio"], label, select, summary, .button, .btn):not(#lor-a11y-root *) { cursor: url("../icons/cursor-hand-large.svg") 18 6, pointer !important; }
html.lor-a11y-cursor-2, html.lor-a11y-cursor-2 body, html.lor-a11y-cursor-2 body *:not(#lor-a11y-root *) { cursor: url("../icons/cursor-arrow-xl.svg") 16 6, auto !important; }
html.lor-a11y-cursor-2 body :is(a, button, [role="button"], input[type="submit"], input[type="button"], input[type="checkbox"], input[type="radio"], label, select, summary, .button, .btn):not(#lor-a11y-root *) { cursor: url("../icons/cursor-hand-xl.svg") 30 10, pointer !important; }
html.lor-a11y-cursor-1 body :is(input:not([type="submit"], [type="button"], [type="checkbox"], [type="radio"]), textarea, [contenteditable="true"]):not(#lor-a11y-root *),
html.lor-a11y-cursor-2 body :is(input:not([type="submit"], [type="button"], [type="checkbox"], [type="radio"]), textarea, [contenteditable="true"]):not(#lor-a11y-root *) { cursor: text !important; }

/* ---- panel open on mobile: keep the page still behind the sheet ------- */
@media (max-width: 600px) {
	html.lor-a11y-open body { overflow: hidden !important; }
}

/* ======================================================================
   3. v1.1 — assistant, voice, widget controls, feedback
   ====================================================================== */

/* wide primary card for the assistant */
#lor-a11y-root .lor-a11y-feature.is-hero{
	grid-column: 1 / -1;
	flex-direction: row; align-items: center; gap: 12px;
	min-height: 0;
	background: var(--lor-a11y-primary) !important;
	color: var(--lor-a11y-icon);
	border-color: transparent;
}
#lor-a11y-root .lor-a11y-feature.is-hero .lor-a11y-feature-ico{ background: rgba(255,255,255,.18); color: var(--lor-a11y-icon); border-color: transparent; }
#lor-a11y-root .lor-a11y-feature.is-hero .lor-a11y-feature-state{ color: var(--lor-a11y-icon); opacity: .85; font-weight: 500; }
#lor-a11y-root .lor-a11y-feature.is-hero:hover{ filter: brightness(1.06); }
#lor-a11y-root .lor-a11y-feature.is-hero .lor-a11y-feature-name{ font-size: 14.5px; }
#lor-a11y-root .lor-a11y-hero-text{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }

/* chat */
#lor-a11y-root .lor-a11y-chat{ display: flex; flex-direction: column; gap: 10px; min-height: 320px; }
#lor-a11y-root .lor-a11y-chat-h{ display: flex; align-items: center; gap: 10px; }
#lor-a11y-root .lor-a11y-chat-h .lor-a11y-avatar{
	width: 36px; height: 36px; border-radius: 12px;
	display: grid; place-items: center;
	background: var(--lor-a11y-primary); color: var(--lor-a11y-icon);
}
#lor-a11y-root .lor-a11y-chat-h .lor-a11y-avatar svg{ width: 20px; height: 20px; }
#lor-a11y-root .lor-a11y-chat-h strong{ flex: 1; font-size: 15px; }
#lor-a11y-root .lor-a11y-chat-h .lor-a11y-iconbtn{ background: var(--lor-a11y-tint) !important; color: var(--lor-a11y-primary); width: 36px; height: 36px; min-width: 36px; }
#lor-a11y-root .lor-a11y-chat-h .lor-a11y-iconbtn[aria-pressed="true"]{ background: var(--lor-a11y-primary) !important; color: var(--lor-a11y-icon); }
#lor-a11y-root .lor-a11y-chat-log{ display: flex; flex-direction: column; gap: 8px; }
#lor-a11y-root .lor-a11y-msg{
	max-width: 88%;
	padding: 9px 12px;
	border-radius: 14px;
	font-size: 14px; line-height: 1.55;
	overflow-wrap: anywhere;
	animation: lor-a11y-pop 160ms ease-out;
}
@keyframes lor-a11y-pop{ from{ opacity: 0; transform: translateY(4px); } to{ opacity: 1; transform: none; } }
#lor-a11y-root .lor-a11y-msg.is-bot{ align-self: flex-start; background: var(--lor-a11y-card); border: 1px solid var(--lor-a11y-line); border-start-start-radius: 4px; }
#lor-a11y-root .lor-a11y-msg.is-user{ align-self: flex-end; background: var(--lor-a11y-primary); color: var(--lor-a11y-icon); border-end-end-radius: 4px; }
#lor-a11y-root .lor-a11y-msg.is-note{ align-self: center; background: none; color: var(--lor-a11y-muted); font-size: 12px; padding: 2px 6px; }
#lor-a11y-root .lor-a11y-msg.is-wait{ color: var(--lor-a11y-muted); font-style: italic; }
#lor-a11y-root .lor-a11y-msg.is-wait::after{ content: ''; display: inline-block; width: 6px; height: 6px; margin-inline-start: 6px; border-radius: 50%; background: currentColor; animation: lor-a11y-blink 900ms infinite alternate; }
@keyframes lor-a11y-blink{ from{ opacity: .2; } to{ opacity: 1; } }
#lor-a11y-root .lor-a11y-msg p{ margin: 0 0 6px; }
#lor-a11y-root .lor-a11y-msg p:last-child{ margin: 0; }
#lor-a11y-root .lor-a11y-msg a{ text-decoration: underline; }
#lor-a11y-root .lor-a11y-chips{ display: flex; flex-wrap: wrap; gap: 6px; }
#lor-a11y-root .lor-a11y-chip{
	min-height: 34px; padding: 0 12px;
	border-radius: 999px !important;
	border: 1.5px solid var(--lor-a11y-line);
	background: var(--lor-a11y-card) !important;
	font-size: 12.5px; font-weight: 600;
	display: inline-flex !important; align-items: center;
}
#lor-a11y-root .lor-a11y-chip:hover{ border-color: var(--lor-a11y-primary); color: var(--lor-a11y-primary); }
#lor-a11y-root .lor-a11y-chat-f{
	position: sticky; bottom: 0;
	display: flex; gap: 6px; align-items: flex-end;
	padding-top: 6px; margin-top: auto;
	background: var(--lor-a11y-bg);
}
#lor-a11y-root .lor-a11y-chat-in{
	flex: 1 1 auto; min-width: 0;
	min-height: 44px; max-height: 120px;
	padding: 11px 14px;
	border-radius: 14px;
	border: 1.5px solid var(--lor-a11y-line);
	background: var(--lor-a11y-card); color: var(--lor-a11y-text);
	font: inherit; font-size: 14px; line-height: 1.4;
	resize: none;
}
#lor-a11y-root .lor-a11y-chat-in:focus{ outline: none; border-color: var(--lor-a11y-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lor-a11y-primary) 25%, transparent); }
#lor-a11y-root .lor-a11y-chat-f .lor-a11y-iconbtn{ width: 44px; height: 44px; min-width: 44px; border-radius: 14px !important; background: var(--lor-a11y-tint) !important; color: var(--lor-a11y-primary); }
#lor-a11y-root .lor-a11y-chat-f .lor-a11y-iconbtn.is-send{ background: var(--lor-a11y-primary) !important; color: var(--lor-a11y-icon); }
#lor-a11y-root .lor-a11y-chat-f .lor-a11y-iconbtn.is-live{ background: #d33 !important; color: #fff; animation: lor-a11y-pulse 1s infinite alternate; }
@keyframes lor-a11y-pulse{ from{ box-shadow: 0 0 0 0 rgba(221,51,51,.5); } to{ box-shadow: 0 0 0 8px rgba(221,51,51,0); } }
#lor-a11y-root .lor-a11y-chat-priv{ font-size: 11.5px; color: var(--lor-a11y-muted); line-height: 1.5; margin: 0; }

/* voice pill (outside the panel, near the launcher) */
#lor-a11y-root .lor-a11y-voice{
	position: fixed;
	z-index: var(--lor-a11y-z);
	display: flex; align-items: center; gap: 10px;
	max-width: min(360px, calc(100vw - 32px));
	padding: 8px 14px 8px 10px;
	border-radius: 999px;
	background: #111; color: #fff;
	box-shadow: 0 8px 24px rgba(0,0,0,.3);
	font-size: 13.5px; line-height: 1.4;
	cursor: pointer;
}
#lor-a11y-root .lor-a11y-voice i{
	flex: none; width: 30px; height: 30px; border-radius: 50%;
	display: grid; place-items: center;
	background: #d33; animation: lor-a11y-pulse 1s infinite alternate;
}
#lor-a11y-root .lor-a11y-voice i svg{ width: 16px; height: 16px; }
#lor-a11y-root .lor-a11y-voice span{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#lor-a11y-root.lor-a11y-pos-bottom-right .lor-a11y-voice, #lor-a11y-root.lor-a11y-pos-bottom-left .lor-a11y-voice{ bottom: calc(var(--lor-a11y-y) + var(--lor-a11y-btn) + 12px + env(safe-area-inset-bottom, 0px)); }
#lor-a11y-root.lor-a11y-pos-top-right .lor-a11y-voice, #lor-a11y-root.lor-a11y-pos-top-left .lor-a11y-voice{ top: calc(var(--lor-a11y-y) + var(--lor-a11y-btn) + 12px); }
#lor-a11y-root.lor-a11y-pos-middle-right .lor-a11y-voice, #lor-a11y-root.lor-a11y-pos-middle-left .lor-a11y-voice{ top: calc(50% + var(--lor-a11y-btn)); }
#lor-a11y-root[class*="-right"] .lor-a11y-voice{ right: var(--lor-a11y-x); }
#lor-a11y-root[class*="-left"] .lor-a11y-voice{ left: var(--lor-a11y-x); }
#lor-a11y-root .lor-a11y-panel.is-open ~ .lor-a11y-voice{ display: none; }

/* footer extras */
#lor-a11y-root .lor-a11y-foot-links{ display: flex; flex-wrap: wrap; gap: 2px 2px; justify-content: center; }
#lor-a11y-root .lor-a11y-link{
	min-height: 34px; padding: 0 9px;
	display: inline-flex !important; align-items: center; gap: 6px;
	border-radius: 10px !important;
	font-size: 12.5px; font-weight: 600;
	color: var(--lor-a11y-text) !important; text-decoration: none !important;
}
#lor-a11y-root .lor-a11y-link:hover{ background: var(--lor-a11y-tint) !important; color: var(--lor-a11y-primary) !important; }
#lor-a11y-root .lor-a11y-link svg{ width: 15px; height: 15px; }
#lor-a11y-root .lor-a11y-pop{
	display: none;
	padding: 10px; margin-top: 2px;
	border-radius: 12px;
	background: var(--lor-a11y-card); border: 1px solid var(--lor-a11y-line);
}
#lor-a11y-root .lor-a11y-pop.is-open{ display: block; }
#lor-a11y-root .lor-a11y-pop p{ font-size: 12.5px; color: var(--lor-a11y-muted); margin: 0 0 8px; line-height: 1.5; }
#lor-a11y-root .lor-a11y-posgrid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
#lor-a11y-root .lor-a11y-posbtn{
	min-height: 40px; padding: 0 10px;
	display: inline-flex !important; align-items: center; gap: 8px;
	border-radius: 10px !important;
	border: 1.5px solid var(--lor-a11y-line); background: var(--lor-a11y-bg) !important;
	font-size: 12.5px; font-weight: 600;
}
#lor-a11y-root .lor-a11y-posbtn i{ width: 22px; height: 16px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; flex: none; opacity: .7; }
#lor-a11y-root .lor-a11y-posbtn i::after{ content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--lor-a11y-primary); }
#lor-a11y-root .lor-a11y-posbtn[data-pos="bottom-right"] i::after{ right: 2px; bottom: 2px; }
#lor-a11y-root .lor-a11y-posbtn[data-pos="bottom-left"] i::after{ left: 2px; bottom: 2px; }
#lor-a11y-root .lor-a11y-posbtn[data-pos="top-right"] i::after{ right: 2px; top: 2px; }
#lor-a11y-root .lor-a11y-posbtn[data-pos="top-left"] i::after{ left: 2px; top: 2px; }
#lor-a11y-root .lor-a11y-posbtn[data-pos="middle-right"] i::after{ right: 2px; top: 4px; }
#lor-a11y-root .lor-a11y-posbtn[data-pos="middle-left"] i::after{ left: 2px; top: 4px; }
#lor-a11y-root .lor-a11y-posbtn[aria-pressed="true"]{ border-color: var(--lor-a11y-primary); background: var(--lor-a11y-tint) !important; }
#lor-a11y-root .lor-a11y-poprow{ display: flex; flex-wrap: wrap; gap: 6px; }
#lor-a11y-root .lor-a11y-poprow .lor-a11y-tool{ flex: 1 1 auto; }
#lor-a11y-root .lor-a11y-sitelang{
	appearance: none; -webkit-appearance: none;
	min-height: 36px; padding: 0 28px 0 10px;
	border-radius: 10px; border: 1.5px solid var(--lor-a11y-line);
	background: var(--lor-a11y-card); color: var(--lor-a11y-text);
	font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 8px center; background-size: 14px;
}
#lor-a11y-root[dir="rtl"] .lor-a11y-sitelang{ padding: 0 10px 0 28px; background-position: left 8px center; }
#lor-a11y-root .lor-a11y-hint{ font-size: 11px; color: var(--lor-a11y-muted); text-align: center; }
#lor-a11y-root .lor-a11y-hint kbd{ font: inherit; padding: 1px 5px; border: 1px solid var(--lor-a11y-line); border-radius: 4px; }

/* feedback form */
#lor-a11y-root .lor-a11y-form{ display: flex; flex-direction: column; gap: 10px; }
#lor-a11y-root .lor-a11y-form label{ font-size: 13px; font-weight: 700; display: flex; flex-direction: column; gap: 5px; }
#lor-a11y-root .lor-a11y-form :is(textarea, input){
	font: inherit; font-size: 14px; padding: 10px 12px;
	border-radius: 12px; border: 1.5px solid var(--lor-a11y-line);
	background: var(--lor-a11y-card); color: var(--lor-a11y-text);
	min-height: 44px;
}
#lor-a11y-root .lor-a11y-form textarea{ min-height: 110px; resize: vertical; }
#lor-a11y-root .lor-a11y-form :is(textarea, input):focus{ outline: none; border-color: var(--lor-a11y-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lor-a11y-primary) 25%, transparent); }
#lor-a11y-root .lor-a11y-hp{ position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#lor-a11y-root .lor-a11y-form-msg{ font-size: 13.5px; font-weight: 600; color: var(--lor-a11y-primary); }
#lor-a11y-root .lor-a11y-form-msg.is-err{ color: #b32d2e; }

/* hidden widget + oversized widget */
#lor-a11y-root.is-hidden .lor-a11y-launcher, #lor-a11y-root.is-hidden .lor-a11y-panel, #lor-a11y-root.is-hidden .lor-a11y-backdrop{ display: none !important; }
html.lor-a11y-oversized #lor-a11y-root{ font-size: 17.5px; --lor-a11y-width: 480px; }
html.lor-a11y-oversized #lor-a11y-root .lor-a11y-launcher{ width: calc(var(--lor-a11y-btn) * 1.35); height: calc(var(--lor-a11y-btn) * 1.35); }
html.lor-a11y-oversized #lor-a11y-root :is(.lor-a11y-feature-name, .lor-a11y-profile){ font-size: 15.5px; }
html.lor-a11y-oversized #lor-a11y-root .lor-a11y-feature-state{ font-size: 13.5px; }
html.lor-a11y-oversized #lor-a11y-root .lor-a11y-feature{ min-height: 118px; }
html.lor-a11y-oversized #lor-a11y-root :is(.lor-a11y-iconbtn, .lor-a11y-tool){ min-width: 48px; min-height: 48px; }
html.lor-a11y-oversized #lor-a11y-root .lor-a11y-msg{ font-size: 16px; }

/* ======================================================================
   4. v1.2 — assistant icon, photos, place cards, stacking
   ====================================================================== */
#lor-a11y-root .lor-a11y-launcher.is-assistant{
	background: linear-gradient(135deg, #23CED9, var(--lor-a11y-primary)) !important;
}
#lor-a11y-root.lor-a11y-pos-bottom-right .lor-a11y-launcher.is-assistant,
#lor-a11y-root.lor-a11y-pos-bottom-left  .lor-a11y-launcher.is-assistant{ bottom: calc(var(--lor-a11y-y) + var(--lor-a11y-btn) + 12px + env(safe-area-inset-bottom, 0px)); }
#lor-a11y-root.lor-a11y-pos-top-right .lor-a11y-launcher.is-assistant,
#lor-a11y-root.lor-a11y-pos-top-left  .lor-a11y-launcher.is-assistant{ top: calc(var(--lor-a11y-y) + var(--lor-a11y-btn) + 12px); }
body.admin-bar #lor-a11y-root.lor-a11y-pos-top-right .lor-a11y-launcher.is-assistant,
body.admin-bar #lor-a11y-root.lor-a11y-pos-top-left  .lor-a11y-launcher.is-assistant{ top: calc(var(--lor-a11y-y) + var(--lor-a11y-btn) + 44px); }
#lor-a11y-root.lor-a11y-pos-middle-right .lor-a11y-launcher.is-assistant,
#lor-a11y-root.lor-a11y-pos-middle-left  .lor-a11y-launcher.is-assistant{ margin-top: calc(var(--lor-a11y-btn) / 2 + 12px); }
/* with the assistant icon the anchor offset grows by one icon + gap; the panel height follows automatically */
#lor-a11y-root.has-assistant{ --lor-a11y-off: calc(var(--lor-a11y-y) + var(--lor-a11y-btn) * 2 + 24px); }
#lor-a11y-root.has-assistant.lor-a11y-pos-bottom-right .lor-a11y-voice,
#lor-a11y-root.has-assistant.lor-a11y-pos-bottom-left  .lor-a11y-voice{ bottom: var(--lor-a11y-offb); }
@media (max-width: 600px) { #lor-a11y-root .lor-a11y-panel { bottom: 0 !important; } }

/* photos in the chat */
#lor-a11y-root .lor-a11y-thumb{ display: flex; align-items: center; gap: 8px; }
#lor-a11y-root .lor-a11y-thumb[hidden]{ display: none; }
#lor-a11y-root .lor-a11y-thumb img{ width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--lor-a11y-line); }
#lor-a11y-root .lor-a11y-thumb .lor-a11y-iconbtn{ width: 34px; height: 34px; min-width: 34px; background: var(--lor-a11y-tint) !important; color: var(--lor-a11y-primary); }
#lor-a11y-root .lor-a11y-msg-img{ display: block; max-width: 100%; max-height: 180px; border-radius: 10px; margin-top: 8px; }
#lor-a11y-root .lor-a11y-msg.is-user .lor-a11y-msg-img{ border: 2px solid rgba(255,255,255,.5); }

/* place cards from the site's own search, inside a bubble */
#lor-a11y-root .lor-a11y-msg-html{ margin-top: 10px; }
#lor-a11y-root .lor-a11y-msg-html .k-grid{ display: grid !important; grid-template-columns: 1fr !important; gap: 8px !important; }
#lor-a11y-root .lor-a11y-msg-html .k-card{ margin: 0; font-size: 13px; }
#lor-a11y-root .lor-a11y-msg-html a{ color: var(--lor-a11y-primary); }
#lor-a11y-root .lor-a11y-msg.is-bot{ max-width: 100%; }
#lor-a11y-root .lor-a11y-chip.is-link{ margin-top: 10px; color: var(--lor-a11y-primary) !important; text-decoration: none !important; }

/* language row at the top of the menu body */
#lor-a11y-root .lor-a11y-langrow{
	display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
	margin: -2px 0 14px; padding: 8px 10px 8px 12px;
	border-radius: calc(var(--lor-a11y-radius) * .7);
	background: var(--lor-a11y-card); border: 1.5px solid var(--lor-a11y-line);
}
#lor-a11y-root .lor-a11y-langrow-lb{ display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--lor-a11y-muted); }
#lor-a11y-root .lor-a11y-langrow-lb svg{ width: 16px; height: 16px; }
#lor-a11y-root .lor-a11y-pills{ display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--lor-a11y-tint); }
#lor-a11y-root .lor-a11y-pill{
	min-height: 34px; padding: 0 14px;
	display: inline-flex !important; align-items: center;
	border-radius: 999px !important;
	font-size: 13px; font-weight: 700;
	color: var(--lor-a11y-text) !important; text-decoration: none !important;
	transition: background var(--lor-a11y-ease), color var(--lor-a11y-ease);
}
#lor-a11y-root .lor-a11y-pill:hover{ background: var(--lor-a11y-bg) !important; }
#lor-a11y-root .lor-a11y-pill.is-on{ background: var(--lor-a11y-primary) !important; color: var(--lor-a11y-icon) !important; }

/* "More" block at the end of the body: the footer links moved here */
#lor-a11y-root .lor-a11y-more .lor-a11y-foot-links{ justify-content: flex-start; gap: 4px; padding: 6px; border-radius: calc(var(--lor-a11y-radius) * .7); background: var(--lor-a11y-card); border: 1.5px solid var(--lor-a11y-line); }
#lor-a11y-root .lor-a11y-more .lor-a11y-link{ min-height: 40px; font-size: 13px; }
#lor-a11y-root .lor-a11y-more .lor-a11y-pop{ margin-top: 8px; }
