#a11y-toggle {
  position: fixed !important;
  bottom: 20px !important;
  left: 20px !important;
  z-index: 1000000 !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 0 !important;
  background: #181818 !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  border: 3px solid #225d85 !important;
  transition: all 0.3s ease !important;
  font-family: 'Roboto', 'Arial', sans-serif !important;
}

#a11y-toggle:hover {
  background: #181818 !important;
  transform: scale(1.05) !important;
  border-color: #ffffff !important;
}

#a11y-toggle:focus {
  outline: 3px solid #ffffff !important;
  outline-offset: 2px !important;
}

#a11y-toggle svg {
  width: 28px !important;
  height: 28px !important;
}

#a11y-panel {
  position: fixed !important;
  top: 150px !important;
  bottom: 90px !important;
  left: 20px !important;
  z-index: 1000001 !important;
  width: 380px !important;
  max-width: calc(100vw - 40px) !important;
  height: auto !important;
  background: #043144 !important;
  color: #fff !important;
  padding: 20px !important;
  border-radius: 0 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  overflow-y: auto !important;
  display: none !important;
  font-family: 'Roboto', 'Arial', sans-serif !important;
}

#a11y-panel[aria-hidden="false"] {
  display: block !important;
}

#a11y-panel h4 {
  margin: 0 0 10px 0 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #fff !important;
  border-bottom: 3px solid #ffb81c !important;
  padding-bottom: 8px !important;
  text-align: left !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.a11y-section {
  margin-bottom: 16px !important;
  text-align: left !important;
}

.a11y-section strong {
  display: block !important;
  margin-bottom: 8px !important;
  font-size: 14px !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-align: left !important;
}

.a11y-row {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
}

.a11y-row button {
  padding: 10px 14px !important;
  border-radius: 0 !important;
  border: 2px solid #061c31 !important;
  background: #061c31 !important;
  color: #fff !important;
  cursor: pointer !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
  min-width: auto !important;
  text-align: center !important;
  flex: 1 1 auto !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-family: 'Roboto', 'Arial', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
}

.a11y-row button:hover {
  background: #0d4e73 !important;
  border-color: #0d4e73 !important;
}

.a11y-row button:focus {
  outline: 3px solid #ffffff !important;
  outline-offset: 2px !important;
}

.a11y-row button[aria-pressed="true"] {
  background: #fbd500 !important;
  color: #1e3a5f !important;
  border-color: #fbd400 !important;
  font-weight: 700 !important;
}

#a11y-reset {
  margin-top: 20px !important;
  display: block !important;
  width: 100% !important;
  padding: 12px !important;
  border-radius: 0 !important;
  background: #d9534f !important;
  color: #fff !important;
  border: 2px solid #c9302c !important;
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  transition: background 0.2s ease !important;
  text-align: center !important;
  font-family: 'Roboto', 'Arial', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

#a11y-reset:hover {
  background: #c9302c !important;
}

#a11y-reset:focus {
  outline: 3px solid #ffb81c !important;
  outline-offset: 2px !important;
}

html.a11y-high-contrast,
html.a11y-high-contrast body {
  filter: invert(1) hue-rotate(180deg) !important;
}

html.a11y-high-contrast img,
html.a11y-high-contrast video,
html.a11y-high-contrast picture {
  filter: invert(1) hue-rotate(180deg) !important;
}

html.a11y-font-large body {
  zoom: 110% !important;
}

html.a11y-font-larger body {
  zoom: 125% !important;
}

html.a11y-font-largest body {
  zoom: 150% !important;
}

html.a11y-font-large #a11y-toggle,
html.a11y-font-large #a11y-panel,
html.a11y-font-larger #a11y-toggle,
html.a11y-font-larger #a11y-panel,
html.a11y-font-largest #a11y-toggle,
html.a11y-font-largest #a11y-panel {
  zoom: 1 !important;
}

html.a11y-text-spacing-medium * {
  letter-spacing: 0.08em !important;
  word-spacing: 0.12em !important;
}

html.a11y-text-spacing-large * {
  letter-spacing: 0.12em !important;
  word-spacing: 0.16em !important;
}

html.a11y-text-spacing-xlarge * {
  letter-spacing: 0.16em !important;
  word-spacing: 0.20em !important;
}

