@font-face {
  font-family: "Rawline";
  src: url("./fonts/Rawline-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Rawline";
  src: url("./fonts/Rawline-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Rawline";
  src: url("./fonts/Rawline-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "OpenDyslexic";
  src: url("./fonts/OpenDyslexic-Regular.otf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: "OpenDyslexic";
  src: url("./fonts/OpenDyslexic-Bold.otf") format("opentype");
  font-weight: 700;
}

:root {
  --a11y-blue: #002364;
  --a11y-pink: #d70064;
  --a11y-dark: #454e4f;
  --a11y-card: #f4f3f3;
}

/* ---- Botão flutuante ---- */
#a11y-floating-button {
  position: fixed;
  right: 0;
  top: 138px;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 8px;
  background: var(--a11y-blue);
  box-shadow: 0 8px 24px rgba(0, 35, 100, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

#a11y-floating-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 35, 100, 0.34);
}

#a11y-floating-button:active {
  transform: translateY(0);
}

#a11y-floating-button:focus-visible {
  outline: 3px solid var(--a11y-pink);
  outline-offset: 4px;
}

#a11y-floating-button img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

/* ---- Botão flutuante recolhido (aba lateral) ---- */
#a11y-floating-button.a11y-floating-button--collapsed {
  width: 16px;
  height: 52px;
  border-radius: 8px 0 0 8px;
  box-shadow: -2px 4px 12px rgba(0, 35, 100, 0.28);
}

#a11y-floating-button.a11y-floating-button--collapsed img {
  display: none;
}

#a11y-floating-button.a11y-floating-button--collapsed::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 7px solid #ffffff;
}

/* ---- Painel ---- */
#a11y-panel {
  position: fixed;
  isolation: isolate;
  top: 10px;
  right: 10px;
  width: 376px;
  height: calc(100vh - 20px);
  color: var(--a11y-dark);
  z-index: 2147483647;
  transform: translateX(100%);
  border-radius: 40px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 35, 100, 0.35);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.16),
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.1);
  transition:
    transform 280ms ease,
    opacity 280ms ease,
    visibility 280ms ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-sizing: border-box;
}

#a11y-panel * {
  box-sizing: border-box;
}

#a11y-panel.a11y-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Container interno com scroll */
.a11y-panel-inner {
  padding: 0 16px;
  overflow-y: auto;
  height: 100%;
}

.a11y-panel-inner::-webkit-scrollbar {
  width: 2px;
}
.a11y-panel-inner::-webkit-scrollbar-track {
  background: transparent;
  margin: 40px;
}
.a11y-panel-inner::-webkit-scrollbar-thumb {
  background: var(--a11y-blue);
  border-radius: 999px;
}

/* ---- Header (card sticky) ---- */
.a11y-header {
  position: sticky;
  top: 0;
  z-index: 10;
  margin-bottom: 12px;
  padding: 12px 25px;
  background: transparent;
  border-radius: 999px;
  border: 1px solid transparent;
  box-shadow: none;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    top 200ms ease;
}

.a11y-header.a11y-header--scrolled {
  top: 8px;
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.1),
    0 1px 4px rgba(0, 0, 0, 0.06);
}

.a11y-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.a11y-logo img {
  width: 100px;
  height: auto;
  display: block;
}

