/* Panel dostępności: motyw jasny/ciemny, rozmiar tekstu, wysoki kontrast */
.wk-a11y-btn{position:fixed;right:0;top:42%;z-index:90;width:92px;height:92px;border:2px solid var(--blue);border-right:0;border-radius:20px 0 0 20px;background:#fff;color:#0f172a;font-size:2.7rem;line-height:1;cursor:pointer;display:grid;place-items:center;box-shadow:0 4px 14px rgba(15,23,42,.2)}
.wk-a11y-btn:focus-visible,.wk-a11y-panel button:focus-visible{outline:3px solid #f59e0b;outline-offset:2px}
.wk-a11y-panel{position:fixed;right:100px;top:30%;z-index:91;width:min(300px,calc(100vw - 116px));background:#fff;color:#0f172a;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 12px 34px rgba(15,23,42,.25);padding:1rem;font-size:1rem}
.wk-a11y-panel[hidden]{display:none}
.wk-a11y-panel h2{font-size:1.05rem;margin:0 0 .7rem;color:inherit}
.wk-a11y-row{margin:0 0 .8rem}
.wk-a11y-row b{display:block;margin-bottom:.3rem;font-size:.9rem}
.wk-a11y-group{display:flex;gap:.4rem}
.wk-a11y-panel button{flex:1;padding:.5rem .4rem;border-radius:10px;border:1px solid #94a3b8;background:#f8fafc;color:#0f172a;font:inherit;font-size:.9rem;font-weight:600;cursor:pointer}
.wk-a11y-panel button[aria-pressed=true]{background:var(--blue);border-color:var(--blue);color:#fff}
.wk-a11y-panel .wk-a11y-reset{width:100%;flex:none;margin-top:.2rem}
@media(max-width:699px){.wk-a11y-btn{top:36%;width:64px;height:64px;font-size:1.9rem}.wk-a11y-panel{right:72px;width:min(300px,calc(100vw - 88px))}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Kontrast AA: ciemniejszy niebieski marki (biały tekst na przyciskach i niebieski tekst na białym tle >= 4.5:1) */
html:root{--blue:#2563eb}
html[data-theme=dark] .tag,html[data-theme=dark] .eyebrow,html[data-theme=dark] .meta,html[data-theme=dark] .logo b span{color:#7db4ff}

/* ---- Ciemny motyw ---- */
html[data-theme=dark]{color-scheme:dark;--bg:#0b1220;--slate:#cbd5e1;--ink:#f1f5f9;--line:#27344a}
html[data-theme=dark] body{background:var(--bg);color:var(--slate)}
html[data-theme=dark] a{color:#7db4ff}
html[data-theme=dark] .site-header{background:#0b1220;border-color:var(--line)}
html[data-theme=dark] .section--white,html[data-theme=dark] .card,html[data-theme=dark] details,html[data-theme=dark] .pagination a,html[data-theme=dark] .pagination span,html[data-theme=dark] .nav-mobile nav,html[data-theme=dark] .nav-mobile summary,html[data-theme=dark] .mobile-bar{background:#111a2b;color:var(--slate)}
html[data-theme=dark] .mobile-bar{border-color:var(--line)}
html[data-theme=dark] .section--dark{background:#0a1020;color:#e2e8f0}
html[data-theme=dark] .site-footer{background:#060a14}
html[data-theme=dark] .btn--light{color:#0f172a}
html[data-theme=dark] a.btn,html[data-theme=dark] .btn{color:#fff}
html[data-theme=dark] .btn--light,html[data-theme=dark] a.btn--light{color:#0f172a}
html[data-theme=dark] .btn--ghost{background:transparent;color:#7db4ff}
html[data-theme=dark] .btn--ghost:hover{background:#111a2b}
html[data-theme=dark] .entry-meta,html[data-theme=dark] .breadcrumbs,html[data-theme=dark] .see-also,html[data-theme=dark] .quote figcaption{color:#94a3b8}
html[data-theme=dark] .cta-box,html[data-theme=dark] .cta-box h2,html[data-theme=dark] .cta-box h3,html[data-theme=dark] .cta-box p{color:#fff}
html[data-theme=dark] .wk-consent,html[data-theme=dark] .wk-a11y-btn,html[data-theme=dark] .wk-a11y-panel{background:#111a2b;color:#f1f5f9;border-color:#3b4a63}
html[data-theme=dark] .wk-a11y-panel button{background:#1b2740;color:#f1f5f9;border-color:#4b5b78}
html[data-theme=dark] .wk-a11y-panel button[aria-pressed=true]{background:var(--blue);color:#fff}
html[data-theme=dark] .wk-consent a{color:#7db4ff}
html[data-theme=dark] .inquiry{background:rgba(255,255,255,.05);border-color:#3b4a63}
html[data-theme=dark] .inquiry input[type=text],html[data-theme=dark] .inquiry input[type=tel],html[data-theme=dark] .inquiry select,html[data-theme=dark] .inquiry textarea{background:#0b1220;color:#f1f5f9;border-color:#4b5b78}
html[data-theme=dark] .inquiry__msg{background:#e2e8f0;color:#0f172a}
html[data-theme=dark] .inquiry__consent a{color:#7db4ff}
html[data-theme=dark] img{opacity:.92}

/* ---- Wysoki kontrast ---- */
html[data-contrast=high]{--bg:#000;--slate:#fff;--ink:#ffeb3b;--line:#fff;--blue:#ffeb3b;--cyan:#ffeb3b;color-scheme:dark}
html[data-contrast=high] body,html[data-contrast=high] .site-header,html[data-contrast=high] .section--white,html[data-contrast=high] .section--dark,html[data-contrast=high] .card,html[data-contrast=high] details,html[data-contrast=high] .site-footer,html[data-contrast=high] .mobile-bar,html[data-contrast=high] .nav-mobile nav,html[data-contrast=high] .nav-mobile summary,html[data-contrast=high] .hero,html[data-contrast=high] .inquiry,html[data-contrast=high] .wk-consent,html[data-contrast=high] .wk-a11y-panel,html[data-contrast=high] .wk-a11y-btn,html[data-contrast=high] .pagination a{background:#000!important;color:#fff!important}
html[data-contrast=high] h1,html[data-contrast=high] h2,html[data-contrast=high] h3,html[data-contrast=high] h4,html[data-contrast=high] .gradient{color:#ffeb3b!important;background:none!important;-webkit-text-fill-color:#ffeb3b!important}
html[data-contrast=high] a,html[data-contrast=high] .site-footer a{color:#ffeb3b!important;text-decoration:underline!important}
html[data-contrast=high] .btn,html[data-contrast=high] a.btn,html[data-contrast=high] .btn--light,html[data-contrast=high] .btn--ghost,html[data-contrast=high] .cta-box{background:#ffeb3b!important;color:#000!important;border:2px solid #fff!important;text-decoration:none!important}
html[data-contrast=high] .cta-box h2,html[data-contrast=high] .cta-box h3,html[data-contrast=high] .cta-box p{color:#000!important;-webkit-text-fill-color:#000!important}
html[data-contrast=high] .card,html[data-contrast=high] details,html[data-contrast=high] .inquiry,html[data-contrast=high] .wk-consent,html[data-contrast=high] .wk-a11y-panel,html[data-contrast=high] .wk-a11y-btn,html[data-contrast=high] .site-header,html[data-contrast=high] .site-footer{border:2px solid #fff!important}
html[data-contrast=high] .inquiry input[type=text],html[data-contrast=high] .inquiry input[type=tel],html[data-contrast=high] .inquiry select,html[data-contrast=high] .inquiry textarea{background:#000;color:#fff;border:2px solid #ffeb3b}
html[data-contrast=high] .inquiry label,html[data-contrast=high] .inquiry h3,html[data-contrast=high] .inquiry__consent a{color:#fff!important}
html[data-contrast=high] .inquiry__msg{background:#fff!important;color:#000!important}
html[data-contrast=high] .wk-a11y-panel button{background:#000;color:#fff;border:2px solid #fff}
html[data-contrast=high] .wk-a11y-panel button[aria-pressed=true]{background:#ffeb3b;color:#000}
html[data-contrast=high] img{filter:contrast(1.1)}
html[data-contrast=high] *:focus-visible{outline:3px solid #fff!important;outline-offset:3px}
html[data-contrast=high] .n,html[data-contrast=high] .steps .n{background:#ffeb3b!important;color:#000!important;-webkit-text-fill-color:#000!important}