html.a11y-line-increased * {
  line-height: 1.8 !important;
}

html.a11y-line-large * {
  line-height: 2.2 !important;
}

html.a11y-hide-images img,
html.a11y-hide-images picture,
html.a11y-hide-images figure,
html.a11y-hide-images video {
  display: none !important;
}

html.a11y-highlight-links a {
  text-decoration: underline !important;
  text-decoration-thickness: 3px !important;
  text-decoration-color: #ffb81c !important;
  font-weight: 700 !important;
  padding: 2px 4px !important;
  background-color: rgba(255, 184, 28, 0.2) !important;
  border-left: 4px solid #ffb81c !important;
}

html.a11y-highlight-links a:hover {
  background-color: rgba(255, 184, 28, 0.4) !important;
}

html.a11y-dyslexia * {
  font-family: 'Arial', 'Helvetica', sans-serif !important;
  letter-spacing: 0.05em !important;
}

html.a11y-large-cursor,
html.a11y-large-cursor * {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'><path d='M4 4 L4 36 L14 26 L20 42 L26 40 L20 24 L32 24 Z' fill='%23ffffff' stroke='%23000000' stroke-width='2'/></svg>") 4 4, auto !important;
}

html.a11y-large-cursor button,
html.a11y-large-cursor a,
html.a11y-large-cursor [role="button"] {
cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'><path d='M22 6 L22 30 L26 30 L16 42 L6 30 L10 30 L10 6 Z' fill='%23ffffff' stroke='%23000000' stroke-width='2'/><circle cx='16' cy='42' r='3' fill='%23ffb81c'/></svg>") 16 42, pointer !important;
}

html.a11y-sat-low {
  filter: saturate(0.6) !important;
}

html.a11y-sat-normal {
  filter: saturate(1) !important;
}

html.a11y-sat-high {
  filter: saturate(1.4) !important;
}

html.a11y-sat-none {
  filter: grayscale(100%) !important;
}

@media (max-width: 768px) {
  #a11y-toggle {
    bottom: 25px !important;
    left: 25px !important;
    width: 52px !important;
    height: 52px !important;
  }
  
  #a11y-panel {
    top: 100px !important;
    bottom: 95px !important;
    left: 25px !important;
    right: 25px !important;
    width: auto !important;
    max-width: calc(100vw - 50px) !important;
    height: auto !important;
    padding: 16px !important;
  }
  
  .a11y-row button {
    padding: 8px 10px !important;
    font-size: 11px !important;
    flex: 1 1 calc(25% - 6px) !important;
  }
}

@media (max-width: 576px) {
  #a11y-toggle {
    bottom: 20px !important;
    left: 15px !important;
    width: 48px !important;
    height: 48px !important;
  }
  
  #a11y-panel {
    top: 80px !important;
    bottom: 85px !important;
    left: 15px !important;
    right: 15px !important;
    max-width: calc(100vw - 30px) !important;
    height: auto !important;
    padding: 14px !important;
  }
  
  .a11y-row button {
    padding: 7px 9px !important;
    font-size: 10px !important;
  }
}

#a11y-panel {
    scrollbar-width: thin;
    scrollbar-color: #555555 #222222;
}

#a11y-panel::-webkit-scrollbar {
    width: 12px !important;
}

#a11y-panel::-webkit-scrollbar-track {
    background: #222222 !important;
    border-radius: 0 !important;
}

#a11y-panel::-webkit-scrollbar-thumb {
    background: #555555 !important;
    border-radius: 0 !important;
    border: 2px solid #222222 !important;
}

#a11y-panel::-webkit-scrollbar-thumb:hover {
    background: #666666 !important;
}

html.a11y-high-contrast #a11y-panel::-webkit-scrollbar-track {
    background: #000000 !important;
}

html.a11y-high-contrast #a11y-panel::-webkit-scrollbar-thumb {
    background: #333333 !important;
    border: 2px solid #000000 !important;
}

html.a11y-high-contrast #a11y-panel::-webkit-scrollbar-thumb:hover {
    background: #444444 !important;
}

html.a11y-high-contrast #a11y-panel {
    scrollbar-color: #333333 #000000;
}