.accessibility-open { display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center; gap:8px; min-width:42px; min-height:42px; padding:9px 12px; border:1px solid #cbdcf2; border-radius:999px; background:#f2f7ff; color:#3454a1; font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
.accessibility-open svg { width:22px; height:22px; flex:0 0 22px; }
.accessibility-open:hover { background:#e4efff; border-color:#8ba9d7; }
.accessibility-panel { width:min(580px,calc(100% - 24px)); max-width:none; max-height:calc(100dvh - 24px); margin:auto; overflow:auto; padding:26px; border:1px solid #cbdcf2; border-radius:26px; background:#fff; color:#142944; box-shadow:0 26px 75px rgb(20 41 68 / 25%); font-size:16px; }
.accessibility-panel::backdrop { background:rgb(14 31 55 / 50%); backdrop-filter:blur(3px); }
.accessibility-panel__heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.accessibility-panel h2 { margin:0 0 20px; font-size:26px; line-height:1.2; }
.accessibility-panel__close { width:40px; min-height:40px; flex:0 0 40px; border:1px solid #cbdcf2; border-radius:50%; background:#fff; color:#3454a1; font-size:26px; cursor:pointer; }
.accessibility-panel fieldset { min-width:0; margin:20px 0; padding:0; border:0; }
.accessibility-panel legend { margin-bottom:9px; font-size:15px; font-weight:700; }
.accessibility-options { display:flex; flex-wrap:wrap; gap:8px; }
.accessibility-options button,.accessibility-panel__reset { min-height:44px; padding:10px 14px; border:1px solid #cbdcf2; border-radius:12px; background:#f2f7ff; color:#243f82; font:inherit; font-size:15px; font-weight:650; cursor:pointer; }
.accessibility-options button[aria-pressed="true"] { border-color:#3454a1; background:#3454a1; color:#fff; box-shadow:0 4px 12px rgb(52 84 161 / 14%); }
.accessibility-panel__enable { display:flex; align-items:center; gap:12px; padding:15px; border:1px solid #d4e2f5; border-radius:15px; background:#f5f9ff; font-weight:650; }
.accessibility-panel input { width:22px; height:22px; accent-color:#3454a1; }
.accessibility-panel__status,.accessibility-panel__note { margin:15px 0 0; color:#43556c; font-size:13px; line-height:1.6; }
.accessibility-panel__reset { width:100%; margin-top:12px; background:#fff; }
.site-header__actions { gap:10px; }
@media(max-width:1200px) { .site-header__actions .site-header__phone { display:none; } }
@media(max-width:560px) {
  .site-header__inner > .brand { width:140px; }
  .accessibility-panel { padding:21px 18px; border-radius:22px; }
  .accessibility-panel h2 { font-size:24px; }
  .site-header__actions { gap:7px; }
  .site-header__actions .accessibility-open { width:38px; min-width:38px; min-height:38px; padding:7px; }
  .site-header__actions .accessibility-open span { display:none; }
}
@media(max-width:380px) {
  .site-header__inner > .brand { width:112px; }
  .site-header__inner { gap:8px; }
  .site-header__actions .button { min-height:38px; padding:10px 11px; font-size:11px; }
}
html.a11y-enabled { --a11y-bg:#fff; --a11y-ink:#111; --a11y-link:#173e80; --a11y-surface:#f3f5f8; scroll-behavior:auto; }
html.a11y-enabled[data-a11y-theme="dark"] { --a11y-bg:#111; --a11y-ink:#fff; --a11y-link:#b8d9ff; --a11y-surface:#222; color-scheme:dark; }
html.a11y-enabled[data-a11y-theme="blue"] { --a11y-bg:#e5f2ff; --a11y-ink:#102b50; --a11y-link:#123f80; --a11y-surface:#d4e7fa; }
html.a11y-enabled body { background:var(--a11y-bg)!important; color:var(--a11y-ink)!important; --ink:var(--a11y-ink); --ink-soft:var(--a11y-ink); --canvas:var(--a11y-bg); --surface:var(--a11y-bg); --line:var(--a11y-ink); }
html.a11y-enabled body * { color:var(--a11y-ink)!important; background-image:none!important; box-shadow:none!important; text-shadow:none!important; animation:none!important; transition:none!important; scroll-behavior:auto!important; -webkit-text-fill-color:currentColor!important; }
html.a11y-enabled body :where(div,p,span,label,small,li,ul,ol,table,tr,td,th) { background-color:transparent!important; }
html.a11y-enabled :is(header,footer,main,section,article,nav,aside,dialog,form,fieldset,.container,.article-content,.directory-card__body,.booking-dialog__panel,.booking-preview,.message-dialog__panel,.accessibility-panel) { background:var(--a11y-bg)!important; }
html.a11y-enabled :is(a,button,input,select,textarea,label,.button,.price-row,.tax-choice,.tax-field,.accessibility-panel__enable,.accessibility-options button,.accessibility-panel__reset) { border-color:var(--a11y-ink)!important; }
html.a11y-enabled :is(button,input,select,textarea,.button,.tax-choice,.accessibility-options button,.accessibility-panel__reset) { background:var(--a11y-surface)!important; }
html.a11y-enabled a:not(.button):not(.brand) { color:var(--a11y-link)!important; text-decoration:underline!important; text-underline-offset:.2em; }
html.a11y-enabled :is([aria-pressed="true"],.button:not(.button--quiet)) { background:var(--a11y-ink)!important; color:var(--a11y-bg)!important; }
html.a11y-enabled :is([aria-pressed="true"],.button:not(.button--quiet)) * { color:inherit!important; -webkit-text-fill-color:currentColor!important; }
html.a11y-enabled .accessibility-panel__enable { background:var(--a11y-surface)!important; }
html.a11y-enabled [data-a11y-text] { font-size:calc(var(--a11y-base-size,16px) * var(--a11y-scale,1))!important; line-height:1.6!important; overflow-wrap:anywhere; }
html.a11y-enabled :is(h1,h2,h3,h4) { line-height:1.35!important; }
html.a11y-enabled .brand__mark { background-image:url('../images/brand-logo.png')!important; }
html.a11y-enabled .brand::after,html.a11y-enabled .hero::before,html.a11y-enabled .hero::after { display:none!important; }
html.a11y-enabled .site-header { position:relative; backdrop-filter:none; }
html.a11y-enabled .site-header__inner { flex-wrap:wrap; }
html.a11y-enabled .site-nav { flex-wrap:wrap; }
html.a11y-enabled .site-nav a { white-space:normal; }
html.a11y-enabled .site-header__actions { flex-wrap:wrap; }
html.a11y-enabled .directory-grid--doctors { grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr)); }
html.a11y-enabled .feature-slide,html.a11y-enabled .hero__grid { min-height:0; height:auto; }
html.a11y-enabled :focus-visible { outline:3px solid var(--a11y-ink)!important; outline-offset:4px; }
html.a11y-enabled.a11y-spaced [data-a11y-text] { letter-spacing:.08em!important; word-spacing:.12em!important; line-height:1.9!important; }
html.a11y-enabled[data-a11y-images="gray"] img,html.a11y-enabled[data-a11y-images="gray"] .brand__mark { filter:grayscale(1); }
html.a11y-enabled[data-a11y-images="hide"] main img,html.a11y-enabled[data-a11y-images="hide"] main picture { display:none!important; }
html.a11y-enabled[data-a11y-images="hide"] :is(.directory-card__photo,.feature-slide__media,.detail-photo,.team-showcase__media) { display:none!important; }
html.a11y-enabled[data-a11y-images="hide"] .detail-layout { grid-template-columns:1fr; }
html.a11y-enabled .accessibility-panel * { font-size:inherit; }
html.a11y-enabled .accessibility-panel h2 { font-size:26px; }
@media(min-width:801px) { html.a11y-enabled .site-nav { order:3; width:100%; justify-content:center; padding-block:8px; } }
@media print { .accessibility-open,.accessibility-panel { display:none!important; } }
