/* ==========================================================================
   PCCI Inc. — Accessibility menu (floating widget, by WebsiteTek)
   Everything the widget adds is scoped under #avA11y / .ava11y-*, and every
   page-wide effect is driven by a class on <html> so it can be removed cleanly.
   ========================================================================== */

/* ---------- Floating button ---------- */
#avA11y { --a11y-blue: #1a5fd0; --a11y-blue-dark: #154fb0; --a11y-ink: #1B2430; --a11y-soft: #EEF3FB; }
#avA11y, #avA11y * { box-sizing: border-box; letter-spacing: normal !important; }
.ava11y-fab {
  position: fixed; left: 18px; bottom: 18px; z-index: 2147483000; /* left: a chat bubble usually sits bottom-right */
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--a11y-blue) !important; color: #fff !important;
  border: 3px solid #fff !important; box-shadow: 0 6px 20px rgba(10,37,64,.35);
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
  transition: transform .15s ease;
}
.ava11y-fab:hover { transform: scale(1.06); background: var(--a11y-blue-dark) !important; }
.ava11y-fab:focus-visible { outline: 3px solid #FFB020 !important; outline-offset: 3px; }
.ava11y-fab svg { width: 34px; height: 34px; }
.ava11y-fab[hidden] { display: none !important; }
/* Phones and tablets: small and low in the corner; lifted only while the site's
   call/quote bar is showing (html.mcta-on, mobile audit 2026-09-29). */
@media (max-width: 1023.98px) {
  .ava11y-fab { bottom: calc(14px + env(safe-area-inset-bottom)); left: 12px; width: 46px; height: 46px; transition: bottom 220ms ease; }
  .ava11y-fab svg { width: 28px; height: 28px; }
  }
/* Phones (owner request 2026-09-30): no floating button, it took too much screen.
   The same menu stays one tap away through the footer's "Accessibility menu" link
   ([data-a11y-open]), and phones have their own built-in accessibility settings. */
@media (max-width: 767.98px) {
  .ava11y-fab { display: none !important; }
}

/* ---------- Panel ---------- */
.ava11y-panel {
  position: fixed; top: 12px; right: 12px; bottom: 12px; z-index: 2147483001;
  width: min(440px, calc(100vw - 24px));
  background: #F4F6FA !important; color: var(--a11y-ink) !important;
  border-radius: 18px; box-shadow: 0 24px 64px rgba(10,37,64,.35);
  display: flex; flex-direction: column; overflow: hidden;
  font: 15px/1.4 Inter, Arial, Helvetica, sans-serif !important;
  text-align: left !important;
}
.ava11y-panel[hidden] { display: none !important; }
@media (max-width: 520px) { .ava11y-panel { top: 0; right: 0; bottom: 0; width: 100vw; border-radius: 0; } }

.ava11y-head { background: var(--a11y-blue) !important; color: #fff !important; padding: 14px 16px 18px; }
.ava11y-toprow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ava11y-close {
  width: 36px; height: 36px; border-radius: 50%; border: 0 !important; cursor: pointer;
  background: rgba(255,255,255,.18) !important; color: #fff !important; font-size: 22px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.ava11y-close:hover { background: rgba(255,255,255,.3) !important; }
.ava11y-lang {
  appearance: none; border: 0 !important; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.18) !important; color: #fff !important;
  font: 600 14px/1 Inter, Arial, sans-serif !important; padding: 9px 30px 9px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23fff' stroke-width='2' fill='none'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 11px center !important;
}
.ava11y-lang option { color: #000; background: #fff; }
.ava11y-title { margin: 12px 0 14px !important; text-align: center !important; color: #fff !important;
  font: 700 22px/1.2 "Space Grotesk", Arial, sans-serif !important; }
.ava11y-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ava11y-actions .ava11y-pill:last-child { grid-column: 1 / -1; justify-self: center; min-width: 50%; }
.ava11y-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: #fff !important; color: var(--a11y-blue) !important; border: 0 !important;
  border-radius: 999px; padding: 9px 14px; cursor: pointer; text-decoration: none !important;
  font: 600 14.5px/1.2 Inter, Arial, sans-serif !important; min-height: 38px;
}
.ava11y-pill:hover { background: #E3ECFB !important; }
.ava11y-pill svg { width: 17px; height: 17px; flex: none; }

.ava11y-body { flex: 1; overflow-y: auto; padding: 14px; overscroll-behavior: contain; }
.ava11y-card { background: #fff !important; border-radius: 14px; padding: 14px; margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(10,37,64,.06); }
.ava11y-card h3 { margin: 0 0 10px !important; color: var(--a11y-ink) !important;
  font: 600 17px/1.3 Inter, Arial, sans-serif !important; }

/* Profiles: ON/OFF switches */
.ava11y-profile { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid #E6EAF0; }
.ava11y-profile:first-of-type { border-top: 0; }
.ava11y-switch {
  flex: none; position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  width: 104px; height: 38px; border-radius: 999px; padding: 3px; cursor: pointer;
  background: #EEF1F5 !important; border: 1px solid #D5DCE6 !important;
  font: 700 12px/1 Inter, Arial, sans-serif !important; color: #1B2430 !important;
}
.ava11y-switch span { display: flex; align-items: center; justify-content: center; border-radius: 999px; z-index: 1; }
.ava11y-switch[aria-checked="false"] span:first-child,
.ava11y-switch[aria-checked="true"] span:last-child { background: #fff !important; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.ava11y-switch[aria-checked="true"] { background: var(--a11y-blue) !important; border-color: var(--a11y-blue) !important; }
.ava11y-switch[aria-checked="true"] span:first-child { color: #fff !important; }
.ava11y-switch[aria-checked="true"] span:last-child { color: var(--a11y-blue) !important; }
.ava11y-profile-text { flex: 1; min-width: 0; }
.ava11y-profile-text strong { display: block; font: 600 15.5px/1.3 Inter, Arial, sans-serif !important; color: #1B2430 !important; }
.ava11y-profile-text small { display: block; font-size: 13px !important; color: #56657A !important; margin-top: 2px; }
.ava11y-ico { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #D5DCE6;
  display: flex; align-items: center; justify-content: center; color: #1B2430; }
.ava11y-ico svg { width: 18px; height: 18px; }

/* Tiles and steppers */
.ava11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ava11y-tile, .ava11y-stepper, .ava11y-colors, .ava11y-links {
  background: var(--a11y-soft) !important; border: 2px solid transparent !important; border-radius: 12px;
  color: #1B2430 !important;
}
.ava11y-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 96px; padding: 12px 8px; cursor: pointer; text-align: center;
  font: 500 14px/1.25 Inter, Arial, sans-serif !important;
}
.ava11y-tile svg { width: 24px; height: 24px; }
.ava11y-tile:hover { border-color: #B9CCEE !important; }
.ava11y-tile[aria-pressed="true"] { background: var(--a11y-blue) !important; color: #fff !important; border-color: var(--a11y-blue) !important; }
.ava11y-wide { grid-column: 1 / -1; }
.ava11y-stepper { padding: 12px; text-align: center; }
.ava11y-stepper-label { display: flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 14.5px/1.3 Inter, Arial, sans-serif !important; margin-bottom: 10px; }
.ava11y-stepper-label svg { width: 20px; height: 20px; }
.ava11y-stepper-row { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: #fff !important; border-radius: 999px; padding: 4px; }
.ava11y-step {
  width: 34px; height: 34px; border-radius: 50%; border: 0 !important; cursor: pointer;
  background: var(--a11y-blue) !important; color: #fff !important; display: flex; align-items: center; justify-content: center;
}
.ava11y-step:disabled { opacity: .35; cursor: not-allowed; }
.ava11y-step svg { width: 16px; height: 16px; }
.ava11y-value { flex: 1; font: 600 14px/1 Inter, Arial, sans-serif !important; color: var(--a11y-blue) !important; }
.ava11y-stepper.is-active, .ava11y-colors.is-active { border-color: var(--a11y-blue) !important; }

.ava11y-colors { padding: 12px; text-align: center; }
.ava11y-colors-label { font: 500 14.5px/1.3 Inter, Arial, sans-serif !important; margin-bottom: 10px; }
.ava11y-swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.ava11y-swatch {
  width: 28px; height: 28px; border-radius: 50%; cursor: pointer; padding: 0;
  border: 2px solid #fff !important; box-shadow: 0 0 0 1px #9AA7B8;
}
.ava11y-swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--a11y-blue); }
.ava11y-cancel { margin-top: 8px; background: none !important; border: 0 !important; cursor: pointer;
  color: #1B2430 !important; font: 500 13.5px/1.2 Inter, Arial, sans-serif !important; text-decoration: underline !important; padding: 4px 8px; }
.ava11y-links { padding: 12px; }
.ava11y-links label { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 8px;
  font: 500 14.5px/1.3 Inter, Arial, sans-serif !important; }
.ava11y-links select { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid #B8C4D4 !important;
  background: #fff !important; color: #1B2430 !important; font: 15px/1.2 Inter, Arial, sans-serif !important; }

.ava11y-foot { background: var(--a11y-blue) !important; color: #fff !important; text-align: center; padding: 10px;
  font: 500 13px/1.3 Inter, Arial, sans-serif !important; }
.ava11y-foot a { color: #fff !important; text-decoration: underline !important; }

#avA11y button:focus-visible, #avA11y select:focus-visible, #avA11y a:focus-visible {
  outline: 3px solid #FFB020 !important; outline-offset: 2px;
}
.ava11y-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Reading guide + reading mask */
.ava11y-guide { position: fixed; left: 0; right: 0; height: 12px; z-index: 2147482999; pointer-events: none;
  background: rgba(255,176,32,.35); border-top: 3px solid #0A2540; border-bottom: 3px solid #0A2540; display: none; }
.ava11y-mask-top, .ava11y-mask-bottom { position: fixed; left: 0; right: 0; z-index: 2147482998; pointer-events: none;
  background: rgba(0,0,0,.55); display: none; }
.ava11y-mask-top { top: 0; }
.ava11y-mask-bottom { bottom: 0; }
html.a11y-guide .ava11y-guide { display: block; }
html.a11y-mask .ava11y-mask-top, html.a11y-mask .ava11y-mask-bottom { display: block; }

/* ==========================================================================
   Page-wide effects. Each is switched on by a class on <html>.
   "PAGE" = everything except the widget itself.
   ========================================================================== */
html.a11y-readable body :not(#avA11y):not(#avA11y *):not(svg):not(svg *) {
  font-family: Arial, Helvetica, Verdana, sans-serif !important;
}
html.a11y-titles body h1:not(#avA11y *), html.a11y-titles body h2:not(#avA11y *),
html.a11y-titles body h3:not(#avA11y *), html.a11y-titles body h4:not(#avA11y *),
html.a11y-titles body h5:not(#avA11y *), html.a11y-titles body h6:not(#avA11y *) {
  outline: 3px solid #0B57D0 !important; outline-offset: 4px; border-radius: 2px;
}
html.a11y-links body a:not(#avA11y *) {
  outline: 2px solid #E8710A !important; outline-offset: 2px;
  text-decoration: underline !important; text-decoration-thickness: 2px !important;
  background-color: #FFF4C2 !important; color: #0A2540 !important;
}
html.a11y-align-center body :is(p,li,h1,h2,h3,h4,h5,h6,dd,dt,blockquote,figcaption,label,td,th,span,div):not(#avA11y):not(#avA11y *) { text-align: center !important; }
html.a11y-align-left body :is(p,li,h1,h2,h3,h4,h5,h6,dd,dt,blockquote,figcaption,label,td,th,span,div):not(#avA11y):not(#avA11y *) { text-align: left !important; }
html.a11y-align-right body :is(p,li,h1,h2,h3,h4,h5,h6,dd,dt,blockquote,figcaption,label,td,th,span,div):not(#avA11y):not(#avA11y *) { text-align: right !important; }

html.a11y-lh body :is(p,li,h1,h2,h3,h4,h5,h6,dd,dt,blockquote,figcaption,label,td,th,a,span):not(#avA11y *) { line-height: var(--a11y-lh) !important; }
html.a11y-ls body :not(#avA11y):not(#avA11y *) { letter-spacing: var(--a11y-ls) !important; word-spacing: var(--a11y-ws) !important; }

/* Contrast modes */
html.a11y-dark body, html.a11y-dark body :not(#avA11y):not(#avA11y *):not(img):not(svg):not(svg *):not(picture):not(video):not(.ava11y-guide):not([class^="ava11y-mask"]) {
  background-color: #111418 !important; color: #F2F5F8 !important; border-color: #4A5563 !important;
  background-image: none !important; text-shadow: none !important; box-shadow: none !important;
}
html.a11y-dark body a:not(#avA11y *), html.a11y-dark body a:not(#avA11y *) * { color: #FFD34D !important; }
html.a11y-dark body :is(h1,h2,h3,h4,h5,h6):not(#avA11y *) { color: #7FD6FF !important; }
html.a11y-dark body :is(input,textarea,select):not(#avA11y *) { background-color: #1C2229 !important; color: #fff !important; border-color: #8A96A6 !important; }

html.a11y-light body, html.a11y-light body :not(#avA11y):not(#avA11y *):not(img):not(svg):not(svg *):not(picture):not(video):not(.ava11y-guide):not([class^="ava11y-mask"]) {
  background-color: #FFFFFF !important; color: #111111 !important; border-color: #8A8A8A !important;
  background-image: none !important; text-shadow: none !important;
}
html.a11y-light body a:not(#avA11y *), html.a11y-light body a:not(#avA11y *) * { color: #0033CC !important; }
html.a11y-light body :is(h1,h2,h3,h4,h5,h6):not(#avA11y *) { color: #000 !important; }

/* Filters (contrast / saturation / monochrome) go on each top-level block,
   never on <html> or <body>, so fixed elements and the widget keep working. */
html.a11y-filter body > :not(#avA11y):not(script):not(.ava11y-guide):not([class^="ava11y-mask"]) { filter: var(--a11y-filter) !important; }

/* Custom colours */
html.a11y-textcolor body :is(p,li,span,dd,dt,label,small,strong,em,b,i,td,th,blockquote,figcaption,cite,address,time,div):not(#avA11y):not(#avA11y *) { color: var(--a11y-text) !important; }
html.a11y-titlecolor body :is(h1,h2,h3,h4,h5,h6):not(#avA11y *),
html.a11y-titlecolor body :is(h1,h2,h3,h4,h5,h6):not(#avA11y *) * { color: var(--a11y-title) !important; }

/* Hide images */
html.a11y-noimg body img:not(#avA11y *), html.a11y-noimg body picture:not(#avA11y *),
html.a11y-noimg body video:not(#avA11y *) { visibility: hidden !important; }
html.a11y-noimg body :not(#avA11y):not(#avA11y *) { background-image: none !important; }

/* Stop animations */
html.a11y-still body *:not(#avA11y *), html.a11y-still body *:not(#avA11y *)::before, html.a11y-still body *:not(#avA11y *)::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}
html.a11y-still { scroll-behavior: auto !important; }

/* Highlight focus */
html.a11y-focus body :focus:not(#avA11y *) {
  outline: 4px solid #E8710A !important; outline-offset: 3px !important;
  box-shadow: 0 0 0 7px rgba(232,113,10,.3) !important;
}

/* Screen-reader mode: show the skip link and new-window hints */
html.a11y-sr .skip-link, html.a11y-sr .skip { position: static !important; transform: none !important; clip: auto !important;
  width: auto !important; height: auto !important; display: inline-block !important; margin: 6px !important; }

@media print { #avA11y, .ava11y-guide, .ava11y-mask-top, .ava11y-mask-bottom { display: none !important; } }

/* Content scaling */
html.a11y-zoom body > :not(#avA11y):not(script):not(.ava11y-guide):not([class^="ava11y-mask"]) { zoom: var(--a11y-zoom); }

/* PCCI: Stop Animations also hides the moving fiber-light lines in the home hero
   (main.js stops drawing them too). */
html.a11y-still #fiber-canvas { display: none !important; }

/* Movable button (2026-09-28): grab cursor while dragging, no animation lag. */
.ava11y-fab.is-dragging { cursor: grabbing !important; transition: none !important; transform: none !important; }