.a11y-close {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(calc(-50% + 2px));
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border: 0;
  background: url("https://static.cnpbrasil.com.br/csh-access/assets/icons/close-button.svg")
    center / contain no-repeat;
  color: transparent;
  font-size: 0;
  display: block;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.a11y-close:hover {
  filter: brightness(0.96);
}

.a11y-close:focus-visible {
  outline: 2px solid var(--a11y-blue);
  outline-offset: 3px;
}

/* ---- Seletor de idioma ---- */
.a11y-language {
  position: relative;
  margin: 8px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.a11y-language-trigger {
  width: auto;
  border: 0;
  background: transparent;
  padding: 0 16px 0 0;
  display: inline-flex;
  align-items: center;
  color: var(--a11y-dark);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.a11y-language-trigger:focus-visible {
  outline: 2px solid var(--a11y-blue);
  outline-offset: 0;
}

.a11y-language.a11y-language-open .a11y-language-trigger {
  outline: none;
}

.a11y-language-arrow {
  position: absolute;
  right: 1px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--a11y-blue);
  border-bottom: 1.5px solid var(--a11y-blue);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 180ms ease;
}

.a11y-language.a11y-language-open .a11y-language-arrow {
  transform: translateY(-35%) rotate(225deg);
}

.a11y-language-list {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 180px;
  border: 1px solid #aebfc5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  z-index: 3;
}

.a11y-language.a11y-language-open .a11y-language-list {
  display: block;
}

.a11y-language-option {
  width: 100%;
  min-height: 34px;
  border: 0;
  background: #ffffff;
  color: var(--a11y-blue);
  font-size: 12px;
  line-height: 1.2;
  text-align: left;
  padding: 0 34px 0 12px;
  display: flex;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid #e2e2e2;
  position: relative;
}

.a11y-language-option:last-child {
  border-bottom: 0;
}

.a11y-language-option:hover,
.a11y-language-option:focus-visible {
  background: var(--a11y-card);
  outline: none;
}

.a11y-language-option[aria-selected="true"]::after {
  content: "✓";
  position: absolute;
  right: 16px;
  color: var(--a11y-pink);
  font-size: 18px;
  line-height: 1;
}

/* ---- Recolher botão flutuante ---- */
.a11y-collapse-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.a11y-collapse-toggle-label {
  color: var(--a11y-dark);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;
}

.a11y-collapse-switch {
  position: relative;
  width: 34px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c7cdd1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 180ms ease;
}

.a11y-collapse-switch[aria-checked="true"] {
  background: var(--a11y-blue);
}

.a11y-collapse-switch-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 180ms ease;
}

.a11y-collapse-switch[aria-checked="true"] .a11y-collapse-switch-knob {
  transform: translateX(16px);
}

.a11y-collapse-switch:focus-visible {
  outline: 2px solid var(--a11y-pink);
  outline-offset: 2px;
}

/* ---- Seções ---- */
.a11y-section {
  padding: 18px 0 20px;
  border-bottom: 1px solid #e2e2e2;
}

.a11y-section:last-of-type {
  border-bottom: none;
}

.a11y-section-header {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.a11y-section-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.a11y-section-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--a11y-dark);
}

.a11y-section-description {
  display: none !important;
}

/* ---- Cards ---- */
.a11y-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.a11y-card {
  height: 90px;
  min-height: 90px;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(69, 78, 79, 0.12);
  border-radius: 8px;
  background: #eef2ff;
  color: var(--a11y-blue);
  padding: 0 10px;
  position: relative;
  display: block;
  cursor: pointer;
  user-select: none;
  font-family: inherit;
  transition: border-color 150ms ease;
}

.a11y-card:hover {
  border-color: var(--a11y-dark);
}

.a11y-card.a11y-card-active {
  background: #ffffff;
  border: 1px solid #d70064;
}

.a11y-card.a11y-card-active .a11y-card-label {
  color: var(--a11y-pink);
}

.a11y-card:focus-visible {
  outline: 3px solid var(--a11y-pink);
  outline-offset: 2px;
}

.a11y-card-label {
  position: absolute;
  inset: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 2;
  font-weight: 500;
  text-align: center;
  color: var(--a11y-blue);
  max-width: calc(100% - 16px);
  margin: auto;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  pointer-events: none;
}

/* Indicadores de estado */
.a11y-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 3px;
  opacity: 0;
  pointer-events: none;
}

.a11y-card.a11y-card-active .a11y-dots {
  opacity: 1;
}

.a11y-dot {
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: rgba(0, 35, 100, 0.22);
}

.a11y-dot.a11y-active {
  background: var(--a11y-blue);
}

.a11y-check-indicator {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  display: flex;
  height: 8px;
  align-items: center;
  justify-content: center;
  color: var(--a11y-blue);
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
}

.a11y-card.a11y-card-active .a11y-check-indicator {
  opacity: 1;
}

