.access-toolbar {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    display: flex;
    gap: 8px;
    align-items: center;
}
.access-btn {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}
.access-btn:focus { outline: 2px solid #fff; outline-offset: 2px; }
.access-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* High contrast */
.access-high-contrast, .access-high-contrast * {
    background: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
    box-shadow: none !important;
    background-image: none !important;
}

/* Dyslexic-friendly font (if OpenDyslexic available) */
.access-dyslexic {
    font-family: "OpenDyslexic", "Arial", "Helvetica", sans-serif !important;
}

/* Respect font-size set on root via JS */
html[data-access-font-scale] {
    /* default: nothing -- JS will set root font-size */
}

/* Avoid layout issues from contrast */
.access-high-contrast img { opacity: 0.9; }

/* Small responsive tweaks */
@media (max-width: 480px) {
    .access-toolbar { right: 8px; bottom: 8px; gap: 6px; }
    .access-btn { padding: 6px; font-size: 13px; }
}