/* EZIPC Accessibility */
.a11y-skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -100px;
  z-index: 10000;
  padding: 10px 16px;
  border-radius: 10px;
  background: #087f6b;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(16, 35, 49, 0.2);
}
.a11y-skip:focus {
  top: 12px;
  outline: 3px solid #102331;
  outline-offset: 2px;
}

.a11y-fab {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 18px;
  z-index: 9990;
  width: 58px;
  height: 58px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #0b57d0;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(11, 87, 208, 0.45), 0 0 0 1px rgba(11, 87, 208, 0.25);
  display: grid;
  place-items: center;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.a11y-fab:hover,
.a11y-fab[aria-expanded="true"] {
  background: #0846ad;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(11, 87, 208, 0.5), 0 0 0 1px rgba(11, 87, 208, 0.3);
}
.a11y-fab:focus-visible {
  outline: 3px solid #102331;
  outline-offset: 3px;
}
.a11y-fab svg {
  width: 32px;
  height: 32px;
  display: block;
}

.a11y-panel {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 84px;
  z-index: 9991;
  width: min(320px, calc(100vw - 28px));
  max-height: min(70vh, 520px);
  overflow: auto;
  padding: 14px;
  border: 1px solid #d9e8e4;
  border-radius: 16px;
  background: #fff;
  color: #102331;
  box-shadow: 0 22px 50px rgba(16, 35, 49, 0.18);
}
.a11y-panel[hidden] {
  display: none !important;
}
.a11y-panel h2 {
  margin: 0 0 4px;
  font-size: 18px;
}
.a11y-panel .a11y-lead {
  margin: 0 0 12px;
  color: #647780;
  font-size: 13px;
  line-height: 1.45;
}
.a11y-grid {
  display: grid;
  gap: 8px;
}
.a11y-grid button {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #d9e8e4;
  border-radius: 10px;
  background: #f5f9f8;
  color: #102331;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  text-align: start;
  cursor: pointer;
}
.a11y-grid button:hover {
  border-color: #087f6b;
  background: #e4f8f1;
}
.a11y-grid button.is-on {
  border-color: #087f6b;
  background: #087f6b;
  color: #fff;
}
.a11y-grid button:focus-visible {
  outline: 3px solid #087f6b;
  outline-offset: 2px;
}
.a11y-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.a11y-actions a,
.a11y-actions button {
  flex: 1 1 auto;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #d9e8e4;
  background: #fff;
  color: #102331;
  font: inherit;
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.a11y-actions .primary {
  background: #087f6b;
  border-color: #087f6b;
  color: #fff;
}

/* Modes */
html.a11y-font-lg { font-size: 112.5%; }
html.a11y-font-xl { font-size: 125%; }
html.a11y-contrast {
  filter: contrast(1.25);
}
html.a11y-contrast body {
  background: #fff !important;
  color: #000 !important;
}
html.a11y-contrast a {
  text-decoration: underline;
}
html.a11y-grayscale {
  filter: grayscale(1);
}
html.a11y-links a {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  font-weight: 800;
}
html.a11y-readable,
html.a11y-readable body,
html.a11y-readable button,
html.a11y-readable input,
html.a11y-readable select,
html.a11y-readable textarea {
  font-family: Arial, "Noto Sans Hebrew", Tahoma, sans-serif !important;
  letter-spacing: 0.02em;
  word-spacing: 0.04em;
  line-height: 1.7 !important;
}
html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
html.a11y-focus-strong :focus-visible {
  outline: 3px solid #087f6b !important;
  outline-offset: 3px !important;
}
html.a11y-big-cursor,
html.a11y-big-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath fill='%23087f6b' stroke='%23fff' stroke-width='2' d='M8 4v36l10-8 6 14 6-3-6-14h14z'/%3E%3C/svg%3E") 4 4, auto !important;
}

/* Statement page */
.a11y-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px clamp(18px, 5vw, 40px) 80px;
  line-height: 1.7;
}
.a11y-page h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.03em;
}
.a11y-page h2 {
  margin: 28px 0 10px;
  font-size: 22px;
}
.a11y-page p,
.a11y-page li {
  color: #33454f;
}
.a11y-page ul {
  padding-inline-start: 22px;
}
.a11y-page .back {
  display: inline-flex;
  margin-bottom: 18px;
  color: #087f6b;
  font-weight: 800;
}
