
.accessibility-panel[hidden] { display: none !important; }

.accessibility-panel {
  position: fixed;
  z-index: 1500;
  top: 42px;
  left: 50%;
  width: min(1120px, calc(100vw - 40px));
  max-height: calc(100vh - 62px);
  overflow: auto;
  transform: translateX(-50%);
  border: 2px solid #2f61a0;
  background: #ffffff;
  color: #000000;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .28);
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 1.35;
}

.accessibility-panel__inner { padding: 20px 22px 22px; }
.accessibility-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.accessibility-panel__title { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 700; }
.accessibility-panel__close {
  min-width: 44px;
  min-height: 44px;
  padding: 6px 12px;
  border: 2px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 700;
}
.accessibility-panel__groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.accessibility-panel__group {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid #8a8a8a;
}
.accessibility-panel__group legend { padding: 0 6px; font-weight: 700; }
.accessibility-panel__options { display: flex; flex-wrap: wrap; gap: 8px; }
.accessibility-panel__button {
  min-height: 44px;
  padding: 8px 12px;
  border: 2px solid #555555;
  background: #ffffff;
  color: #000000;
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
  text-align: center;
}
.accessibility-panel__button:hover,
.accessibility-panel__button:focus-visible { border-color: #2f61a0; outline: 3px solid rgba(47, 97, 160, .28); outline-offset: 2px; }
.accessibility-panel__button[aria-pressed="true"] {
  border-color: #000000;
  background: #2f61a0;
  color: #ffffff;
  box-shadow: inset 0 0 0 2px #ffffff;
}
.accessibility-panel__button--size-small { font-size: 18px; }
.accessibility-panel__button--size-medium { font-size: 22px; }
.accessibility-panel__button--size-large { font-size: 26px; }
.accessibility-panel__button--scheme { min-width: 150px; }
.accessibility-panel__button--scheme-bw { background: #ffffff; color: #000000; }
.accessibility-panel__button--scheme-wb { background: #000000; color: #ffffff; }
.accessibility-panel__button--scheme-blue { background: #cfe8ff; color: #001f4d; }
.accessibility-panel__button--scheme-beige { background: #fff1c7; color: #4a2600; }
.accessibility-panel__button--scheme-green { background: #24150c; color: #00ff66; }
.accessibility-panel__actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.accessibility-panel__action {
  min-height: 46px;
  padding: 9px 16px;
  border: 2px solid #2f61a0;
  background: #ffffff;
  color: #000000;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.accessibility-panel__action:hover,
.accessibility-panel__action:focus-visible { background: #2f61a0; color: #ffffff; outline: 3px solid rgba(47, 97, 160, .28); outline-offset: 2px; }


html[data-a11y-active="true"] {
  --a11y-bg: #ffffff;
  --a11y-fg: #000000;
  --a11y-link: #0000cc;
  --a11y-border: #000000;
  --a11y-alt-bg: #eeeeee;
  --a11y-body-size: 24px;
  --a11y-header-size: 18px;
  --a11y-h1-size: 40px;
  --a11y-h2-size: 30px;
  --a11y-letter-spacing: 0;
  --a11y-line-height: 1.45;
  --a11y-font-family: Arial, sans-serif;
}
html[data-a11y-active="true"][data-a11y-size="small"] {
  --a11y-body-size: 20px; --a11y-header-size: 17px; --a11y-h1-size: 36px; --a11y-h2-size: 26px;
}
html[data-a11y-active="true"][data-a11y-size="medium"] {
  --a11y-body-size: 24px; --a11y-header-size: 18px; --a11y-h1-size: 40px; --a11y-h2-size: 30px;
}
html[data-a11y-active="true"][data-a11y-size="large"] {
  --a11y-body-size: 28px; --a11y-header-size: 18px; --a11y-h1-size: 44px; --a11y-h2-size: 34px;
}
html[data-a11y-active="true"][data-a11y-font="times"] { --a11y-font-family: "Times New Roman", Times, serif; }
html[data-a11y-active="true"][data-a11y-letter="medium"] { --a11y-letter-spacing: .08em; }
html[data-a11y-active="true"][data-a11y-letter="large"] { --a11y-letter-spacing: .16em; }
html[data-a11y-active="true"][data-a11y-line="medium"] { --a11y-line-height: 1.5; }
html[data-a11y-active="true"][data-a11y-line="large"] { --a11y-line-height: 2; }
html[data-a11y-active="true"][data-a11y-color="wb"] {
  --a11y-bg: #000000; --a11y-fg: #ffffff; --a11y-link: #ffffff; --a11y-border: #ffffff; --a11y-alt-bg: #191919;
}
html[data-a11y-active="true"][data-a11y-color="blue"] {
  --a11y-bg: #cfe8ff; --a11y-fg: #001f4d; --a11y-link: #001f4d; --a11y-border: #001f4d; --a11y-alt-bg: #b8dcff;
}
html[data-a11y-active="true"][data-a11y-color="beige"] {
  --a11y-bg: #fff1c7; --a11y-fg: #4a2600; --a11y-link: #4a2600; --a11y-border: #4a2600; --a11y-alt-bg: #f2ddb0;
}
html[data-a11y-active="true"][data-a11y-color="green"] {
  --a11y-bg: #24150c; --a11y-fg: #00ff66; --a11y-link: #9dffbd; --a11y-border: #00ff66; --a11y-alt-bg: #342116;
}

html[data-a11y-active="true"] body,
html[data-a11y-active="true"] .site-header,
html[data-a11y-active="true"] .site-page,
html[data-a11y-active="true"] .site-main,
html[data-a11y-active="true"] .site-footer,
html[data-a11y-active="true"] .nav-group__button,
html[data-a11y-active="true"] .nav-direct__link,
html[data-a11y-active="true"] .nav-submenu,
html[data-a11y-active="true"] .contact-dropdown__panel,
html[data-a11y-active="true"] .contact-dropdown__panel > div,
html[data-a11y-active="true"] .disclosure,
html[data-a11y-active="true"] .disclosure__content,
html[data-a11y-active="true"] .home-hero,
html[data-a11y-active="true"] .home-service-card,
html[data-a11y-active="true"] .personal-data-policy-page,
html[data-a11y-active="true"] .policy-document,
html[data-a11y-active="true"] .data-table td {
  background: var(--a11y-bg) !important;
  color: var(--a11y-fg) !important;
}
html[data-a11y-active="true"] .site-header::before,
html[data-a11y-active="true"] .site-header::after,
html[data-a11y-active="true"] .data-table tbody tr:nth-child(even) td {
  background: var(--a11y-alt-bg) !important;
}
html[data-a11y-active="true"] body,
html[data-a11y-active="true"] button,
html[data-a11y-active="true"] input,
html[data-a11y-active="true"] select,
html[data-a11y-active="true"] textarea,
html[data-a11y-active="true"] .personal-data-policy-page,
html[data-a11y-active="true"] .policy-document {
  font-family: var(--a11y-font-family) !important;
}
html[data-a11y-active="true"] body,
html[data-a11y-active="true"] body * { letter-spacing: var(--a11y-letter-spacing) !important; }

html[data-a11y-active="true"] .site-main,
html[data-a11y-active="true"] .site-main * {
  color: var(--a11y-fg) !important;
}

html[data-a11y-active="true"] .site-main :where(p, li, dt, dd, td, th, a, button, label, input, select, textarea, .prose, .structured-info, .service-contact, .contact-card, .link-list__item, .disclosure__content, .disclosure > summary, .staff-card__details),
html[data-a11y-active="true"] .site-copyright {
  font-size: var(--a11y-body-size) !important;
  line-height: var(--a11y-line-height) !important;
}
html[data-a11y-active="true"] .page-title,
html[data-a11y-active="true"] .site-main h1 {
  font-size: var(--a11y-h1-size) !important;
  line-height: 1.2 !important;
}
html[data-a11y-active="true"] .section-title,
html[data-a11y-active="true"] .site-main h2 {
  font-size: var(--a11y-h2-size) !important;
  line-height: 1.25 !important;
}
html[data-a11y-active="true"] .header-slot,
html[data-a11y-active="true"] .header-slot a,
html[data-a11y-active="true"] .site-brand,
html[data-a11y-active="true"] .nav-group__button,
html[data-a11y-active="true"] .nav-direct__link,
html[data-a11y-active="true"] .nav-submenu a,
html[data-a11y-active="true"] .contact-dropdown__button,
html[data-a11y-active="true"] .contact-dropdown__panel {
  color: var(--a11y-fg) !important;
  font-size: var(--a11y-header-size) !important;
  line-height: 1.25 !important;
}
html[data-a11y-active="true"] .site-header,
html[data-a11y-active="true"] .site-header * {
  letter-spacing: 0 !important;
}
html[data-a11y-active="true"] .nav-submenu a {
  height: auto !important;
  min-height: 30px;
}
html[data-a11y-active="true"] .registration-hours .contact-dropdown__panel {
  height: auto !important;
}
html[data-a11y-active="true"][data-a11y-color="wb"] .accessibility-button img,
html[data-a11y-active="true"][data-a11y-color="green"] .accessibility-button img {
  filter: invert(1);
}
html[data-a11y-active="true"][data-a11y-color="wb"] .nav-group__button::after,
html[data-a11y-active="true"][data-a11y-color="wb"] .contact-dropdown__button::after,
html[data-a11y-active="true"][data-a11y-color="green"] .nav-group__button::after,
html[data-a11y-active="true"][data-a11y-color="green"] .contact-dropdown__button::after {
  filter: invert(1);
}
html[data-a11y-active="true"] a,
html[data-a11y-active="true"] .prose a,
html[data-a11y-active="true"] .pagination__link {
  color: var(--a11y-link) !important;
  text-decoration: underline !important;
}
html[data-a11y-active="true"] :where(.site-brand, .page-title, .section-title, .prose, .structured-info, .service-contact, .contact-card, .staff-card, .link-list__item, .site-copyright) {
  color: var(--a11y-fg) !important;
}
html[data-a11y-active="true"] .data-table,
html[data-a11y-active="true"] .data-table th,
html[data-a11y-active="true"] .data-table td,
html[data-a11y-active="true"] .disclosure,
html[data-a11y-active="true"] .home-service-card {
  border-color: var(--a11y-border) !important;
}
html[data-a11y-active="true"] .data-table th,
html[data-a11y-active="true"] .disclosure > summary,
html[data-a11y-active="true"] .action-link,
html[data-a11y-active="true"] .staff-phone {
  background: var(--a11y-fg) !important;
  color: var(--a11y-bg) !important;
  border-color: var(--a11y-border) !important;
}
html[data-a11y-active="true"] .accessibility-panel {
  background: var(--a11y-bg);
  color: var(--a11y-fg);
  border-color: var(--a11y-border);
  font-family: var(--a11y-font-family);
  letter-spacing: var(--a11y-letter-spacing) !important;
}
html[data-a11y-active="true"] .accessibility-panel__group,
html[data-a11y-active="true"] .accessibility-panel__button,
html[data-a11y-active="true"] .accessibility-panel__action,
html[data-a11y-active="true"] .accessibility-panel__close {
  border-color: var(--a11y-border);
}
html[data-a11y-active="true"] .accessibility-panel__button,
html[data-a11y-active="true"] .accessibility-panel__action,
html[data-a11y-active="true"] .accessibility-panel__close {
  background: var(--a11y-bg);
  color: var(--a11y-fg);
}
html[data-a11y-active="true"] .accessibility-panel__button[aria-pressed="true"],
html[data-a11y-active="true"] .accessibility-panel__action:hover,
html[data-a11y-active="true"] .accessibility-panel__action:focus-visible {
  background: var(--a11y-fg);
  color: var(--a11y-bg);
  box-shadow: inset 0 0 0 2px var(--a11y-bg);
}
html[data-a11y-active="true"][data-a11y-images="off"] img:not(.accessibility-button img) {
  opacity: 0 !important;
}
html[data-a11y-active="true"] .home-patient-notice,
html[data-a11y-active="true"] .home-patient-notice__content h2,
html[data-a11y-active="true"] .home-patient-notice__content p,
html[data-a11y-active="true"] .home-patient-notice__content strong {
  background: var(--a11y-bg) !important;
  color: var(--a11y-fg) !important;
}
html[data-a11y-active="true"] .home-patient-notice { border: 2px solid var(--a11y-border); }
html[data-a11y-active="true"] .home-patient-notice__close { border-color: var(--a11y-border); }

@media (max-width: 900px) {
  .accessibility-panel__groups { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .accessibility-panel *, .accessibility-panel *::before, .accessibility-panel *::after { transition: none !important; }
}
