/* Dogs4u accessibility layer (IS 5568 / WCAG 2.0 AA) - local, no external scripts. 29.10.2026 */
.a11y-skip{position:fixed;top:-60px;inset-inline-start:8px;z-index:2147483647;background:#1d1d1d;color:#fff!important;padding:10px 16px;border-radius:10px;font-weight:700;text-decoration:none;transition:top .15s}
.a11y-skip:focus{top:8px;outline:3px solid #ffbf47;outline-offset:2px}
.a11y-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}
/* visible focus ring everywhere (keyboard) */
:focus-visible{outline:3px solid #1a5fb4!important;outline-offset:2px!important;box-shadow:0 0 0 5px #fff!important}
input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #1a5fb4!important;outline-offset:1px!important}
/* contrast fixes (4.5:1) */
.lf-mini-b.lost{background:#C62828!important;color:#fff!important}
#bnav a.on span,#bnav a.active span,#bnav a[aria-current] span,#bnav a span{color:inherit}
#bnav a.on,#bnav a.active,#bnav a[aria-current="page"]{color:#B3261E!important}
a.back{color:#A33A12!important}
.src a,.muted a{color:#A8321F!important}
/* floating accessibility button + panel */
#a11y-btn{position:fixed;z-index:2147483000;inset-inline-end:10px;bottom:calc(92px + env(safe-area-inset-bottom,0px));width:46px;height:46px;border-radius:50%;border:2px solid #fff;background:#1a5fb4;color:#fff;box-shadow:0 3px 12px rgba(0,0,0,.3);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
#a11y-btn svg{width:28px;height:28px}
#a11y-panel{position:fixed;z-index:2147483001;inset-inline-end:10px;bottom:calc(146px + env(safe-area-inset-bottom,0px));width:min(300px,calc(100vw - 20px));max-height:calc(100vh - 170px);overflow:auto;background:#fff;color:#1d1d1d;border:2px solid #1a5fb4;border-radius:14px;padding:12px;box-shadow:0 8px 30px rgba(0,0,0,.3);font:16px/1.4 Arial,"Segoe UI",sans-serif;direction:rtl;text-align:right}
#a11y-panel[hidden]{display:none}
#a11y-panel h2{font-size:18px;margin:0 0 8px;color:#1d1d1d}
#a11y-panel .a11y-row{display:flex;gap:6px;margin:0 0 6px}
#a11y-panel button{flex:1;min-height:44px;border:1.5px solid #1a5fb4;background:#fff;color:#0d3b78;border-radius:10px;font:inherit;font-weight:700;cursor:pointer;padding:6px 8px;width:100%;margin:0 0 6px;text-align:center}
#a11y-panel .a11y-row button{margin:0}
#a11y-panel button[aria-pressed="true"]{background:#1a5fb4;color:#fff}
#a11y-panel a{display:block;color:#0d3b78;text-decoration:underline;margin-top:6px;font-weight:700}
#a11y-panel .a11y-close{position:absolute;top:6px;inset-inline-end:6px;width:36px;min-height:36px;padding:0;margin:0;border:none;font-size:22px}
.a11y-foot{margin:28px auto 8px;text-align:center;font-size:14px}
.a11y-foot a{color:#8A2E14;text-decoration:underline}
/* modes */
html.a11y-fs1 body{zoom:1.15}
html.a11y-fs2 body{zoom:1.3}
html.a11y-fs3 body{zoom:1.5}
html.a11y-font body,html.a11y-font body *:not(svg):not(i):not([data-icon]){font-family:Arial,Helvetica,sans-serif!important;letter-spacing:.03em!important;word-spacing:.08em!important;line-height:1.6}
html.a11y-links a{text-decoration:underline!important;outline:2px dashed #b3261e!important;outline-offset:1px;background:#fff3a0!important;color:#000!important}
html.a11y-hc,html.a11y-hc body{background:#000!important}
html.a11y-hc body *:not(img):not(video):not(svg):not(svg *):not(#a11y-panel):not(#a11y-panel *):not(#a11y-btn){background-color:#000!important;background-image:none!important;color:#fff!important;border-color:#fff!important;box-shadow:none!important;text-shadow:none!important}
html.a11y-hc body a,html.a11y-hc body a *{color:#ffeb3b!important}
html.a11y-hc body button,html.a11y-hc body .btn{border:1px solid #fff!important}
html.a11y-hc input::placeholder,html.a11y-hc textarea::placeholder{color:#ccc!important}
html.a11y-still *,html.a11y-still *::before,html.a11y-still *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media print{#a11y-btn,#a11y-panel,.a11y-skip{display:none!important}}

/* contrast fix 29.10: lost button 4.79:1 */
.btn.lf-btn-lost{background:#D13A3F;box-shadow:0 6px 14px rgba(209,58,63,.25)}