.a11y-card-state {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  text-align: center;
  color: var(--a11y-blue);
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.a11y-card-arrow {
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  color: var(--a11y-blue);
  font-size: 16px;
  font-weight: 700;
  pointer-events: none;
}

.a11y-card[data-levels="2"] .a11y-dots {
  display: none !important;
}
.a11y-card[data-levels="2"].a11y-card-active .a11y-check-indicator::before {
  content: "✓";
}
.a11y-card[data-levels="1"] .a11y-dots,
.a11y-card[data-levels="1"] .a11y-check-indicator {
  display: none !important;
}
.a11y-card[data-option="colorBlind"] .a11y-dots,
.a11y-card[data-option="colorBlind"] .a11y-check-indicator,
.a11y-card[data-option="colorBlind"] .a11y-card-arrow {
  display: none !important;
}

/* ---- Botão redefinir (card sticky na base) ---- */
.a11y-reset-wrapper {
  position: sticky;
  bottom: 4px;
  z-index: 10;
  text-align: center;
}

.a11y-reset {
  display: inline-block;
  padding: 10px 20px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid var(--a11y-blue);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.1),
    0 1px 4px rgba(0, 0, 0, 0.06);
  color: var(--a11y-blue);
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.a11y-reset:hover {
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.2),
    0 1px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
  opacity: 0.9;
}

.a11y-reset:focus-visible {
  outline: 2px solid var(--a11y-pink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Rodapé (identidade visual) ---- */
.a11y-footer {
  margin-top: 32px;
  margin-bottom: 24px;
  text-align: center;
}

.a11y-footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.a11y-footer-icon {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
}

.a11y-footer-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--a11y-blue);
}

.a11y-footer-desc {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--a11y-pink);
}

/* ---- Elementos de leitura ---- */
#a11y-reading-guide {
  position: fixed;
  left: 0;
  width: 100vw;
  height: 4px;
  background: var(--a11y-pink);
  pointer-events: none;
  z-index: 2147483645;
  display: none;
  box-shadow: 0 0 0 2px rgba(215, 0, 100, 0.16);
}

#a11y-reading-mask-top,
#a11y-reading-mask-bottom {
  position: fixed;
  left: 0;
  width: 100vw;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
  z-index: 2147483644;
  display: none;
}

/* ---- Subview (estrutura da página) ---- */
.a11y-subview {
  padding: 4px 0 20px;
}

.a11y-back-button {
  border: 0;
  background: transparent;
  color: var(--a11y-blue);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 0;
  cursor: pointer;
}

.a11y-subview-title {
  margin: 12px 0 14px;
  font-size: 16px;
  color: var(--a11y-dark);
}

.a11y-heading-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.a11y-heading-item {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 4px 0;
  min-height: 28px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.a11y-heading-level {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border: 1px solid rgba(215, 0, 100, 0.45);
  border-radius: 6px;
  color: var(--a11y-pink);
  background: #fff;
  font-size: 11px;
  font-weight: 700;
}

.a11y-heading-text {
  color: var(--a11y-blue);
  font-size: 13px;
  font-weight: 700;
}

.a11y-empty-message {
  margin: 0;
  color: var(--a11y-dark);
  font-size: 13px;
}

.a11y-structure-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.a11y-structure-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: 42px;
  padding-left: 12px;
  border-left: 2px solid rgba(215, 0, 100, 0.18);
}

.a11y-structure-link {
  width: 100%;
  border: 0;
  border-radius: 6px;
  background: #ffffff;
  color: var(--a11y-blue);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  padding: 8px 10px;
  cursor: pointer;
}

.a11y-structure-link:hover,
.a11y-structure-link:focus-visible {
  outline: 2px solid var(--a11y-pink);
  outline-offset: 1px;
}

/* ---- Efeitos aplicados à página ----
   Filtros aplicados nos filhos do body, nunca no body diretamente.
   Filter no body cria containing block e quebra position: fixed do painel. */
html.a11y-text-1 {
  font-size: 125% !important;
}
html.a11y-text-2 {
  font-size: 150% !important;
}
html.a11y-text-3 {
  font-size: 175% !important;
}

