/* Widget dostępności: rozmiar tekstu + wysoki kontrast. Nie modyfikuje style.css. */

.a11y-widget{position:fixed;left:16px;bottom:16px;z-index:999;font-family:Arial,Helvetica,sans-serif}

.a11y-toggle{
  width:48px;height:48px;border-radius:999px;border:none;
  background:var(--burgundy,#961f37);color:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 14px rgba(0,0,0,.25);cursor:pointer;
}
.a11y-toggle:hover{background:var(--burgundy-dark,#6e1427)}
.a11y-toggle svg{width:24px;height:24px}

.a11y-panel{
  position:absolute;left:0;bottom:58px;
  width:220px;background:#fff;color:#1c1917;
  border:1px solid #e2ddd8;border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.18);
  padding:14px;font-size:14px;line-height:1.4;
}
.a11y-panel[hidden]{display:none}
.a11y-panel-title{margin:0 0 10px;font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:#625b57}
.a11y-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px}
.a11y-row:last-child{margin-bottom:0}
.a11y-row span{font-weight:600}

.a11y-panel button{
  font-family:inherit;cursor:pointer;border-radius:8px;
  border:1px solid #c9c2bc;background:#fff;color:#1c1917;
  min-width:36px;min-height:36px;font-weight:700;
}
.a11y-panel button:hover{background:#f7f3ef}

#a11y-contrast-toggle{width:100%;min-height:40px;text-align:left;padding:0 10px}
#a11y-contrast-toggle[aria-pressed="true"]{background:#1c1917;color:#fff;border-color:#1c1917}

.a11y-panel button:focus-visible,.a11y-toggle:focus-visible{
  outline:3px solid var(--burgundy,#961f37);outline-offset:2px;
}

@media (max-width:560px){
  .a11y-widget{left:12px;bottom:12px}
  .a11y-panel{width:200px}
}

/* ---- Tryb wysokiego kontrastu: czarne tło, biały tekst, żółte akcenty ---- */
/* Rozpoznawalny schemat znany z serwisów publicznych (gov.pl i podobne). */
html.a11y-contrast body{background:#000 !important}

html.a11y-contrast *{
  background-color:#000 !important;
  background-image:none !important;
  color:#fff !important;
  border-color:#ffe600 !important;
  box-shadow:none !important;
  text-shadow:none !important;
}

html.a11y-contrast img{
  filter:none !important;
  outline:2px solid #ffe600;
  outline-offset:2px;
}

html.a11y-contrast a,
html.a11y-contrast .eyebrow,
html.a11y-contrast .eyebrow--light,
html.a11y-contrast .path-number,
html.a11y-contrast .status-pill{
  color:#ffe600 !important;
}

html.a11y-contrast p a,
html.a11y-contrast li a,
html.a11y-contrast .legal-content a,
html.a11y-contrast .contact-note a{
  text-decoration:underline;
}

html.a11y-contrast .button,
html.a11y-contrast button:not(.a11y-toggle){
  background:#000 !important;
  color:#ffe600 !important;
  border:2px solid #ffe600 !important;
}

html.a11y-contrast :focus-visible{
  outline:3px solid #ffe600 !important;outline-offset:3px !important;
}

html.a11y-contrast .a11y-toggle{
  background:#000 !important;color:#ffe600 !important;border:2px solid #ffe600 !important;
}
html.a11y-contrast .a11y-panel{
  background:#000 !important;border:2px solid #ffe600 !important;
}
html.a11y-contrast .a11y-panel-title{color:#ffe600 !important}
html.a11y-contrast .a11y-panel button{
  background:#000 !important;color:#ffe600 !important;border:1px solid #ffe600 !important;
}
html.a11y-contrast #a11y-contrast-toggle[aria-pressed="true"]{
  background:#ffe600 !important;color:#000 !important;
}
