@import url("../../assets/css/tq-accessibility.css?v=20261031.2");
@import url("./vendor/nds-icons.min.css");
@import url("./vendor/hgi-rounded-stroke-min.css");

@font-face {
  font-family: "OpenDyslexic";
  src: url("./fonts/OpenDyslexic-Regular.woff2") format("woff2");
  font-display: swap;
}

.uja11y-root {
  --uja11y-accent: #1b8354;
  --uja11y-bg: #ffffff;
  --uja11y-surface: #f8faf9;
  --uja11y-text: #161f2d;
  --uja11y-muted: #64748b;
  --uja11y-border: #d8dee7;
  --uja11y-soft: #eaf7f0;
  --uja11y-danger: #b42318;
  --uja11y-z: 10000;
  color: var(--uja11y-text);
  direction: rtl;
  font-family: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.5;
}

.uja11y-root *,
.uja11y-root *::before,
.uja11y-root *::after {
  box-sizing: border-box;
}

.uja11y-root [hidden] {
  display: none !important;
}

body.uja11y-panel-open {
  overflow: hidden;
}

.uja11y-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.uja11y-fab {
  position: fixed;
  inset-block-end: 24px;
  z-index: var(--uja11y-z);
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  place-items: center;
  color: #fff;
  background: var(--uja11y-accent);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .2);
  cursor: pointer;
}

.uja11y-root[data-uja11y-position="start"] .uja11y-fab,
.uja11y-root[data-uja11y-position="right"] .uja11y-fab {
  inset-inline-start: 24px;
}

.uja11y-root[data-uja11y-position="end"] .uja11y-fab,
.uja11y-root[data-uja11y-position="left"] .uja11y-fab {
  inset-inline-end: 24px;
}

.uja11y-fab .nds-icon {
  width: 25px;
  height: 25px;
}

.uja11y-fab:hover {
  filter: brightness(.92);
}



.uja11y-backdrop {
  position: fixed;
  z-index: calc(var(--uja11y-z) - 1);
  inset: 0;
  background: rgba(15, 23, 42, .38);
  backdrop-filter: blur(2px);
}

.uja11y-panel {
  position: fixed;
  z-index: calc(var(--uja11y-z) + 1);
  inset-block: 0;
  display: grid;
  width: min(400px, 100vw);
  grid-template-rows: auto minmax(0, 1fr) auto;
  color: var(--uja11y-text);
  background: var(--uja11y-bg);
  border-inline-start: 1px solid var(--uja11y-border);
  box-shadow: 0 0 34px rgba(15, 23, 42, .2);
  font-size: 15px;
}

.uja11y-root[data-uja11y-position="start"] .uja11y-panel,
.uja11y-root[data-uja11y-position="right"] .uja11y-panel {
  inset-inline-start: 0;
}

.uja11y-root[data-uja11y-position="end"] .uja11y-panel,
.uja11y-root[data-uja11y-position="left"] .uja11y-panel {
  inset-inline-end: 0;
}

.uja11y-header {
  display: grid;
  min-height: 78px;
  padding: 16px 20px;
  grid-template-columns: 42px minmax(0, 1fr) 40px;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--uja11y-border);
}

.uja11y-header h2 {
  min-width: 0;
  margin: 0;
  color: var(--uja11y-text);
  font-size: 20px;
  font-weight: 700;
}

.uja11y-feature {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--uja11y-accent);
  background: var(--uja11y-soft);
  border-radius: 50%;
}

.uja11y-feature .nds-icon {
  width: 22px;
  height: 22px;
}

.uja11y-icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  color: var(--uja11y-text);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
}

.uja11y-icon-button:hover {
  background: var(--uja11y-surface);
  border-color: var(--uja11y-border);
}

.uja11y-icon-button .nds-icon {
  width: 21px;
  height: 21px;
}

