:root {
  --sqa11y-panel-bg: #FFFFFF;
  --sqa11y-panel-text: #2F2F2F;
  --sqa11y-focus: #A8D432;
}

.sqa11y-launcher {
  position: fixed;
  z-index: 52;
  left: 18px;
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid #009B8F;
  border-radius: 50%;
  color: #009B8F;
  background: #242424;
  box-shadow: 0 12px 34px rgba(0,0,0,0.34);
  font: 800 18px/1 Arial, sans-serif;
  cursor: pointer;
}

.sqa11y-launcher svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sqa11y-launcher:hover {
  background: #252525;
}

.sqa11y-launcher:focus-visible,
.sqa11y-panel button:focus-visible {
  outline: 3px solid var(--sqa11y-focus);
  outline-offset: 3px;
}

.sqa11y-panel {
  position: fixed;
  z-index: 53;
  left: 18px;
  bottom: max(82px, calc(env(safe-area-inset-bottom) + 72px));
  width: min(320px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid rgba(21,21,21,0.22);
  border-radius: 18px;
  color: var(--sqa11y-panel-text);
  background: var(--sqa11y-panel-bg);
  box-shadow: 0 20px 58px rgba(0,0,0,0.3);
  font-family: Arial, sans-serif;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.sqa11y-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sqa11y-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sqa11y-panel h2 {
  margin: 0;
  color: #2F2F2F;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

.sqa11y-close {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: #2F2F2F;
  background: #F2F2F2;
  font-size: 21px;
  cursor: pointer;
}

.sqa11y-group {
  margin: 0 0 13px;
  padding: 0;
  border: 0;
}

.sqa11y-group legend {
  margin-bottom: 7px;
  color: #505050;
  font-size: 12px;
  font-weight: 700;
}

.sqa11y-size-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.sqa11y-panel button[data-size],
.sqa11y-toggle,
.sqa11y-reset {
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid #C5C5C5;
  border-radius: 10px;
  color: #2F2F2F;
  background: #F6F6F6;
  font-weight: 700;
  cursor: pointer;
}

.sqa11y-panel button[aria-pressed="true"] {
  border-color: #646464;
  color: #FFFFFF;
  background: #646464;
}

.sqa11y-toggle,
.sqa11y-reset {
  width: 100%;
  margin-top: 7px;
  text-align: left;
}

.sqa11y-reset {
  border-color: #A8A8A8;
  background: #F5F5F5;
  text-align: center;
}

html.sqa11y-font-115 body {
  zoom: 1.15;
}

html.sqa11y-font-130 body {
  zoom: 1.3;
}

html.sqa11y-contrast {
  --ink: #000000;
  --muted: #303030;
  --cyan: #B8B8B8;
  --orange: #B5B5B5;
  --sqai-dark: #000000;
  --sqai-panel: #101010;
  --sqai-white: #FFFFFF;
  --sqai-muted: #E2E2E2;
  filter: contrast(1.22);
}

html.sqa11y-links a:not(.logo),
html.sqa11y-links button[data-open] {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
}

html.sqa11y-reduced-motion {
  scroll-behavior: auto;
}

html.sqa11y-reduced-motion *,
html.sqa11y-reduced-motion *::before,
html.sqa11y-reduced-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: 0.01ms !important;
}

@media (max-width: 700px) {
  .sqa11y-launcher {
    left: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 50px;
    height: 50px;
  }

  .sqa11y-panel {
    left: 12px;
    bottom: max(72px, calc(env(safe-area-inset-bottom) + 62px));
    width: min(320px, calc(100vw - 24px));
  }
}

@supports not (zoom: 1.15) {
  html.sqa11y-font-115 {
    font-size: 115%;
  }

  html.sqa11y-font-130 {
    font-size: 130%;
  }
}


/* ENIQARO v7 – Floating Accessibility */
.sqa11y-launcher{
  width:58px!important;
  height:58px!important;
  border:2px solid rgba(255,255,255,.72)!important;
  border-radius:50%!important;
  background:#A8D432!important;
  color:#242424!important;
  box-shadow:0 10px 28px rgba(0,0,0,.28)!important;
  transition:transform .2s ease,box-shadow .2s ease!important;
}
.sqa11y-launcher svg{
  width:30px!important;
  height:30px!important;
  stroke-width:3.2!important;
}
.sqa11y-launcher:hover,
.sqa11y-launcher:focus-visible{
  background:#B6DE43!important;
  transform:translateY(-3px)!important;
  box-shadow:0 14px 32px rgba(0,0,0,.34)!important;
}
@media(max-width:700px){
  .sqa11y-launcher{width:54px!important;height:54px!important}
  .sqa11y-launcher svg{width:28px!important;height:28px!important}
}
