/*!
 * A11Y — Accessibility Module
 * Version: 1.0.0
 * Developer: Itkin Dmytro (ITKIN.studio) — https://itkin.studio/a11y
 * License: ITKIN A11Y Free Use License (No Resale)
 * Copyright (c) 2026 Itkin Dmytro, ITKIN.studio. All rights reserved.
 */
html{--a11y-text-scale:1;font-size:calc(16px * var(--a11y-text-scale))}
html.a11y-custom-text body :not(#A11YRoot):not(#A11YRoot *){color:var(--a11y-custom-text-color)!important}
html.a11y-custom-bg body :not(#A11YRoot):not(#A11YRoot *){background-color:var(--a11y-custom-bg-color)!important}
html.a11y-overlay-open{overflow:hidden}
html[dir="rtl"] .a11y-hint-tooltip{left:calc(100% + 3px);right:auto}
html[dir="rtl"] .a11y-info-link{text-align:right}
html[dir="rtl"] .a11y-info-link::before{transform:rotate(180deg);margin-right:0;margin-left:8px}
#A11YRoot{position:fixed;z-index:999999;inset:auto 20px 20px auto;font-family:Arial,sans-serif}
#A11YTrigger{display:inline-flex;align-items:center;justify-content:center;width:60px;height:60px;padding:0;border:0;border-radius:12px;background:#345fdf;color:#fff;cursor:pointer;box-shadow:0 4px 14px #0000002e}
#A11YTrigger:hover{box-shadow:0 0 30px #0000008c}
#A11YTrigger:focus-visible{outline:3px solid #1a73e8;outline-offset:3px}
.a11y-trigger-icon{display:inline-flex;align-items:center;justify-content:center;width:50px;height:50px;line-height:0}
#A11YWidget{position:fixed;right:20px;bottom:85px;width:min(360px,calc(100vw - 24px));max-height:min(80vh,640px);display:flex;flex-direction:column;overflow:hidden;background:#fff;color:#333;border:1px solid #d9d9d9;border-radius:16px;box-shadow:0 12px 36px #00000059}
#A11YWidget[hidden]{display:none}
.a11y-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #e5e5e5;background:#345fdf;color:#fff}
.a11y-title{margin:0;font-size:18px;font-weight:700;line-height:1.3}
.a11y-close{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:0;border-radius:10px;background:transparent;color:#FFF;font-size:28px;line-height:1;cursor:pointer;transition:all .2s}
.a11y-close:hover{background:#eceff3;color:#000;transition:all .2s}
.a11y-close:focus-visible{outline:3px solid #1a73e8;outline-offset:2px}
.a11y-body{padding:16px;overflow:auto}
.a11y-placeholder{margin:0;font-size:15px;line-height:1.6;color:#333}
.a11y-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:10px 10px 5px;border-bottom:1px solid #e5e5e5;background:#fff}
.a11y-tab{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 12px;border:1px solid #d9d9d9;border-radius:10px 10px 0 0;background:#f5f7fa;color:#333;font-size:14px;font-weight:600;line-height:1.2;cursor:pointer;transition:all .2s}
.a11y-tab:hover{background:#345fdf;color:#FFF;transition:all .2s}
.a11y-tab.is-active{background:#345fdf;color:#FFF;transition:all .2s}
.a11y-tab:focus-visible{outline:3px solid #345fdf;outline-offset:2px}
.a11y-panel{display:block}
.a11y-panel[hidden]{display:none}
.a11y-help-title{margin:0 0 10px;font-size:16px;font-weight:700;line-height:1.3}
.a11y-group{display:grid;gap:10px}
.a11y-btn{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:10px 14px;border:1px solid #3057cd;border-radius:5px;background:#f8f9fb;color:#333;font-size:14px;font-weight:600;line-height:1.3;text-align:center;cursor:pointer;transition:all .2s}
.a11y-btn:hover{background:#345fdf;color:#FFF}
.a11y-btn:focus-visible{outline:3px solid #1a73e8;outline-offset:2px}
.a11y-btn-reset{background:#fff8f8}
.a11y-btn.is-active{background:#345fdf;color:#FFF}
.a11y-color-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px}
.a11y-color-label{font-size:14px;font-weight:600;line-height:1.3}
.a11y-color-input{width:44px;height:44px;padding:2px;border:1px solid #d9d9d9;border-radius:10px;background:#fff;cursor:pointer}
.a11y-color-input:focus-visible{outline:3px solid #1a73e8;outline-offset:2px}
.a11y-overlay{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:16px;background:#0000008c;z-index:1000001}
.a11y-overlay[hidden]{display:none}
.a11y-overlay-box{width:min(560px,calc(100vw - 32px));max-height:min(80vh,720px);overflow:auto;background:#fff;color:#222;border-radius:16px;box-shadow:0 18px 40px #00000047}
.a11y-overlay-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;background-color:#345fdf;color:#FFF}
.a11y-overlay-title{margin:0;font-size:18px;font-weight:700;line-height:1.3}
.a11y-overlay-close{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:0;border-radius:10px;background:transparent;color:#FFF;font-size:28px;line-height:1;cursor:pointer}
.a11y-overlay-close:hover{background:#eceff3;color:#333}
.a11y-overlay-close:focus-visible{outline:3px solid #1a73e8;outline-offset:2px}
.a11y-overlay-body{padding:18px;font-size:15px;line-height:1.7}
.a11y-overlay-body p{margin:0 0 12px}
.a11y-overlay-body p:last-child{margin-bottom:0}
.a11y-overlay-link{color:#0b57d0;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.a11y-overlay-link:focus-visible{outline:3px solid #1a73e8;outline-offset:2px}
.a11y-help-list{margin:12px 0 0;padding-left:20px;font-size:15px;line-height:1.7}
.a11y-help-list li{margin-bottom:8px}
.a11y-help-list li:last-child{margin-bottom:0}
.a11y-section{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid #e5e5e5}
.a11y-section:last-child{margin-bottom:0;border-bottom:0;padding-bottom:0}
.a11y-section-title{margin:0 0 12px;font-size:15px;font-weight:700;line-height:1.3}
.a11y-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.a11y-grid-single{grid-template-columns:1fr}
.a11y-btn-full{width:100%;margin-top:10px}
.a11y-info-nav{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid #e5e5e5}
.a11y-info-link{display:block;width:100%;padding:10px 0;border:0;background:transparent;color:#0b57d0;font-size:14px;font-weight:600;line-height:1.4;text-align:left;cursor:pointer;border-bottom:1px solid #e9e9e9}
.a11y-info-link:last-child{border-bottom:0}
.a11y-info-link:hover{color:#2c50bb;text-decoration:underline}
.a11y-info-link:focus-visible{outline:3px solid #1a73e8;outline-offset:2px}
.a11y-info-link::before{content:"➥";display:inline-block;margin-right:8px}
.a11y-section-flash{animation:a11ySectionFlash 1.2s ease}
@keyframes a11ySectionFlash {
0%{background-color:#1a73e824}
100%{background-color:transparent}
}
.a11y-help-support{margin-top:18px;padding-top:18px;border-top:1px solid #e5e5e5}
.a11y-help-support-title{margin:0 0 12px;font-size:15px;font-weight:700;line-height:1.3}
.a11y-help-support a{color:#0b57d0;font-weight:600;text-underline-offset:2px}
.a11y-help-support a:hover{text-decoration:underline}
.a11y-help-support a:focus-visible{outline:3px solid #1a73e8;outline-offset:2px}
.a11y-body::-webkit-scrollbar-track,.a11y-overlay-box::-webkit-scrollbar-track{background:#d9d9d9}
.a11y-body::-webkit-scrollbar-thumb,.a11y-overlay-box::-webkit-scrollbar-thumb{background:#345fdf}
html.a11y-links-highlight a:not(#A11YRoot a){background-color:#ffeb3b!important;color:#111!important;text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:2px!important}
html.a11y-headings-highlight h1:not(#A11YRoot h1),html.a11y-headings-highlight h2:not(#A11YRoot h2),html.a11y-headings-highlight h3:not(#A11YRoot h3),html.a11y-headings-highlight h4:not(#A11YRoot h4),html.a11y-headings-highlight h5:not(#A11YRoot h5),html.a11y-headings-highlight h6:not(#A11YRoot h6){background-color:#fff3cd!important;color:#111!important;outline:2px solid #ff9800!important;outline-offset:2px!important}
html.a11y-grayscale{filter:grayscale(100%)}
html.a11y-invert{filter:invert(1) hue-rotate(180deg)}
html.a11y-invert img,html.a11y-invert video,html.a11y-invert iframe,html.a11y-invert svg,html.a11y-invert canvas,html.a11y-invert [style*="background-image"]{filter:invert(1) hue-rotate(180deg)}
html.a11y-saturated{filter:saturate(180%)}
html.a11y-pause-animations *,html.a11y-pause-animations ::before,html.a11y-pause-animations ::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.a11y-cursor-white,html.a11y-cursor-white *{cursor:url(./bigcursorwhite.cur),auto!important}
html.a11y-cursor-white a,html.a11y-cursor-white a *,html.a11y-cursor-white button,html.a11y-cursor-white button *,html.a11y-cursor-white [role="button"],html.a11y-cursor-white [role="button"] *,html.a11y-cursor-white input[type="button"],html.a11y-cursor-white input[type="submit"],html.a11y-cursor-white input[type="reset"],html.a11y-cursor-white label,html.a11y-cursor-white select,html.a11y-cursor-white summary,html.a11y-cursor-white .a11y-info-link,html.a11y-cursor-white .a11y-btn,html.a11y-cursor-white .a11y-tab,html.a11y-cursor-white .a11y-close,html.a11y-cursor-white .a11y-overlay-close,html.a11y-cursor-white [onclick],html.a11y-cursor-white [tabindex]{cursor:url(./bighandwhite.cur),pointer!important}
html.a11y-cursor-black,html.a11y-cursor-black *{cursor:url(./bigcursorblack.cur),auto!important}
html.a11y-cursor-black a,html.a11y-cursor-black a *,html.a11y-cursor-black button,html.a11y-cursor-black button *,html.a11y-cursor-black [role="button"],html.a11y-cursor-black [role="button"] *,html.a11y-cursor-black input[type="button"],html.a11y-cursor-black input[type="submit"],html.a11y-cursor-black input[type="reset"],html.a11y-cursor-black label,html.a11y-cursor-black select,html.a11y-cursor-black summary,html.a11y-cursor-black .a11y-info-link,html.a11y-cursor-black .a11y-btn,html.a11y-cursor-black .a11y-tab,html.a11y-cursor-black .a11y-close,html.a11y-cursor-black .a11y-overlay-close,html.a11y-cursor-black [onclick],html.a11y-cursor-black [tabindex]{cursor:url(./bighandblack.cur),pointer!important}
.a11y-header-actions{display:inline-flex;align-items:center;gap:8px}
.a11y-hide-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:0;border-radius:10px;background:transparent;color:#000;cursor:pointer}
.a11y-hide-btn svg{width:22px;height:22px;display:block}
.a11y-hide-btn:hover{background:#eceff3}
.a11y-hide-btn:focus-visible{outline:3px solid #1a73e8;outline-offset:2px}
.a11y-hide-form{display:grid;gap:10px;margin-top:14px}
.a11y-hide-option{display:flex;align-items:center;gap:10px;cursor:pointer}
.a11y-hide-option input{margin:0}
.a11y-hide-actions{display:grid;gap:10px;margin-top:16px}
.a11y-section-header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.a11y-section-title--inline{margin:0}
.a11y-hint-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center}
.a11y-hint-icon{width:22px;height:22px;border-radius:999px;border:1px solid #cfcfcf;background:#fff;color:#333;font-weight:700;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:default;transition:all .2s}
.a11y-hint-tooltip{position:absolute;right:calc(100% + 3px);top:calc(100% + -64px);min-width:218px;max-width:280px;padding:10px;border:1px solid #e5e5e5;border-radius:12px;background:#345fdf;color:#fff;font-size:13px;line-height:1.4;z-index:9999;opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity 120ms ease,transform 120ms ease,visibility 120ms ease;transition:all .2s}
.a11y-hint-wrap:hover .a11y-hint-tooltip{opacity:1;visibility:visible;transform:translateY(0)}
.a11y-footer{padding:10px 12px;border-top:1px solid rgba(0,0,0,0.08);display:flex;justify-content:center}
.a11y-brand{font-size:12px;color:#21304E;text-decoration:none;opacity:.85}
.a11y-brand:hover{text-decoration:underline;opacity:1}