.uja11y-body {
  min-height: 0;
  padding: 0 20px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.uja11y-quick {
  display: flex;
  min-height: 64px;
  gap: 6px;
  align-items: center;
  border-bottom: 1px solid var(--uja11y-border);
}

.uja11y-section {
  padding: 4px 0;
  border-bottom: 1px solid var(--uja11y-border);
}

.uja11y-section h3 {
  margin: 0;
}

.uja11y-section h3 > button {
  display: grid;
  width: 100%;
  min-height: 64px;
  padding: 12px 2px;
  grid-template-columns: minmax(0, 1fr) auto 24px;
  gap: 8px;
  align-items: center;
  color: var(--uja11y-text);
  text-align: start;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
}

.uja11y-count {
  padding: 3px 8px;
  color: #067647;
  background: #ecfdf3;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.uja11y-collapse {
  padding: 0 0 16px;
}

.uja11y-switch {
  position: relative;
  display: grid;
  min-height: 66px;
  padding: 10px 2px;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 14px;
  align-items: center;
  cursor: pointer;
}

.uja11y-switch + .uja11y-switch {
  border-top: 1px solid #eef1f4;
}

.uja11y-switch strong,
.uja11y-switch small {
  display: block;
}

.uja11y-switch strong {
  color: var(--uja11y-text);
  font-size: 15px;
}

.uja11y-switch small {
  margin-top: 2px;
  color: var(--uja11y-muted);
  font-size: 12px;
  line-height: 1.45;
}

.uja11y-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.uja11y-switch > i {
  position: relative;
  display: block;
  width: 42px;
  height: 24px;
  background: #e5eaf0;
  border: 1px solid #b8c1ce;
  border-radius: 999px;
  transition: background .18s ease;
}

.uja11y-switch > i::after {
  position: absolute;
  inset-block-start: 3px;
  inset-inline-start: 3px;
  width: 16px;
  height: 16px;
  content: "";
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .28);
  transition: transform .18s ease;
}

.uja11y-switch input:checked + i {
  background: var(--uja11y-accent);
  border-color: var(--uja11y-accent);
}

.uja11y-switch input:checked + i::after {
  transform: translateX(-18px);
}

.uja11y-panel[dir="ltr"] .uja11y-switch input:checked + i::after {
  transform: translateX(18px);
}

