/* WebACC original accessibility assistant layout */
.webacc,
.webacc * {
  box-sizing: border-box;
}

.webacc {
  position: fixed;
  z-index: 2147483000;
  color: #17215f;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --webacc-navy: #17215f;
  --webacc-muted: #5d668e;
  --webacc-soft: #f4f6ff;
  --webacc-border: #dfe3f1;
  --webacc-card: #ffffff;
}

.webacc--bottom-right {
  right: 18px;
  bottom: 18px;
}

.webacc--bottom-left {
  left: 18px;
  bottom: 18px;
}

.webacc__toggle {
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-radius: 18px;
  border: 1px solid rgba(23, 33, 95, .22);
  background: linear-gradient(135deg, var(--webacc-accent, #2a347f), #111a56);
  color: #fff;
  padding: 0;
  box-shadow: 0 16px 40px rgba(23, 33, 95, .28);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.webacc__toggle:hover,
.webacc__toggle:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(23, 33, 95, .35);
  outline: none;
}

.webacc__toggle-icon,
.webacc__brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.webacc__toggle-icon svg {
  width: 30px;
  height: 30px;
}

.webacc__toggle-text {
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.webacc__panel {
  position: absolute;
  bottom: 72px;
  width: min(430px, calc(100vw - 28px));
  max-height: min(82vh, 770px);
  overflow: auto;
  border-radius: 24px;
  border: 1px solid rgba(223, 227, 241, .98);
  background: linear-gradient(180deg, #fbfcff, #f3f5fb);
  box-shadow: 0 24px 72px rgba(12, 18, 51, .24);
  padding: 12px;
  scrollbar-width: thin;
}

.webacc--bottom-right .webacc__panel {
  right: 0;
}

.webacc--bottom-left .webacc__panel {
  left: 0;
}

.webacc__panel[hidden] {
  display: none !important;
}

.webacc--oversize .webacc__panel {
  width: min(620px, calc(100vw - 28px));
}

.webacc__head {
  position: sticky;
  top: -12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: -12px -12px 10px;
  padding: 14px;
  border-bottom: 1px solid rgba(223, 227, 241, .92);
  background: rgba(251, 252, 255, .96);
  backdrop-filter: blur(10px);
}

.webacc__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.webacc__brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--webacc-accent, #2a347f);
  color: #fff;
  flex: 0 0 auto;
}

.webacc__brand-icon svg {
  width: 24px;
  height: 24px;
}

.webacc__brand h2 {
  margin: 0;
  color: var(--webacc-navy);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -.02em;
}

.webacc__brand p {
  margin: 3px 0 0;
  color: var(--webacc-muted);
  font-size: 12px;
  font-weight: 740;
}

.webacc__close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: #eef1f8;
  color: var(--webacc-navy);
  cursor: pointer;
}

.webacc__close:hover,
.webacc__close:focus-visible {
  background: #e4e8f3;
  outline: none;
}

.webacc__close svg {
  width: 18px;
  height: 18px;
}

.webacc__quickbar {
  position: sticky;
  top: 60px;
  z-index: 1;
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(238, 241, 248, .92);
  backdrop-filter: blur(8px);
}

.webacc__quickbar a {
  flex: 1 1 0;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--webacc-navy);
  background: transparent;
  text-decoration: none;
  font-size: 11px;
  font-weight: 850;
}

.webacc__quickbar a:hover,
.webacc__quickbar a:focus-visible {
  background: #fff;
  outline: none;
}

.webacc__section {
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid rgba(223, 227, 241, .95);
  border-radius: 20px;
  background: rgba(255, 255, 255, .86);
}

.webacc__section--compact {
  padding: 10px 12px;
}

.webacc__section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}

.webacc__section-title span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eef1fb;
  color: var(--webacc-navy);
}

.webacc__section-title svg {
  width: 17px;
  height: 17px;
}

.webacc__section-title h3 {
  margin: 0;
  color: var(--webacc-navy);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -.01em;
}

