/* Site-local controls. Default page design remains unchanged. */
html body #accessibility_settings_toggle {
  position: fixed; z-index: 100000; right: 20px; bottom: 20px;
  width: 75px; height: 75px; padding: 5px; margin: 0;
  display: flex; align-items: center; justify-content: center;
  color: #111; background: #fff; border: 2px solid #111; border-radius: 50%;
  box-shadow: 0 2px 10px #0003; cursor: pointer;
}
html body #accessibility_settings_toggle[hidden] { display: none !important; }
#accessibility_settings_toggle svg { display: block; color: inherit; }
#bywh-accessibility-panel {
  position: fixed; inset: auto 16px 16px auto; margin: 0; padding: 24px;
  box-sizing: border-box; width: 400px; max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px); overflow: auto;
  color: #18251e; background: #fff; border: 2px solid #244735; border-radius: 12px;
  box-shadow: 0 8px 40px #0004; font: 400 16px/1.6 system-ui, sans-serif;
  text-align: left; letter-spacing: normal; text-transform: none;
}
#bywh-accessibility-panel::backdrop { background: #0006; }
#bywh-accessibility-panel * { box-sizing: border-box; font-family: inherit; letter-spacing: normal; text-transform: none; }
#bywh-accessibility-panel h2 { font: 700 22px/1.3 system-ui, sans-serif; color: inherit; margin: 0; }
#bywh-accessibility-panel p { font: inherit; margin: 16px 0; color: inherit; }
.bywh-accessibility-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
#bywh-accessibility-panel button, #bywh-accessibility-panel select {
  min-height: 44px; height: auto; padding: 8px 12px; margin: 0;
  font: 600 16px/1.4 system-ui, sans-serif; color: #18251e; background: #f3f6f1;
  border: 2px solid #526b59; border-radius: 5px; cursor: pointer; white-space: normal;
}
#bywh-accessibility-panel select { width: 100%; margin: 6px 0 14px; }
#bywh-accessibility-panel label { color: inherit; font: 600 16px/1.5 system-ui, sans-serif; }
#bywh-accessibility-panel .bywh-accessibility-choice { display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 8px 0; cursor: pointer; }
#bywh-accessibility-panel input[type=checkbox] { appearance: auto; -webkit-appearance: checkbox; width: 22px; height: 22px; min-width: 22px; margin: 0; accent-color: #244735; }
#bywh-accessibility-panel .bywh-accessibility-note { font-size: 14px; }
#bywh-accessibility-panel a { color: #204c37; text-decoration: underline; text-underline-offset: 3px; }
#bywh-accessibility-status:empty { display: none; }
/* Two-color indicator stays visible on light and dark backgrounds. */
html body :is(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #123b2a !important; outline-offset: 3px !important; box-shadow: 0 0 0 3px #fff !important;
}
html body .skip-link:focus { position: fixed; z-index: 100001; left: 12px; top: 12px; width: auto; height: auto; padding: 12px 18px; clip: auto; clip-path: none; background: #fff; color: #123b2a; }
html[data-bywh-text-scale] [data-bywh-font] {
  font-size: calc(var(--bywh-base-font) * var(--bywh-text-scale)) !important;
  line-height: calc(var(--bywh-base-line) * var(--bywh-text-scale)) !important;
  overflow-wrap: anywhere;
}
html[data-bywh-measuring] body * { transition: none !important; }
html[data-bywh-contrast] body, html[data-bywh-contrast] body :not(svg, svg *, img, video, iframe) { color: #fff !important; background-color: #000 !important; border-color: #fff !important; text-shadow: none !important; }
html[data-bywh-contrast] body a, html[data-bywh-contrast] body a * { color: #ffeb3b !important; text-decoration: underline; }
html[data-bywh-reduce-motion] { scroll-behavior: auto !important; }
html[data-bywh-reduce-motion] body *, html[data-bywh-reduce-motion] body *::before, html[data-bywh-reduce-motion] body *::after {
  animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important;
  transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important;
}
html[data-bywh-reduce-motion] .elementor-invisible { visibility: visible !important; }
/* Only a keyboard-open submenu gets this override; pointer behavior is retained. */
html body .bywh-submenu-open > ul.sub-menu { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; }
/* Non-native buttons retain the original theme appearance, not global button styles. */
html:not([data-bywh-contrast]) body header .menu-item-depth-0 > a[role="button"] {
  background: transparent !important; border: 0 !important; border-radius: 0 !important;
  color: #000 !important; letter-spacing: normal !important;
}
html:not([data-bywh-contrast]) body header .menu-item-depth-0 > a[role="button"] > span { color: inherit !important; }
html:not([data-bywh-contrast]) body header .wdt-popup-box-trigger-item[role="button"] {
  background: transparent !important; border: 0 !important; border-radius: 0 !important;
  color: #000 !important; margin: 0 !important; padding: 0 !important;
  line-height: 34px !important; text-transform: none !important; letter-spacing: normal !important;
}
html:not([data-bywh-contrast]) body header .wdt-popup-box-trigger-item[role="button"] svg { fill: #000 !important; }
html:not([data-bywh-contrast]) body .wdt-module-toggle .wdt-accordion-toggle-title-holder[role="button"] {
  color: #232323 !important; border-radius: 0 !important;
  text-transform: none !important; letter-spacing: normal !important;
}
/* Owner-approved readability fixes; no wording, layout or destination changes. */
html:not([data-bywh-contrast]) body header .menu-item-depth-0 > a, html:not([data-bywh-contrast]) body header .menu-item-depth-0 > a > span { color: #000 !important; }
html:not([data-bywh-contrast]) body .mkt-ps__eyebrow, html:not([data-bywh-contrast]) body #main table th { color: #244735 !important; }
html body #main :is(p, li, dd, td, figcaption) > a:not([class*="button"]),
html body .breadcrumb > a { text-decoration: underline !important; text-underline-offset: .15em; }
html:not([data-bywh-contrast]) body .menu-trigger[role="button"],
html:not([data-bywh-contrast]) body > .mobile-menu [role="button"] {
  color: #000 !important; background: transparent !important; border: 0 !important;
  border-radius: 0 !important; letter-spacing: normal !important;
}
