/* IEPC Accessibility Suite v2.0 — Visual aids CSS */
.a11y-ruler-bar {
    position: fixed;
    left: 0; right: 0;
    height: 4px;
    pointer-events: none;
    z-index: 99999;
    display: none;
}
.a11y-ruler-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ruler-color, #4f46e5);
    box-shadow: 0 0 8px currentColor;
    opacity: 0.85;
}
body.a11y-contrast-high .a11y-ruler-bar::before { background: #ffd84d !important; }
body.a11y-color-protanopia .a11y-ruler-bar::before,
body.a11y-color-deuteranopia .a11y-ruler-bar::before,
body.a11y-color-tritanopia .a11y-ruler-bar::before { filter: none; }

.a11y-mask-top, .a11y-mask-bottom {
    position: fixed;
    left: 0; right: 0;
    background: rgba(0, 0, 0, 0.7);
    pointer-events: none;
    z-index: 99998;
    display: none;
    transition: height 0.05s linear;
}
.a11y-mask-top { top: 0; }
.a11y-mask-bottom { bottom: 0; }
body.a11y-motion-reduced .a11y-mask-top, body.a11y-motion-reduced .a11y-mask-bottom { transition: none !important; }

.a11y-magnifier {
    position: fixed;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 3px solid #4f46e5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    pointer-events: none;
    z-index: 99997;
    display: none;
    background: #fff;
}
.a11y-magnifier-lens {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #fff;
}
.a11y-magnifier-text {
    font-family: inherit;
    word-wrap: break-word;
    background: #fff;
    color: #000;
}
body.a11y-contrast-high .a11y-magnifier { border-color: #ffd84d !important; }

.a11y-crosshair {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 99996;
    display: none;
}
.a11y-crosshair-v, .a11y-crosshair-h {
    position: fixed;
    background: rgba(79, 70, 229, 0.4);
    pointer-events: none;
}
.a11y-crosshair-v { top: 0; bottom: 0; width: 1px; }
.a11y-crosshair-h { left: 0; right: 0; height: 1px; }
body.a11y-contrast-high .a11y-crosshair-v, body.a11y-contrast-high .a11y-crosshair-h { background: #ffd84d !important; }