.webacc__tool-list,
.webacc__visual-row,
.webacc__profiles-grid {
  display: grid;
  gap: 8px;
}

.webacc__tool-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.webacc__visual-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.webacc__profiles-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.webacc__card,
.webacc__profile {
  min-height: 48px;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(223, 227, 241, .98);
  border-radius: 14px;
  background: #fff;
  color: var(--webacc-navy);
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(23, 33, 95, .04);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.webacc__visual-row .webacc__card {
  min-height: 78px;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.webacc__card:hover,
.webacc__profile:hover,
.webacc__card:focus-visible,
.webacc__profile:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(42, 52, 127, .38);
  box-shadow: 0 10px 22px rgba(23, 33, 95, .08);
  outline: none;
}

.webacc__card.is-active,
.webacc__profile.is-active {
  border-color: rgba(42, 52, 127, .5);
  background: #eef1fb;
  box-shadow: inset 0 0 0 1px rgba(42, 52, 127, .1);
}

.webacc__card-icon,
.webacc__profile-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--webacc-navy);
}

.webacc__card-icon svg,
.webacc__profile-icon svg {
  width: 22px;
  height: 22px;
}

.webacc__card-label,
.webacc__profile-label {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 820;
  letter-spacing: -.01em;
}

.webacc__switch-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.webacc__switch-label-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.webacc__small-icon svg {
  width: 22px;
  height: 22px;
}

.webacc__switch-label {
  color: var(--webacc-navy);
  font-size: 13px;
  font-weight: 850;
}

.webacc__switch {
  position: relative;
  width: 50px;
  height: 29px;
  border: 0;
  border-radius: 999px;
  background: #9aa3b8;
  cursor: pointer;
  flex: 0 0 auto;
}

.webacc__switch span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 23px;
  height: 23px;
  border-radius: 999px;
  background: #fff;
  transition: transform .18s ease;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .18);
}

.webacc__switch.is-active {
  background: var(--webacc-accent, #2a347f);
}

.webacc__switch.is-active span {
  transform: translateX(21px);
}

.webacc__color-row {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid rgba(223, 227, 241, .96);
  border-radius: 14px;
  background: #fff;
}

.webacc__color-label {
  color: var(--webacc-navy);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
}

.webacc__color-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}

.webacc__color-chip {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.webacc__color-chip span {
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid #707686;
  border-radius: 999px;
}

.webacc__color-chip.is-active span {
  border-color: var(--webacc-accent, #2a347f);
  box-shadow: 0 0 0 3px rgba(42, 52, 127, .16);
}

.webacc__font-box {
  padding: 10px;
  border: 1px solid rgba(223, 227, 241, .96);
  border-radius: 16px;
  background: #fff;
  margin-bottom: 8px;
}

.webacc__font-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--webacc-navy);
  font-size: 13px;
  font-weight: 850;
}

.webacc__font-head strong {
  color: var(--webacc-navy);
  font-size: 16px;
  font-weight: 900;
}

.webacc__font-slider-row {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  gap: 8px;
}

