/* Matapel Karov accessibility layer, Product 720 */
:root{--a11y-focus:#111827;--a11y-focus-bg:#fff;}

/* Keyboard focus */
:where(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:3px solid var(--a11y-focus)!important;
  outline-offset:3px!important;
  box-shadow:0 0 0 2px var(--a11y-focus-bg)!important;
}

/* Skip navigation */
.skip-link{
  position:fixed;top:8px;right:8px;z-index:20000;
  transform:translateY(-160%);background:#111827;color:#fff!important;
  padding:10px 14px;border-radius:10px;text-decoration:none!important;font-weight:800;
}
.skip-link:focus{transform:translateY(0)}

/* Better minimum target size for standalone controls */
.btn,button,select,input:not([type="checkbox"]):not([type="radio"]),textarea{min-height:44px}
input[type="checkbox"],input[type="radio"]{min-width:20px;min-height:20px}
.drawer-close,.cookie-close,.favorite-heart,.favorite-remove{min-width:44px;min-height:44px}

/* Status announcements should also be visible */
.status[role="status"]:empty{min-height:0}

/* Muted text was slightly below 4.5:1 on white in the base palette */
:root{--muted:#65736e}
::placeholder{color:#687771;opacity:1}

/* Respect operating-system motion preference */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* Accessibility control */
.a11y-widget{position:fixed;left:max(14px,env(safe-area-inset-left));bottom:max(14px,env(safe-area-inset-bottom));z-index:15000;direction:rtl;font-family:Arial,"Helvetica Neue",sans-serif}
.a11y-toggle{width:52px;height:52px;border-radius:50%;border:2px solid #fff;background:#244f45;color:#fff;font-size:24px;box-shadow:0 8px 28px rgba(0,0,0,.25);cursor:pointer;display:grid;place-items:center}
.a11y-menu{position:absolute;left:0;bottom:62px;width:min(310px,calc(100vw - 28px));background:#fff;color:#17211e;border:1px solid #cbd5d1;border-radius:16px;box-shadow:0 18px 55px rgba(0,0,0,.25);padding:14px;text-align:right}
.a11y-menu[hidden]{display:none!important}
.a11y-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}
.a11y-title{font-size:17px;font-weight:800}
.a11y-close{border:0;background:transparent;font-size:24px;cursor:pointer;min-width:44px;min-height:44px}
.a11y-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.a11y-option{border:1px solid #cbd5d1;background:#fff;color:#17211e;border-radius:11px;padding:10px;min-height:48px;cursor:pointer;font-weight:700;text-align:center}
.a11y-option[aria-pressed="true"]{background:#244f45;color:#fff;border-color:#244f45}
.a11y-reset{width:100%;margin-top:8px;border:1px solid #cbd5d1;background:#f5f7f6;color:#17211e;border-radius:11px;padding:10px;cursor:pointer;font-weight:700}
.a11y-statement{display:block;margin-top:10px;text-align:center;font-size:13px;color:#244f45;text-decoration:underline}

/* User-selected preferences */
html.a11y-contrast{filter:none!important}
html.a11y-contrast body{background:#000!important;color:#fff!important}
html.a11y-contrast :where(.topbar,.search-panel,.provider-card,.drawer-panel,.modal-card,.cookie-modal,.admin-card,.dash-card,.kpi,.growth-card,.pending-section,.pair,.entity,.seo-card,.quality-card,.empty){background:#000!important;color:#fff!important;border-color:#fff!important}
html.a11y-contrast :where(.muted,.brand-subtitle,.status,.provider-address,.provider-distance,.provider-rating,.pending-meta,.action-help){color:#f2f2f2!important}
html.a11y-contrast :where(a,.change-search,.claim-link){color:#ffea70!important}
html.a11y-contrast :where(.btn-light,.btn-secondary,.text-input,input,select,textarea){background:#111!important;color:#fff!important;border:2px solid #fff!important}
html.a11y-contrast :where(.btn-primary,.profile-action-btn.booking){background:#ffea70!important;color:#000!important;border:2px solid #fff!important}
html.a11y-links a:not(.btn){text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:3px!important}
html.a11y-focus-strong :where(a,button,input,select,textarea,[tabindex]):focus{outline:4px solid #ffbf00!important;outline-offset:4px!important;box-shadow:0 0 0 2px #000!important}
html.a11y-reduce-motion *,html.a11y-reduce-motion *::before,html.a11y-reduce-motion *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
html.a11y-large{zoom:1.12}
@supports not (zoom:1.12){html.a11y-large body{font-size:112.5%}}

@media(max-width:680px){
  .a11y-widget{left:10px;bottom:10px}.a11y-toggle{width:48px;height:48px}.a11y-menu{bottom:57px}
}
