/* ---------- display modes (applied to the site, never to the widget) ---------- */
html.lxa-contrast body, html.lxa-contrast body *:not(#lxa-root):not(#lxa-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.lxa-contrast body a:not(#lxa-root *), html.lxa-contrast body a:not(#lxa-root *) * { color: #ffe600 !important; }
html.lxa-contrast body button:not(#lxa-root *), html.lxa-contrast body input:not(#lxa-root *),
html.lxa-contrast body select:not(#lxa-root *), html.lxa-contrast body textarea:not(#lxa-root *) { border: 2px solid #fff !important; }
html.lxa-contrast body img:not(#lxa-root *), html.lxa-contrast body video:not(#lxa-root *) { background: transparent !important; }

html.lxa-links body a:not(#lxa-root *) { text-decoration: underline !important; text-underline-offset: .18em !important; text-decoration-thickness: 2px !important; }

html.lxa-font body *:not(#lxa-root):not(#lxa-root *):not(i):not([class*="icon"]):not([class*="fa-"]) {
  font-family: Arial, "Arial Hebrew", Tahoma, sans-serif !important;
}

/* WCAG 1.4.12 text-spacing values */
html.lxa-spacing body *:not(#lxa-root):not(#lxa-root *) {
  line-height: 1.5 !important; letter-spacing: .12em !important; word-spacing: .16em !important;
}
html.lxa-spacing body p:not(#lxa-root *) { margin-bottom: 2em !important; }

html.lxa-motion *, html.lxa-motion *::before, html.lxa-motion *::after {
  animation-duration: .001ms !important; animation-iteration-count: 1 !important;
  transition-duration: .001ms !important; scroll-behavior: auto !important;
}

html.lxa-focus body *:focus-visible:not(#lxa-root *) {
  outline: 4px solid #ffbf00 !important; outline-offset: 2px !important; box-shadow: 0 0 0 7px #000 !important;
}

/* ---------- the widget ---------- */
#lxa-root, #lxa-root * { box-sizing: border-box; transition: none !important; }
#lxa-root {
  --lxa-color: #1E222B; --lxa-lift: 0px;
  position: fixed; z-index: 2147483000; bottom: calc(16px + var(--lxa-lift)); left: 16px;
  font: 16px/1.4 Arial, "Arial Hebrew", Tahoma, sans-serif !important; letter-spacing: 0 !important; word-spacing: 0 !important;
  color: #1E222B; direction: rtl;
}
#lxa-root.lxa-right { left: auto; right: 16px; }

#lxa-root .lxa-btn {
  width: 56px; height: 56px; border-radius: 50%; border: 3px solid #fff; padding: 0;
  background: var(--lxa-color) !important; color: #fff !important; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.35) !important;
}
#lxa-root .lxa-btn:hover { box-shadow: 0 0 0 4px rgba(30,34,43,.25), 0 2px 8px rgba(0,0,0,.35) !important; }
#lxa-root button:focus-visible, #lxa-root a:focus-visible, #lxa-root .lxa-title:focus-visible {
  outline: 3px solid #ffbf00 !important; outline-offset: 2px !important; box-shadow: 0 0 0 6px #000 !important;
}
#lxa-root .lxa-title:focus:not(:focus-visible) { outline: none; }

#lxa-root .lxa-panel {
  position: absolute; bottom: 68px; left: 0; width: min(320px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 110px - var(--lxa-lift))); overflow: auto;
  background: #fff !important; color: #1E222B !important; border: 2px solid var(--lxa-color);
  border-radius: 12px; padding: 14px; box-shadow: 0 8px 28px rgba(0,0,0,.3) !important; text-align: right;
}
#lxa-root.lxa-right .lxa-panel { left: auto; right: 0; }
#lxa-root .lxa-panel[hidden] { display: none; }
#lxa-root .lxa-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
#lxa-root .lxa-title { margin: 0; font-size: 19px !important; font-weight: 700; color: #1E222B !important; background: none !important; }
#lxa-root .lxa-close {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid #c8cbc4; background: #fff !important;
  color: #1E222B !important; font-size: 24px !important; line-height: 1; cursor: pointer;
}
#lxa-root .lxa-size {
  display: flex; align-items: center; gap: 8px; padding: 8px 0 12px; border-bottom: 1px solid #e3e5df; margin-bottom: 8px;
}
#lxa-root .lxa-size-label { flex: 1; font-weight: 700; color: #1E222B !important; }
#lxa-root .lxa-step {
  min-width: 48px; height: 40px; border-radius: 8px; border: 2px solid var(--lxa-color); background: #fff !important;
  color: #1E222B !important; font-size: 17px !important; font-weight: 700; cursor: pointer;
}
#lxa-root .lxa-step:disabled { opacity: .45; cursor: not-allowed; }
#lxa-root .lxa-size-val { min-width: 48px; text-align: center; font-weight: 700; color: #1E222B !important; }
#lxa-root .lxa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
#lxa-root .lxa-toggle {
  width: 100%; min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  border-radius: 8px; border: 1px solid #c8cbc4; background: #F5F6F2 !important; color: #1E222B !important;
  font-size: 16px !important; text-align: right; cursor: pointer;
}
#lxa-root .lxa-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #1E222B; flex: none; background: #fff; }
#lxa-root .lxa-toggle[aria-pressed="true"] { background: var(--lxa-color) !important; color: #fff !important; border-color: var(--lxa-color); }
#lxa-root .lxa-toggle[aria-pressed="true"] .lxa-dot { background: #fff; border-color: #fff; box-shadow: inset 0 0 0 4px var(--lxa-color); }
#lxa-root .lxa-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
#lxa-root .lxa-reset {
  min-height: 40px; padding: 6px 12px; border-radius: 8px; border: 2px solid #1E222B; background: #fff !important;
  color: #1E222B !important; font-size: 15px !important; cursor: pointer;
}
#lxa-root .lxa-statement { color: #1E222B !important; text-decoration: underline !important; font-size: 15px !important; padding: 8px 0; }
#lxa-root .lxa-note { margin: 10px 0 0; font-size: 13px !important; color: #4a4f57 !important; }
#lxa-root .lxa-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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