.ae-a11y {
  --a11y-ink: #0b1622;
  --a11y-muted: #667589;
  --a11y-surface: #fff;
  --a11y-soft: #f4f8fb;
  --a11y-line: #dce5ec;
  --a11y-blue: #009be0;
  --a11y-green: #98d342;
  color: var(--a11y-ink);
  font-family: var(--tj-ff-body, Arial, sans-serif);
}

.ae-a11y [hidden] {
  display: none !important;
}

.ae-a11y__launcher {
  position: fixed;
  z-index: 10020;
  right: 1.25rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: #0b1622;
  color: #fff;
  box-shadow: 0 8px 28px rgba(7, 18, 30, .22);
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}

.ae-a11y__launcher:hover {
  background: #12304a;
  transform: translateY(-2px);
}

.ae-a11y__launcher svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: var(--a11y-green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.ae-a11y__panel {
  position: fixed;
  z-index: 10021;
  right: 1.25rem;
  bottom: 5.25rem;
  display: flex;
  flex-direction: column;
  width: min(23rem, calc(100vw - 2rem));
  max-height: min(78vh, 46rem);
  overflow: hidden;
  border: 1px solid var(--a11y-line);
  border-radius: 1rem;
  background: var(--a11y-surface);
  box-shadow: 0 18px 60px rgba(7, 18, 30, .24);
}

.ae-a11y__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem .8rem;
  border-bottom: 1px solid var(--a11y-line);
}

.ae-a11y__eyebrow {
  margin: 0 0 .25rem;
  color: #148da9;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ae-a11y__header h2 {
  margin: 0;
  color: var(--a11y-ink);
  font: inherit;
  font-size: 1.2rem;
  font-weight: 700;
}

.ae-a11y__icon-button {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--a11y-line);
  border-radius: 50%;
  background: var(--a11y-soft);
  color: var(--a11y-ink);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.ae-a11y__hint {
  margin: 0;
  padding: .75rem 1.25rem;
  color: var(--a11y-muted);
  font-size: .8rem;
}

.ae-a11y__content {
  min-height: 0;
  overflow-y: auto;
  padding: .25rem 1.25rem .75rem;
  overscroll-behavior: contain;
}

.ae-a11y__view-toggle {
  display: flex;
  justify-content: flex-end;
  gap: .35rem;
  padding: 0 1.25rem .35rem;
}

.ae-a11y__view-toggle button {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .55rem;
  border: 1px solid transparent;
  border-radius: .4rem;
  background: transparent;
  color: var(--a11y-muted);
  font: inherit;
  font-size: .7rem;
  cursor: pointer;
}

.ae-a11y__view-toggle button[aria-pressed="true"] {
  border-color: var(--a11y-line);
  background: var(--a11y-soft);
  color: var(--a11y-ink);
  font-weight: 700;
}