.webacc__step {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 12px;
  background: #eef1f8;
  color: var(--webacc-navy);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.webacc__range {
  width: 100%;
  accent-color: var(--webacc-accent, #2a347f);
}

.webacc__range-dots {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.webacc__range-dots span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 9px;
  color: var(--webacc-navy);
  font-size: 11px;
  font-weight: 900;
}

.webacc__range-dots span.is-active {
  background: var(--webacc-accent, #2a347f);
  color: #fff;
}

.webacc__position-box {
  display: grid;
  grid-template-columns: 1fr 160px;
  align-items: center;
  gap: 10px;
}

.webacc__position-label {
  color: var(--webacc-navy);
  font-size: 13px;
  font-weight: 850;
}

.webacc__position-select {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(223, 227, 241, .96);
  border-radius: 12px;
  background: #fff;
  color: var(--webacc-navy);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 820;
}

.webacc__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
}

.webacc__reset {
  min-height: 38px;
  border: 0;
  border-radius: 12px;
  background: var(--webacc-accent, #2a347f);
  color: #fff;
  padding: 10px 13px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.webacc__legal-links {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}

.webacc__legal-link {
  border: 0;
  background: transparent;
  color: #65709e;
  padding: 4px 3px;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 780;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.webacc__legal-link:hover,
.webacc__legal-link:focus-visible {
  color: var(--webacc-navy);
  outline: none;
}

/* Structure modal */
.webacc-structure-modal,
.webacc-legal-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(17, 24, 39, .42);
}

.webacc-legal-modal {
  z-index: 2147483002;
}

.webacc-structure-modal[hidden],
.webacc-legal-modal[hidden] {
  display: none !important;
}

.webacc-structure-modal__dialog,
.webacc-legal-modal__dialog {
  width: min(640px, 100%);
  max-height: 82vh;
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  color: var(--webacc-navy);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .24);
}

.webacc-structure-modal__dialog {
  padding: 16px;
}

.webacc-structure-modal__head,
.webacc-legal-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(223, 227, 241, .92);
  background: #fff;
}

.webacc-structure-modal__head {
  padding: 0 0 12px;
  margin-bottom: 12px;
  border-bottom: 0;
}

.webacc-structure-modal__head h3,
.webacc-legal-modal__head h3 {
  margin: 0;
  color: var(--webacc-navy);
  font-size: 19px;
  line-height: 1.25;
  font-weight: 900;
}

.webacc-structure-modal__close,
.webacc-legal-modal__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: #eef1f8;
  color: var(--webacc-navy);
  cursor: pointer;
}

.webacc-structure-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.webacc-structure-list button {
  width: 100%;
  border: 1px solid #d8d8df;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  color: var(--webacc-navy);
  text-align: left;
  cursor: pointer;
  font-size: 14px;
}

.webacc-structure-list .level-h2 button { padding-left: 22px; }
.webacc-structure-list .level-h3 button { padding-left: 32px; }
.webacc-structure-list .level-h4 button { padding-left: 42px; }
.webacc-structure-list .level-h5 button { padding-left: 52px; }
.webacc-structure-list .level-h6 button { padding-left: 62px; }

.webacc-legal-modal__body {
  padding: 18px;
  color: #26316f;
  font-size: 14px;
  line-height: 1.65;
}

.webacc-legal-modal__body p {
  margin: 0 0 12px;
}

.webacc-legal-modal__actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 18px 18px;
}