html.a11y-spacing-1 body *:not(#a11y-panel):not(#a11y-panel *) {
  letter-spacing: 0.04em !important;
}
html.a11y-spacing-2 body *:not(#a11y-panel):not(#a11y-panel *) {
  letter-spacing: 0.08em !important;
}

html.a11y-line-1 body *:not(#a11y-panel):not(#a11y-panel *) {
  line-height: 1.65 !important;
}
html.a11y-line-2 body *:not(#a11y-panel):not(#a11y-panel *) {
  line-height: 1.9 !important;
}

html.a11y-bold body *:not(#a11y-panel):not(#a11y-panel *) {
  font-weight: 700 !important;
}

html.a11y-readable-font body *:not(#a11y-panel):not(#a11y-panel *) {
  font-family: Arial, Helvetica, sans-serif !important;
}
html.a11y-serif-font body *:not(#a11y-panel):not(#a11y-panel *) {
  font-family: Georgia, "Times New Roman", serif !important;
}
html.a11y-dyslexia-font body *:not(#a11y-panel):not(#a11y-panel *) {
  font-family: "OpenDyslexic", sans-serif !important;
}

html.a11y-highlight-text body p:not(#a11y-panel p),
html.a11y-highlight-text body li:not(#a11y-panel li),
html.a11y-highlight-text body span:not(#a11y-panel span),
html.a11y-highlight-text body label:not(#a11y-panel label) {
  text-decoration: underline !important;
  text-decoration-color: #d70064 !important;
  text-decoration-thickness: 3px !important;
  text-underline-offset: 4px !important;
}

html.a11y-highlight-titles body h1:not(#a11y-panel h1),
html.a11y-highlight-titles body h2:not(#a11y-panel h2),
html.a11y-highlight-titles body h3:not(#a11y-panel h3),
html.a11y-highlight-titles body h4:not(#a11y-panel h4),
html.a11y-highlight-titles body h5:not(#a11y-panel h5),
html.a11y-highlight-titles body h6:not(#a11y-panel h6) {
  text-decoration: underline !important;
  text-decoration-color: #d70064 !important;
  text-decoration-thickness: 3px !important;
  text-underline-offset: 6px !important;
}

html.a11y-highlight-links a:not(#a11y-panel a),
html.a11y-highlight-links [role="link"]:not(#a11y-panel [role="link"]),
html.a11y-highlight-links [role="tab"]:not(#a11y-panel [role="tab"]),
html.a11y-highlight-links [role="menuitem"]:not(#a11y-panel [role="menuitem"]),
html.a11y-highlight-links [role="treeitem"]:not(#a11y-panel [role="treeitem"]),
html.a11y-highlight-links
  [data-toggle="tab"]:not(#a11y-panel [data-toggle="tab"]),
html.a11y-highlight-links
  [data-bs-toggle="tab"]:not(#a11y-panel [data-bs-toggle="tab"]),
html.a11y-highlight-links [onclick]:not(#a11y-panel [onclick]),
html.a11y-highlight-links
  [data-a11y-linklike]:not(#a11y-panel [data-a11y-linklike]) {
  box-shadow: 0 0 0 1px #d70064 !important;
  border-radius: 4px !important;
  padding-left: 3px !important;
  padding-right: 3px !important;
}

html.a11y-hide-images body img:not(#a11y-panel img),
html.a11y-hide-images body picture:not(#a11y-panel picture),
html.a11y-hide-images body svg:not(#a11y-panel svg),
html.a11y-hide-images body video:not(#a11y-panel video) {
  visibility: hidden !important;
}

html.a11y-hide-images body *:not(#a11y-panel):not(#a11y-panel *) {
  background-image: none !important;
}

/* Aumentado */
html.a11y-contrast-1
  body
  > *:not(#a11y-panel):not(#a11y-floating-button):not(#a11y-reading-guide):not(
    #a11y-reading-mask-top
  ):not(#a11y-reading-mask-bottom) {
  filter: contrast(1.5) !important;
}
/* Alto contraste — fundo preto, texto branco (padrão portais gov) */
html.a11y-contrast-2
  body
  > *:not(#a11y-panel):not(#a11y-floating-button):not(#a11y-reading-guide):not(
    #a11y-reading-mask-top
  ):not(#a11y-reading-mask-bottom) {
  filter: invert(1) grayscale(1) !important;
}
html.a11y-contrast-2,
html.a11y-contrast-2 body {
  background: #000000 !important;
}
html.a11y-invert
  body
  > *:not(#a11y-panel):not(#a11y-floating-button):not(#a11y-reading-guide):not(
    #a11y-reading-mask-top
  ):not(#a11y-reading-mask-bottom) {
  filter: invert(1) !important;
}
html.a11y-colorblind-protanopia
  body
  > *:not(#a11y-panel):not(#a11y-floating-button):not(#a11y-reading-guide):not(
    #a11y-reading-mask-top
  ):not(#a11y-reading-mask-bottom) {
  filter: sepia(0.35) saturate(0.75) hue-rotate(330deg) !important;
}
html.a11y-colorblind-deuteranopia
  body
  > *:not(#a11y-panel):not(#a11y-floating-button):not(#a11y-reading-guide):not(
    #a11y-reading-mask-top
  ):not(#a11y-reading-mask-bottom) {
  filter: sepia(0.25) saturate(0.7) hue-rotate(20deg) !important;
}
html.a11y-colorblind-tritanopia
  body
  > *:not(#a11y-panel):not(#a11y-floating-button):not(#a11y-reading-guide):not(
    #a11y-reading-mask-top
  ):not(#a11y-reading-mask-bottom) {
  filter: sepia(0.25) saturate(0.85) hue-rotate(145deg) !important;
}

html.a11y-stop-animations *:not(#a11y-panel):not(#a11y-panel *) {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

html.a11y-cursor-1,
html.a11y-cursor-1 *:not(#a11y-panel):not(#a11y-panel *) {
  cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M5 3L25 17L16 19L12 28L5 3Z' fill='white' stroke='%23002364' stroke-width='2'/%3E%3C/svg%3E")
      5 3,
    auto !important;
}

html.a11y-cursor-2,
html.a11y-cursor-2 *:not(#a11y-panel):not(#a11y-panel *) {
  cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M7 4L36 25L22 28L16 40L7 4Z' fill='white' stroke='%23002364' stroke-width='3'/%3E%3C/svg%3E")
      7 4,
    auto !important;
}

/* Modo inverter: fundo base da página */
html.a11y-invert,
html.a11y-invert body {
  background: #000000 !important;
}

/* Widget isolado dos filtros da página */
#a11y-panel,
#a11y-floating-button,
html.a11y-invert #a11y-panel,
html.a11y-invert #a11y-floating-button,
html.a11y-contrast-2 #a11y-panel,
html.a11y-contrast-2 #a11y-floating-button {
  filter: none !important;
}

/* Fonte padrão do widget (garante Rawline em todo o painel) */
#a11y-panel,
#a11y-panel *,
#a11y-floating-button,
#a11y-floating-button * {
  font-family: "Rawline", Arial, Helvetica, sans-serif !important;
}

/* Painel não responde às ferramentas de acessibilidade */
#a11y-panel {
  font-size: 16px !important;
}

#a11y-panel,
#a11y-panel * {
  line-height: normal !important;
  letter-spacing: normal !important;
}

/* ---- Mobile ---- */
@media (max-width: 600px) {
  #a11y-floating-button {
    width: 52px;
    height: 52px;
    right: 0;
    top: 145px;
  }

  #a11y-floating-button img {
    width: 30px;
    height: 30px;
  }

  #a11y-panel {
    top: auto;
    bottom: 2.5%;
    left: 2.5%;
    right: 2.5%;
    width: 95%;
    height: 60vh;
    min-height: 320px;
    border-radius: 24px;
    transform: translateY(calc(100% + 2.5%));
    transition:
      transform 300ms ease,
      opacity 300ms ease,
      visibility 300ms ease;
  }

  #a11y-panel.a11y-open {
    transform: translateY(0);
  }
}

@media (max-width: 340px) {
  .a11y-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
