/* Generated by Access-Dealer/design-system from a11y/. Do not edit by hand; edit the source and re-copy. */
/* Access Dealer accessibility menu. Pairs with a11y-menu.js. */

/* ---------- panel ---------- */
#ad-a11y,
#ad-a11y * {
  box-sizing: border-box;
}
#ad-a11y {
  position: fixed;
  bottom: 16px;
  z-index: 2147483000;
  font: 15px/1.4 ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  letter-spacing: normal;
  word-spacing: normal;
  text-align: start;
}
#ad-a11y.ad-a11y--bottom-left {
  left: 16px;
}
#ad-a11y.ad-a11y--bottom-right {
  right: 16px;
}
#ad-a11y button {
  font: inherit;
  margin: 0;
  cursor: pointer;
}
#ad-a11y .ad-a11y-toggle {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #0b5f6d;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
#ad-a11y .ad-a11y-toggle:hover {
  background: #084a55;
}
#ad-a11y .ad-a11y-panel {
  position: absolute;
  bottom: 64px;
  width: 300px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding: 14px;
  border: 1px solid var(--border-strong, #c8d2df);
  border-radius: 14px;
  background: var(--surface, #ffffff);
  color: var(--text, #101826);
  box-shadow: 0 18px 60px rgba(16, 24, 38, 0.25);
}
#ad-a11y.ad-a11y--bottom-left .ad-a11y-panel {
  left: 0;
}
#ad-a11y.ad-a11y--bottom-right .ad-a11y-panel {
  right: 0;
}
#ad-a11y .ad-a11y-panel[hidden] {
  display: none;
}
#ad-a11y .ad-a11y-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
#ad-a11y .ad-a11y-title {
  font-size: 17px;
  font-weight: 700;
}
#ad-a11y .ad-a11y-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-strong, #c8d2df);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 22px;
  line-height: 1;
}
#ad-a11y .ad-a11y-label {
  display: block;
  margin: 4px 0 6px;
  font-weight: 600;
}
#ad-a11y .ad-a11y-sizes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
#ad-a11y .ad-a11y-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
#ad-a11y .ad-a11y-size,
#ad-a11y .ad-a11y-option,
#ad-a11y .ad-a11y-reset {
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--border-strong, #c8d2df);
  border-radius: 8px;
  background: var(--surface-2, #f6f8fb);
  color: var(--text, #101826);
  text-align: center;
}
#ad-a11y [aria-pressed='true'] {
  border-color: #0b5f6d;
  background: #0b5f6d;
  color: #ffffff;
  font-weight: 700;
}
#ad-a11y .ad-a11y-foot {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
#ad-a11y .ad-a11y-statement {
  color: inherit;
  text-align: center;
  text-decoration: underline;
}
#ad-a11y button:focus-visible,
#ad-a11y a:focus-visible {
  outline: 3px solid #ffbf00;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #000000;
}
@media (prefers-reduced-motion: no-preference) {
  #ad-a11y .ad-a11y-toggle {
    transition: background-color 0.15s;
  }
}
@media print {
  #ad-a11y {
    display: none;
  }
}

/* ---------- text size (needs rem/% based type on the page) ---------- */
html.a11y-text-125 {
  font-size: 125% !important;
}
html.a11y-text-150 {
  font-size: 150% !important;
}
html.a11y-text-200 {
  font-size: 200% !important;
}