.webacc-legal-modal__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 12px;
  background: var(--webacc-accent, #2a347f);
  color: #fff;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

/* Site-level accessibility effects */

html.webacc-keyboard-navigation :focus,
html.webacc-keyboard-navigation :focus-visible {
  outline: 4px solid var(--webacc-accent, #2a347f) !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 7px rgba(42, 52, 127, .16) !important;
}

html.webacc-dark-mode body,
html.webacc-dark-mode body *:not(svg):not(svg *) {
  background-color: #111827 !important;
  color: #f8fafc !important;
  border-color: #cfd6e3 !important;
}

html.webacc-dark-mode a {
  color: #9dc3ff !important;
}

html.webacc-hide-images img,
html.webacc-hide-images picture,
html.webacc-hide-images video,
html.webacc-hide-images iframe {
  opacity: 0 !important;
  visibility: hidden !important;
}

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

html.webacc-big-cursor,
html.webacc-big-cursor * {
  cursor: crosshair !important;
}

html.webacc-text-simplifier body,
html.webacc-text-simplifier body *:not(svg):not(svg *) {
  font-family: Arial, Helvetica, sans-serif !important;
  line-height: 1.7 !important;
}

html.webacc-high-contrast body,
html.webacc-high-contrast body *:not(svg):not(svg *) {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}

html.webacc-high-contrast a {
  color: #ffff00 !important;
}

html.webacc-low-saturation {
  filter: saturate(.55);
}

html.webacc-monochrome {
  filter: grayscale(1);
}

html.webacc-highlight-titles h1,
html.webacc-highlight-titles h2,
html.webacc-highlight-titles h3,
html.webacc-highlight-titles h4,
html.webacc-highlight-titles h5,
html.webacc-highlight-titles h6,
html.webacc-highlight-titles [role="heading"] {
  outline: 3px solid var(--webacc-accent, #2a347f) !important;
  outline-offset: 3px !important;
  border-radius: 4px !important;
}

html.webacc-highlight-links a {
  outline: 3px solid var(--webacc-accent, #2a347f) !important;
  outline-offset: 3px !important;
  background: rgba(255, 235, 59, .45) !important;
  color: #000 !important;
}

html.webacc-dyslexia-font body,
html.webacc-dyslexia-font body *:not(svg):not(svg *) {
  font-family: Arial, Helvetica, sans-serif !important;
}

html.webacc-letter-spacing body,
html.webacc-letter-spacing body *:not(svg):not(svg *) {
  letter-spacing: .08em !important;
}

html.webacc-line-height body,
html.webacc-line-height body *:not(svg):not(svg *) {
  line-height: 1.8 !important;
}

html.webacc-font-weight body,
html.webacc-font-weight body *:not(svg):not(svg *) {
  font-weight: 700 !important;
}

#webacc-reading-guide {
  position: fixed;
  left: 0;
  width: 100vw;
  height: 44px;
  background: rgba(255, 235, 59, .28);
  border-top: 2px solid rgba(0, 0, 0, .45);
  border-bottom: 2px solid rgba(0, 0, 0, .45);
  pointer-events: none;
  z-index: 2147482999;
  display: none;
}

html.webacc-reading-guide #webacc-reading-guide {
  display: block;
}

/* Keep widget readable under global accessibility effects */
html[class*="webacc-"] .webacc,
html[class*="webacc-"] .webacc *,
html[class*="webacc-"] .webacc-structure-modal,
html[class*="webacc-"] .webacc-structure-modal *,
html[class*="webacc-"] .webacc-legal-modal,
html[class*="webacc-"] .webacc-legal-modal * {
  filter: none !important;
}

/* RTL / Hebrew */
html[dir="rtl"] .webacc,
body.rtl .webacc,
.webacc[dir="rtl"],
html[dir="rtl"] .webacc-legal-modal,
body.rtl .webacc-legal-modal,
.webacc[dir="rtl"] ~ .webacc-legal-modal {
  direction: rtl;
  font-family: "Heebo", Arial, sans-serif;
}

html[dir="rtl"] .webacc *,
body.rtl .webacc *,
.webacc[dir="rtl"] *,
html[dir="rtl"] .webacc-legal-modal *,
body.rtl .webacc-legal-modal *,
.webacc[dir="rtl"] ~ .webacc-legal-modal * {
  font-family: "Heebo", Arial, sans-serif;
}

html[dir="rtl"] .webacc__card,
html[dir="rtl"] .webacc__profile,
body.rtl .webacc__card,
body.rtl .webacc__profile,
.webacc[dir="rtl"] .webacc__card,
.webacc[dir="rtl"] .webacc__profile,
html[dir="rtl"] .webacc-structure-list button,
body.rtl .webacc-structure-list button {
  text-align: right;
}

@media (max-width: 767px) {
  .webacc--bottom-right {
    right: 10px;
    bottom: 10px;
  }

  .webacc--bottom-left {
    left: 10px;
    bottom: 10px;
  }

  .webacc__toggle {
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    padding: 0;
    border-radius: 16px;
  }

  .webacc__toggle-icon svg {
    width: 27px;
    height: 27px;
  }

  .webacc__toggle-text {
    display: none !important;
  }

  .webacc__panel {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 86px);
    bottom: 64px;
    border-radius: 20px;
    padding: 10px;
  }

  .webacc__head {
    margin: -10px -10px 8px;
    padding: 12px;
  }

  .webacc__quickbar {
    top: 58px;
    overflow-x: auto;
  }

  .webacc__quickbar a {
    min-width: max-content;
    padding: 0 9px;
  }

  .webacc__tool-list,
  .webacc__profiles-grid {
    grid-template-columns: 1fr;
  }

  .webacc__visual-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .webacc__visual-row .webacc__card {
    min-height: 70px;
    padding: 8px 6px;
  }

  .webacc__visual-row .webacc__card-label {
    font-size: 10px;
  }

  .webacc__color-row {
    grid-template-columns: 1fr;
  }

  .webacc__color-list {
    justify-content: flex-start;
  }

  .webacc__position-box {
    grid-template-columns: 1fr;
  }

  .webacc__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .webacc__legal-links {
    justify-content: flex-start;
  }
}


/* v1.5.0: widget position option removed */
.webacc__position-box,
.webacc__position-select {
  display: none !important;
}

/* v1.5.0: stronger font-size slider support for Elementor/WordPress text */
html.webacc-font-size-2 {
  --webacc-font-scale: 1.1;
}
html.webacc-font-size-3 {
  --webacc-font-scale: 1.2;
}
html.webacc-font-size-4 {
  --webacc-font-scale: 1.3;
}
html.webacc-font-size-5 {
  --webacc-font-scale: 1.4;
}

html[data-webacc-font-size="2"] body :is(p, li, blockquote, figcaption, .elementor-widget-text-editor p, .elementor-widget-text-editor li, .elementor-widget-text-editor span, .elementor-widget-text-editor div):not(.webacc):not(.webacc *):not(.webacc-structure-modal):not(.webacc-structure-modal *):not(.webacc-legal-modal):not(.webacc-legal-modal *):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(.elementor-heading-title):not(svg):not(svg *),
html[data-webacc-font-size="3"] body :is(p, li, blockquote, figcaption, .elementor-widget-text-editor p, .elementor-widget-text-editor li, .elementor-widget-text-editor span, .elementor-widget-text-editor div):not(.webacc):not(.webacc *):not(.webacc-structure-modal):not(.webacc-structure-modal *):not(.webacc-legal-modal):not(.webacc-legal-modal *):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(.elementor-heading-title):not(svg):not(svg *),
html[data-webacc-font-size="4"] body :is(p, li, blockquote, figcaption, .elementor-widget-text-editor p, .elementor-widget-text-editor li, .elementor-widget-text-editor span, .elementor-widget-text-editor div):not(.webacc):not(.webacc *):not(.webacc-structure-modal):not(.webacc-structure-modal *):not(.webacc-legal-modal):not(.webacc-legal-modal *):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(.elementor-heading-title):not(svg):not(svg *),
html[data-webacc-font-size="5"] body :is(p, li, blockquote, figcaption, .elementor-widget-text-editor p, .elementor-widget-text-editor li, .elementor-widget-text-editor span, .elementor-widget-text-editor div):not(.webacc):not(.webacc *):not(.webacc-structure-modal):not(.webacc-structure-modal *):not(.webacc-legal-modal):not(.webacc-legal-modal *):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(.elementor-heading-title):not(svg):not(svg *) {
  font-size: calc(1em * var(--webacc-font-scale, 1)) !important;
}


/* v1.5.1: default WebACC font size is a no-op and must not affect the website */
html.webacc-font-size-1 {
  --webacc-font-scale: 1;
}


/* v1.5.2: keep headings untouched by WebACC font size control */
html[data-webacc-font-size] body :is(h1, h2, h3, h4, h5, h6, .elementor-heading-title, .elementor-widget-heading, .elementor-widget-heading *):not(.webacc):not(.webacc *):not(.webacc-structure-modal):not(.webacc-structure-modal *):not(.webacc-legal-modal):not(.webacc-legal-modal *) {
  font-size: revert !important;
}


/* v1.5.3: bottom floating button is icon-only */
.webacc__toggle-text {
  display: none !important;
}