.uja11y-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.uja11y-tile {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 94px;
  padding: 12px 8px 18px;
  place-items: center;
  align-content: center;
  gap: 7px;
  color: var(--uja11y-text);
  text-align: center;
  background: var(--uja11y-bg);
  border: 1px solid var(--uja11y-border);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.uja11y-tile:hover {
  background: var(--uja11y-surface);
}

.uja11y-tile[aria-pressed="true"] {
  color: #067647;
  background: var(--uja11y-soft);
  border-color: var(--uja11y-accent);
}

.uja11y-tile > .hgi {
  color: var(--uja11y-accent);
  font-size: 24px;
}

.uja11y-tile b {
  position: absolute;
  inset-inline: 12px;
  inset-block-end: 8px;
  height: 3px;
  background: linear-gradient(to left, var(--uja11y-accent) calc(var(--uja11y-level, 0) * 33.33%), #d9dee5 0);
  border-radius: 999px;
}

.uja11y-hint {
  margin: 0 0 10px;
  color: var(--uja11y-muted);
  font-size: 12px;
}

.uja11y-footer {
  padding: 12px 20px;
  background: var(--uja11y-bg);
  border-top: 1px solid var(--uja11y-border);
}

.uja11y-reset {
  display: inline-flex;
  min-height: 38px;
  padding: 8px 12px;
  gap: 7px;
  align-items: center;
  color: var(--uja11y-text);
  background: var(--uja11y-surface);
  border: 1px solid var(--uja11y-border);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

.uja11y-reset:hover {
  background: #eef1f4;
}

.uja11y-reset[data-confirming] {
  color: var(--uja11y-danger);
  border-color: #fecdca;
  background: #fff5f4;
}

.uja11y-reset .nds-icon {
  width: 17px;
  height: 17px;
}

.uja11y-reading-mask {
  position: fixed;
  z-index: calc(var(--uja11y-z) - 2);
  inset-inline: 0;
  top: calc(var(--uja11y-mask-y, 50vh) - 52px);
  height: 104px;
  pointer-events: none;
  box-shadow: 0 -100vh 0 100vh rgba(0, 0, 0, .62), 0 100vh 0 100vh rgba(0, 0, 0, .62);
}

html[data-uja11y-theme="dark"] {
  color-scheme: dark;
}

html[data-uja11y-theme="dark"] body {
  color: #f4f7fb;
  background: #0f1b2d;
}

html[data-uja11y-theme="dark"] .uja11y-root {
  --uja11y-bg: #111f33;
  --uja11y-surface: #17263b;
  --uja11y-text: #f4f7fb;
  --uja11y-muted: #b6c0d0;
  --uja11y-border: #314158;
  --uja11y-soft: #16392e;
}




html[data-uja11y] .uja11y-root { font-size: 16px; }

html[data-uja11y~="has-line-height"] body :not(.uja11y-root, .uja11y-root *) { line-height: var(--user-line-height) !important; }
html[data-uja11y~="has-letter-spacing"] body :not(.uja11y-root, .uja11y-root *) { letter-spacing: var(--user-letter-spacing) !important; }
html[data-uja11y~="has-word-spacing"] body :not(.uja11y-root, .uja11y-root *) { word-spacing: var(--user-word-spacing) !important; }
html[data-uja11y~="text-align-start"] body :not(.uja11y-root, .uja11y-root *) { text-align: start !important; }
html[data-uja11y~="text-align-end"] body :not(.uja11y-root, .uja11y-root *) { text-align: end !important; }
html[data-uja11y~="text-align-justify"] body :not(.uja11y-root, .uja11y-root *) { text-align: justify !important; }
html[data-uja11y~="dyslexia"] body :not(.uja11y-root, .uja11y-root *) { font-family: "OpenDyslexic", Arial, sans-serif !important; }

html[data-uja11y~="highlight-titles"] :is(h1, h2, h3, h4, h5, h6):not(.uja11y-root *) {
  padding: .12em .2em !important;
  color: #111827 !important;
  background: #fef08a !important;
  outline: 2px solid #ca8a04 !important;
}

html[data-uja11y~="highlight-links"] a:not(.uja11y-root *) {
  color: #004ee8 !important;
  text-decoration: underline !important;
  outline: 2px solid #f5bd02 !important;
  outline-offset: 2px !important;
}

html[data-uja11y~="reduce-motion"] *,
html[data-uja11y~="reduce-motion"] *::before,
html[data-uja11y~="reduce-motion"] *::after {
  scroll-behavior: auto !important;
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
}

html[data-uja11y~="motor-impaired"] :is(a, button, input, select, textarea):not(.uja11y-root *) {
  min-width: 44px !important;
  min-height: 44px !important;
  outline-offset: 4px !important;
}

html[data-uja11y~="boost-contrast"] body > :not(.uja11y-root) { filter: contrast(1.35) !important; }
html[data-uja11y~="monochrome"] body > :not(.uja11y-root) { filter: grayscale(1) !important; }
html[data-uja11y~="high-contrast"] body > :not(.uja11y-root) { filter: contrast(1.65) brightness(.95) !important; }
html[data-uja11y~="high-saturation"] body > :not(.uja11y-root) { filter: saturate(1.8) !important; }
html[data-uja11y~="low-saturation"] body > :not(.uja11y-root) { filter: saturate(.45) !important; }
html[data-uja11y~="cvd-deutan"] body > :not(.uja11y-root) { filter: hue-rotate(32deg) saturate(.8) !important; }

@media (max-width: 520px) {
  .uja11y-fab {
    inset-block-end: 16px;
    width: 48px;
    height: 48px;
  }

  .uja11y-root[data-uja11y-position="start"] .uja11y-fab,
  .uja11y-root[data-uja11y-position="right"] .uja11y-fab { inset-inline-start: 16px; }
  .uja11y-root[data-uja11y-position="end"] .uja11y-fab,
  .uja11y-root[data-uja11y-position="left"] .uja11y-fab { inset-inline-end: 16px; }

  .uja11y-header {
    min-height: 70px;
    padding: 12px 16px;
  }

  .uja11y-body,
  .uja11y-footer {
    padding-inline: 16px;
  }

  .uja11y-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .uja11y-tile {
    min-height: 88px;
    padding-inline: 5px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uja11y-root *,
  .uja11y-root *::before,
  .uja11y-root *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