.ae-a11y__icon {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.ae-a11y__view-toggle .ae-a11y__icon {
  width: 1rem;
  height: 1rem;
}

.ae-a11y__accordion {
  margin: .5rem 0;
  border: 1px solid var(--a11y-line);
  border-radius: .65rem;
  background: var(--a11y-surface);
  overflow: hidden;
}

.ae-a11y__accordion > summary {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 3rem;
  padding: .7rem .8rem;
  color: var(--a11y-ink);
  font-size: .8rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.ae-a11y__accordion > summary::-webkit-details-marker {
  display: none;
}

.ae-a11y__accordion > summary > span:first-child {
  flex: 1 1 auto;
}

.ae-a11y__accordion > summary .ae-a11y__icon {
  width: 1rem;
  height: 1rem;
  transition: transform .18s ease;
}

.ae-a11y__accordion[open] > summary .ae-a11y__icon {
  transform: rotate(180deg);
}

.ae-a11y__accordion-count {
  color: var(--a11y-muted);
  font-size: .65rem;
  font-weight: 500;
}

.ae-a11y__cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .45rem;
  padding: 0 .55rem .55rem;
}

.ae-a11y__option,
.ae-a11y__profile {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  min-height: 3.5rem;
  padding: .6rem .7rem;
  border: 1px solid var(--a11y-line);
  border-radius: .5rem;
  background: var(--a11y-surface);
  color: var(--a11y-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.ae-a11y__option:hover,
.ae-a11y__profile:hover {
  border-color: var(--a11y-blue);
}

.ae-a11y__option > .ae-a11y__icon,
.ae-a11y__profile > .ae-a11y__icon {
  width: 1.35rem;
  height: 1.35rem;
  color: #168fa3;
}

.ae-a11y__option-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: .12rem;
  min-width: 0;
}

.ae-a11y__option-title {
  color: var(--a11y-ink);
  font-size: .75rem;
  font-weight: 700;
}

.ae-a11y__option-description {
  color: var(--a11y-muted);
  font-size: .65rem;
  font-weight: 400;
  line-height: 1.35;
}

.ae-a11y__toggle {
  position: relative;
  flex: 0 0 auto;
  width: 2rem;
  height: 1.15rem;
  border: 1px solid #aab6c2;
  border-radius: 999px;
  background: #e9eef2;
  transition: none !important;
}

.ae-a11y__toggle-knob {
  position: absolute;
  top: .1rem;
  left: .1rem;
  width: .85rem;
  height: .85rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
  transition: none !important;
}

.ae-a11y__profile {
  transition: none !important;
}

.ae-a11y__option[aria-pressed="true"] {
  border-color: #168fa3;
  background: #eff9f9;
}

.ae-a11y__profile.is-active {
  border-color: #168fa3;
  background: #eff9f9 !important;
  box-shadow: inset 3px 0 #98d342;
}

.ae-a11y__text-size {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  margin: .5rem 0;
  padding: .6rem .7rem;
  border: 1px solid var(--a11y-line);
  border-radius: .5rem;
  background: var(--a11y-soft);
}

.ae-a11y__text-size legend {
  float: left;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 auto 0 0;
  padding: 0;
  color: var(--a11y-ink);
  font-size: .75rem;
  font-weight: 700;
}

.ae-a11y__text-size button {
  display: grid;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  place-items: center;
  padding: .35rem;
  border: 1px solid var(--a11y-line);
  border-radius: .4rem;
  background: var(--a11y-surface);
  color: var(--a11y-ink);
  cursor: pointer;
}

.ae-a11y__text-size button:disabled {
  border-color: var(--a11y-line);
  background: #e9eef2;
  color: #8793a0;
  cursor: not-allowed;
  opacity: .65;
}

.ae-a11y__text-size output {
  min-width: 2.5rem;
  color: var(--a11y-muted);
  font-size: .7rem;
  text-align: center;
}

.ae-a11y__content[data-view="grid"] .ae-a11y__cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ae-a11y__content[data-view="grid"] .ae-a11y__option,
.ae-a11y__content[data-view="grid"] .ae-a11y__profile {
  align-items: flex-start;
  flex-direction: column;
  gap: .45rem;
  min-height: 7.5rem;
}

.ae-a11y__content[data-view="grid"] .ae-a11y__option-copy,
.ae-a11y__content[data-view="grid"] .ae-a11y__profile .ae-a11y__option-copy {
  flex: 1 1 auto;
}

.ae-a11y__content[data-view="grid"] .ae-a11y__option .ae-a11y__toggle,
.ae-a11y__content[data-view="grid"] .ae-a11y__profile .ae-a11y__toggle {
  position: absolute;
  top: .55rem;
  right: .55rem;
}

.ae-a11y__content[data-view="grid"] .ae-a11y__option,
.ae-a11y__content[data-view="grid"] .ae-a11y__profile {
  position: relative;
}

.ae-a11y__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .8rem 1.25rem;
  border-top: 1px solid var(--a11y-line);
  background: var(--a11y-soft);
}

.ae-a11y__status {
  min-width: 0;
  margin: 0;
  color: var(--a11y-muted);
  font-size: .7rem;
  line-height: 1.4;
}

.ae-a11y__reset {
  flex: 0 0 auto;
  padding: .4rem .65rem;
  border: 1px solid var(--a11y-line);
  border-radius: .4rem;
  background: var(--a11y-surface);
  color: var(--a11y-ink);
  font: inherit;
  font-size: .7rem;
  font-weight: 600;
  cursor: pointer;
}

.ae-a11y :focus-visible {
  outline: 4px solid rgba(59, 130, 246, .8);
  outline-offset: 2px;
}

html :focus-visible {
  outline: 4px solid rgba(59, 130, 246, .8);
  outline-offset: 2px;
}

.ae-a11y__spotlight,
.ae-a11y__guide,
.ae-a11y__magnifier {
  position: fixed;
  display: none;
  pointer-events: none;
}

.ae-a11y__spotlight {
  z-index: 10010;
  border: 2px solid #98d342;
  border-radius: .5rem;
  box-shadow: 0 0 0 9999px rgba(3, 13, 23, .68);
}

.ae-a11y__guide {
  z-index: 10012;
  left: 0;
  width: 100vw;
  height: 3px;
  border-top: 1px solid #0b1622;
  border-bottom: 1px solid #fff;
  background: #98d342;
  box-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

.ae-a11y__magnifier {
  z-index: 10015;
  max-width: min(26rem, calc(100vw - 2rem));
  padding: .8rem 1rem;
  border: 2px solid #98d342;
  border-radius: .6rem;
  background: #0b1622;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.4;
}

html.a11y-text-spacing body :is(p, a, li, button, label, h1, h2, h3, h4, h5, h6, blockquote, td, th, figcaption) {
  letter-spacing: .08em !important;
  word-spacing: .16em !important;
}

html.a11y-line-height body :is(p, li, blockquote, figcaption) {
  line-height: 1.9 !important;
}

html.a11y-highlight-links body a {
  outline: 2px solid #f2c94c !important;
  outline-offset: 2px !important;
  background-color: rgba(242, 201, 76, .22) !important;
  color: #073f69 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
}

html.a11y-large-cursor,
html.a11y-large-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M7 3v29l8-8 6 12 5-2-6-12h11z' fill='white' stroke='%230b1622' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") 7 3, auto !important;
}

html.a11y-pause-animation *,
html.a11y-pause-animation *::before,
html.a11y-pause-animation *::after {
  animation-play-state: paused !important;
  scroll-behavior: auto !important;
  transition-duration: 0s !important;
}

html.a11y-dyslexia-friendly body,
html.a11y-dyslexia-friendly body *:not(i):not(svg):not(path) {
  font-family: Arial, Verdana, sans-serif !important;
}

html.a11y-dyslexia-friendly body :is(p, li, blockquote, figcaption) {
  letter-spacing: .04em !important;
  word-spacing: .12em !important;
  line-height: 1.8 !important;
}

html.a11y-hide-images body :is(img, picture, video, canvas, iframe),
html.a11y-hide-images body [data-bg-image] {
  visibility: hidden !important;
}

html.a11y-monochrome body > :not(.ae-a11y):not(.ae-a11y__spotlight):not(.ae-a11y__guide):not(.ae-a11y__magnifier) {
  filter: grayscale(1) !important;
}

html.a11y-high-saturation body > :not(.ae-a11y):not(.ae-a11y__spotlight):not(.ae-a11y__guide):not(.ae-a11y__magnifier) {
  filter: saturate(1.65) !important;
}

html.a11y-low-saturation body > :not(.ae-a11y):not(.ae-a11y__spotlight):not(.ae-a11y__guide):not(.ae-a11y__magnifier) {
  filter: saturate(.45) !important;
}

html.a11y-invert-colors body > :not(.ae-a11y):not(.ae-a11y__spotlight):not(.ae-a11y__guide):not(.ae-a11y__magnifier) {
  filter: invert(1) hue-rotate(180deg) !important;
}

html.a11y-dark-mode body > :not(.ae-a11y):not(.ae-a11y__spotlight):not(.ae-a11y__guide):not(.ae-a11y__magnifier) {
  filter: invert(1) hue-rotate(180deg) brightness(.88) !important;
}

@media (max-width: 575px) {
  .ae-a11y__launcher {
    right: .75rem;
    bottom: .75rem;
    padding: .7rem .85rem;
  }

  .ae-a11y__panel {
    right: .75rem;
    bottom: 4.5rem;
    width: min(23rem, calc(100vw - 2rem));
    max-height: min(76vh, 42rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ae-a11y__launcher,
  .ae-a11y__option {
    transition: none;
  }
}
