/* Accessibility menu: the button and panel plus the page-wide adjustments it switches on. */
.egp-a11y{position:fixed;left:14px;bottom:14px;z-index:40;direction:rtl;font-family:inherit}
.egp-a11y-toggle{display:grid;place-items:center;width:48px;height:48px;padding:0;border:2px solid #fff;border-radius:50%;background:#603a80;color:#fff;box-shadow:0 2px 12px #0000006b;cursor:pointer}
.egp-a11y-toggle:hover{background:#4d2f68}
.egp-a11y-toggle:focus-visible,.egp-a11y-btn:focus-visible,.egp-a11y-link:focus-visible{outline:3px solid #f0c8a0;outline-offset:3px}
.egp-a11y-panel{position:absolute;left:0;bottom:60px;box-sizing:border-box;width:min(300px,calc(100vw - 28px));max-height:min(72vh,540px);overflow:auto;padding:14px;border-radius:16px;background:#fff;color:#29212e;box-shadow:0 8px 30px #00000066;text-align:right}
.egp-a11y-panel[hidden]{display:none}
.egp-a11y-title{margin:0 0 10px;font-size:1.05rem;font-weight:800;line-height:1.3}
.egp-a11y-size{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.egp-a11y-size-label{flex:1;text-align:center;font-weight:700;font-size:.95rem}
.egp-a11y-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}
.egp-a11y-btn{box-sizing:border-box;min-width:44px;min-height:44px;padding:6px 10px;border:1px solid #603a80;border-radius:10px;background:#fff;color:#29212e;font:inherit;font-size:.95rem;font-weight:700;line-height:1.25;cursor:pointer}
.egp-a11y-btn:hover:not(:disabled){background:#f1e9f7}
.egp-a11y-btn:disabled{opacity:.45;cursor:default}
.egp-a11y-btn[aria-pressed="true"]{background:#603a80;color:#fff}
.egp-a11y-reset{width:100%}
.egp-a11y-link{display:inline-block;min-height:44px;margin-top:6px;line-height:44px;color:#4d2f68;font-weight:700;text-decoration:underline}
@media print{.egp-a11y{display:none}}

/* adjustments (the menu itself is excluded so it keeps its size) */
html.egp-a11y-t1 body>:not(.egp-a11y){zoom:1.15}
html.egp-a11y-t2 body>:not(.egp-a11y){zoom:1.3}
html.egp-a11y-t3 body>:not(.egp-a11y){zoom:1.5}
html.egp-a11y-high body>:not(.egp-a11y){filter:contrast(1.4)}
html.egp-a11y-invert body>:not(.egp-a11y){filter:invert(1) hue-rotate(180deg)}
html.egp-a11y-invert body>:not(.egp-a11y) img,html.egp-a11y-invert body>:not(.egp-a11y) iframe,html.egp-a11y-invert body>:not(.egp-a11y) video{filter:invert(1) hue-rotate(180deg)}
html.egp-a11y-gray body>:not(.egp-a11y){filter:grayscale(1)}
html.egp-a11y-links body>:not(.egp-a11y) a{text-decoration:underline!important;text-underline-offset:.2em}
html.egp-a11y-font body>:not(.egp-a11y),html.egp-a11y-font body>:not(.egp-a11y) *{font-family:Arial,"Helvetica Neue",Helvetica,sans-serif!important;letter-spacing:.02em}
html.egp-a11y-motion *,html.egp-a11y-motion *::before,html.egp-a11y-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