/* ---------- high contrast: black / white / yellow, at least 7:1 ---------- */
html.a11y-contrast {
  --bg: #000000;
  --surface: #000000;
  --surface-2: #000000;
  --raise: #000000;
  --border: #ffffff;
  --border-strong: #ffffff;
  --text: #ffffff;
  --text-2: #ffffff;
  --muted: #ffffff;
  --primary: #ffff00;
  --primary-hover: #ffff66;
  --primary-ink: #000000;
  --secondary: #ffff00;
  --crit: #ff8080;
  --warn: #ffd166;
  --good: #7dffb0;
  --info: #9cd2ff;
  --crit-bg: #000000;
  --warn-bg: #000000;
  --good-bg: #000000;
  --info-bg: #000000;
  --inverse-bg: #000000;
  --inverse-surface: #000000;
  --inverse-raise: #000000;
  --inverse-raise-2: #000000;
  --inverse-border: #ffffff;
  --inverse-border-strong: #ffffff;
  --inverse-text: #ffffff;
  --inverse-text-2: #ffffff;
  --inverse-primary: #ffff00;
  color-scheme: dark;
  background: #000000 !important;
}
html.a11y-contrast body,
html.a11y-contrast body *:not(#ad-a11y):not(#ad-a11y *) {
  background-color: #000000 !important;
  background-image: none !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
html.a11y-contrast body a[href]:not(#ad-a11y):not(#ad-a11y *),
html.a11y-contrast body a[href] *:not(#ad-a11y):not(#ad-a11y *),
html.a11y-contrast body button:not(#ad-a11y):not(#ad-a11y *),
html.a11y-contrast body [role='button']:not(#ad-a11y):not(#ad-a11y *) {
  color: #ffff00 !important;
}
html.a11y-contrast body button:not(#ad-a11y):not(#ad-a11y *),
html.a11y-contrast body input:not(#ad-a11y):not(#ad-a11y *),
html.a11y-contrast body select:not(#ad-a11y):not(#ad-a11y *),
html.a11y-contrast body textarea:not(#ad-a11y):not(#ad-a11y *) {
  border: 1px solid #ffffff !important;
}
html.a11y-contrast body ::placeholder {
  color: #d0d0d0 !important;
  opacity: 1 !important;
}
html.a11y-contrast #ad-a11y .ad-a11y-panel {
  background: #000000;
  color: #ffffff;
  border-color: #ffffff;
}
html.a11y-contrast #ad-a11y .ad-a11y-size,
html.a11y-contrast #ad-a11y .ad-a11y-option,
html.a11y-contrast #ad-a11y .ad-a11y-reset,
html.a11y-contrast #ad-a11y .ad-a11y-close {
  background: #000000;
  color: #ffffff;
  border-color: #ffffff;
}
html.a11y-contrast #ad-a11y [aria-pressed='true'] {
  background: #ffff00;
  color: #000000;
  border-color: #ffff00;
}

/* ---------- monochrome (on the root, so fixed-position elements keep working) ---------- */
html.a11y-mono {
  filter: grayscale(1);
}

/* ---------- highlight links ---------- */
html.a11y-links a[href]:not(#ad-a11y *) {
  text-decoration: underline !important;
  text-underline-offset: 0.15em;
  outline: 2px solid currentColor !important;
  outline-offset: 2px;
}

/* ---------- readable font ---------- */
html.a11y-font body,
html.a11y-font body *:not(code):not(pre):not(kbd):not(samp):not(svg):not(svg *) {
  font-family: Arial, Helvetica, 'Segoe UI', ui-sans-serif, sans-serif !important;
}

/* ---------- text spacing (WCAG 1.4.12) ---------- */
html.a11y-spacing body *:not(#ad-a11y):not(#ad-a11y *) {
  line-height: 1.5 !important;
  letter-spacing: 0.12em !important;
  word-spacing: 0.16em !important;
}
html.a11y-spacing body p:not(#ad-a11y *) {
  margin-bottom: 2em !important;
}

/* ---------- stop animations ---------- */
html.a11y-still,
html.a11y-still *,
html.a11y-still *::before,
html.a11y-still *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

/* ---------- big cursor ---------- */
html.a11y-cursor,
html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 10.5-6.6 1.3L16.5 21l-2.9 1.4-4-7.3L4 19.5z' fill='%23000' stroke='%23fff' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E")
      8 4,
    auto !important;
}

/* ---------- strong focus ---------- */
html.a11y-focus *:focus {
  outline: 4px solid #ffbf00 !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 2px #000000 !important;
}
