/* Fruity AllySurvey V2.0.4 — appariements accessibles */
.fas-accessible-matching-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 .75rem;
}
.fas-accessible-matching-table tbody tr {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(14rem, 2fr);
  gap: .75rem 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--bs-border-color, #767676);
  border-radius: .5rem;
  background: var(--bs-body-bg, #fff);
}
.fas-accessible-matching-table tbody th,
.fas-accessible-matching-table tbody td {
  display: block;
  width: auto !important;
  border: 0 !important;
  padding: .25rem !important;
}
.fas-accessible-matching-table thead {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.fas-matching-visible-label {
  display: block;
  margin-bottom: .35rem;
  font-weight: 700;
  color: inherit;
}
.fas-accessible-matching-table select,
.fas-accessible-matching-table .bootstrap-select,
.fas-accessible-matching-table .bootstrap-select > .dropdown-toggle {
  width: 100% !important;
  max-width: none !important;
}
@media (max-width: 760px) {
  .fas-accessible-matching-table tbody tr { grid-template-columns: 1fr; }
}

/* Contraste renforcé : aucun panneau blanc sur blanc/noir sur noir */
html.fas-high-contrast,
html.fas-high-contrast body,
html.fas-high-contrast #outerframeContainer,
html.fas-high-contrast #main-col,
html.fas-high-contrast .survey-container,
html.fas-high-contrast .group-outer-container,
html.fas-high-contrast .group-container,
html.fas-high-contrast .question-container,
html.fas-high-contrast .answer-container,
html.fas-high-contrast .top-container,
html.fas-high-contrast .navbar,
html.fas-high-contrast .dropdown-menu,
html.fas-high-contrast .fas-accessible-matching-table tbody tr {
  background: #000 !important;
  color: #fff !important;
}
html.fas-high-contrast .question-container,
html.fas-high-contrast .fas-accessible-matching-table tbody tr,
html.fas-high-contrast .dropdown-menu,
html.fas-high-contrast select,
html.fas-high-contrast .bootstrap-select > .dropdown-toggle {
  border-color: #fff !important;
}
html.fas-high-contrast select,
html.fas-high-contrast option,
html.fas-high-contrast .bootstrap-select > .dropdown-toggle,
html.fas-high-contrast .dropdown-item {
  background: #000 !important;
  color: #fff !important;
}
html.fas-high-contrast .dropdown-item:hover,
html.fas-high-contrast .dropdown-item:focus,
html.fas-high-contrast .dropdown-item.active,
html.fas-high-contrast .dropdown-item[aria-selected="true"],
html.fas-high-contrast .bootstrap-select .dropdown-item:hover,
html.fas-high-contrast .bootstrap-select .dropdown-item:focus {
  background: #ff0 !important;
  color: #000 !important;
  outline: 2px solid #fff !important;
  outline-offset: -2px;
}
html.fas-high-contrast .fas-a11y-actions button:hover,
html.fas-high-contrast .fas-a11y-actions button:focus-visible,
html.fas-high-contrast .fas-a11y-actions button[aria-pressed="true"] {
  background: #ff0 !important;
  color: #000 !important;
  border-color: #ff0 !important;
}
html.fas-high-contrast .ls-a11y-page-title,
html.fas-high-contrast .group-title,
html.fas-high-contrast .ls-label-question,
html.fas-high-contrast .fas-matching-visible-label {
  color: #fff !important;
}
