/* PKDP Dostępność 1.2.0 – odseparowany panel, brak frameworków, brak fontów z zewnątrz. */
#slgwcag-ui,#slgwcag-ui *{box-sizing:border-box!important;letter-spacing:normal!important;word-spacing:normal!important;text-align:left!important;text-transform:none!important;filter:none!important;animation:none!important;transition:none!important}
#slgwcag-ui{position:fixed!important;bottom:20px!important;left:20px!important;right:auto!important;top:auto!important;z-index:2147483000!important;width:min(400px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;font:400 15px/1.5 system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;color:#102a45!important;direction:ltr!important}
#slgwcag-ui.slgwcag-side-right{left:auto!important;right:20px!important}
#slgwcag-ui details{margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:inherit!important}
#slgwcag-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;list-style:none!important;border:2px solid #fafafa!important;border-radius:30px!important;color:white!important;background:#133f69!important;padding:11px 17px!important;min-height:50px!important;box-shadow:0 4px 18px #10243e70!important;cursor:pointer!important;font:700 15px/1.2 system-ui,Arial,sans-serif!important;white-space:nowrap!important;max-width:100%!important}
#slgwcag-toggle::-webkit-details-marker{display:none!important}#slgwcag-toggle::marker{content:''}
#slgwcag-toggle svg{width:24px!important;height:24px!important;fill:none!important;color:inherit!important;flex:none!important}
#slgwcag-ui button,#slgwcag-ui select{font:600 14px/1.4 system-ui,Arial,sans-serif!important;min-height:42px!important;border-radius:7px!important;cursor:pointer!important}
#slgwcag-ui :is(button,select,summary,a,input):focus-visible{outline:3px solid #e7a82b!important;outline-offset:3px!important}
#slgwcag-panel{position:absolute!important;bottom:calc(100% + 10px)!important;left:0!important;right:auto!important;display:block!important;width:min(400px,calc(100vw - 32px))!important;max-height:min(74vh,740px)!important;overflow:auto!important;overscroll-behavior:contain!important;background:#fff!important;color:#102a45!important;border:2px solid #244b72!important;border-radius:14px!important;box-shadow:0 12px 45px #09223b5e!important;padding:16px!important}
#slgwcag-ui.slgwcag-side-right #slgwcag-panel{left:auto!important;right:0!important}
#slgwcag-details:not([open]) #slgwcag-panel{display:none!important}
#slgwcag-ui .slgwcag-panel-head{display:flex!important;align-items:start!important;justify-content:space-between!important;gap:12px!important;margin-bottom:7px!important}
#slgwcag-ui h2{font:750 20px/1.25 system-ui,Arial,sans-serif!important;margin:0!important;color:#102a45!important;padding:0!important}
#slgwcag-ui .slgwcag-close{background:#f0f5fa!important;color:#103c62!important;border:1px solid #abc1d4!important;padding:4px 12px!important;font-size:24px!important;line-height:1!important}
#slgwcag-ui p{font:400 13px/1.5 system-ui,Arial,sans-serif!important;margin:0 0 12px!important;color:#375977!important}
#slgwcag-ui .slgwcag-group{border:0!important;padding:0!important;margin:12px 0!important;min-width:0!important}
#slgwcag-ui :is(label,legend){display:block!important;color:#183c5b!important;font:700 13px/1.45 system-ui,Arial,sans-serif!important;margin:0 0 6px!important;padding:0!important}
#slgwcag-ui select{display:block!important;width:100%!important;max-width:100%!important;padding:9px 10px!important;background:#fff!important;color:#102a45!important;border:1px solid #9fb6c9!important;appearance:auto!important}
#slgwcag-ui .slgwcag-grid-small{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
#slgwcag-ui .slgwcag-options{margin:15px 0!important}
#slgwcag-ui .slgwcag-options legend{margin-bottom:9px!important}
#slgwcag-ui .slgwcag-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important}
#slgwcag-ui .slgwcag-options legend{grid-column:1/-1!important}
#slgwcag-ui .slgwcag-check{display:flex!important;align-items:center!important;gap:8px!important;min-height:57px!important;background:#f2f6fb!important;border:1px solid #d4e2ec!important;border-radius:9px!important;padding:10px!important;font:600 13px/1.25 system-ui,Arial,sans-serif!important;color:#123c5f!important;margin:0!important;cursor:pointer!important}
#slgwcag-ui .slgwcag-check:has(input:checked){background:#d8e9f8!important;border-color:#145a94!important}
#slgwcag-ui .slgwcag-check input{flex:0 0 19px!important;width:19px!important;height:19px!important;accent-color:#174b78!important;margin:0!important;cursor:pointer!important;min-height:19px!important}
#slgwcag-ui .slgwcag-check span{font:inherit!important;color:inherit!important}
#slgwcag-ui .slgwcag-help{font-size:12px!important}
#slgwcag-ui .slgwcag-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:7px!important;margin-top:8px!important}
#slgwcag-ui [data-slgwcag-reset]{background:#174b78!important;color:#fff!important;border:0!important;padding:10px 13px!important;flex:1 0 100%!important;text-align:center!important}
#slgwcag-ui .slgwcag-actions a{color:#084c86!important;font:650 13px/1.35 system-ui,Arial,sans-serif!important;text-decoration:underline!important;text-underline-offset:2px!important}
#slgwcag-ui .slgwcag-status:empty{display:none!important}#slgwcag-ui .slgwcag-status{margin-top:8px!important;color:#103c62!important}
.slgwcag-skip{position:fixed;top:-90px;left:10px;z-index:2147482900;background:#fff;color:#000;padding:12px 20px;border:2px solid #000}.slgwcag-skip:focus{top:10px}
/* Powiększenie opiera się na aktualnym rozmiarze poszczególnych napisów, także gdy motyw używa px. */
html.slgwcag-size-active [data-slgwcag-font]{font-size:calc(var(--slgwcag-native-size,16px) * var(--slgwcag-font-scale,1))!important}
html[data-slgwcag-lines='wide'] body :is(p,li,blockquote,figcaption,dd,dt){line-height:1.85!important}
html[data-slgwcag-lines='extra'] body :is(p,li,blockquote,figcaption,dd,dt){line-height:2.2!important}
html[data-slgwcag-letters='wide'] body :is(p,li,a,h1,h2,h3,h4,dd,dt,blockquote){letter-spacing:.075em!important;word-spacing:.14em!important}
html[data-slgwcag-letters='extra'] body :is(p,li,a,h1,h2,h3,h4,dd,dt,blockquote){letter-spacing:.14em!important;word-spacing:.2em!important}
html.slgwcag-font body :is(main,article,section,aside,p,h1,h2,h3,h4,h5,h6,ul,ol,button,input,textarea,label){font-family:Arial,Verdana,system-ui,sans-serif!important}
html.slgwcag-links body a:not(#slgwcag-ui a){text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:3px!important}
html.slgwcag-headings body :is(h1,h2,h3,h4,h5,h6){text-decoration:underline!important;text-decoration-color:#df9c29!important;text-decoration-thickness:3px!important;text-underline-offset:.2em!important}
html.slgwcag-focus body :focus-visible{outline:4px solid #ec9700!important;outline-offset:4px!important;box-shadow:0 0 0 2px #fff!important}
html.slgwcag-align body :is(main p,main li,main dd,article p,article li,article dd){text-align:left!important}
html.slgwcag-motion body *,html.slgwcag-motion body *::before,html.slgwcag-motion body *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.slgwcag-grayscale body > :not(#slgwcag-ui):not(#slgwcag-ruler){filter:grayscale(1)!important}
html.slgwcag-cursor body :not(#slgwcag-ui):not(#slgwcag-ui *){cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M3 1v29l7-9 6 10 5-3-6-10 11-2z' fill='white' stroke='black' stroke-width='3'/%3E%3C/svg%3E") 2 2,auto!important}
/* Kontrast działa na elementach HTML; osadzone odtwarzacze oraz kafelki mapy pozostają niezależne. */
html[data-slgwcag-contrast='light'] body :is(main,article,section,aside,header,footer,nav,p,div,ul,ol,li,blockquote,button,input,select,textarea):not(#slgwcag-ui):not(#slgwcag-ui *):not(.leaflet-container):not(.leaflet-container *):not([data-viewer]):not([data-viewer] *){background-color:#fff!important;color:#000!important;border-color:#222!important}
html[data-slgwcag-contrast='light'] body a:not(#slgwcag-ui a){color:#00356f!important;text-decoration:underline!important}
html[data-slgwcag-contrast='dark'] body :is(main,article,section,aside,header,footer,nav,p,div,ul,ol,li,blockquote,button,input,select,textarea):not(#slgwcag-ui):not(#slgwcag-ui *):not(.leaflet-container):not(.leaflet-container *):not([data-viewer]):not([data-viewer] *){background-color:#000!important;color:#fff!important;border-color:#fff!important}
html[data-slgwcag-contrast='dark'] body a:not(#slgwcag-ui a){color:#fff36d!important;text-decoration:underline!important}
html[data-slgwcag-contrast='dark'] body :is(svg:not(#slgwcag-ui svg),img:not(#slgwcag-ui img)){outline-color:#fff!important}
#slgwcag-ruler[hidden]{display:none!important}#slgwcag-ruler{position:fixed!important;z-index:2147482000!important;top:50%!important;left:0!important;right:0!important;height:38px!important;background:rgba(254,218,88,.16)!important;border-block:2px solid rgba(194,132,18,.75)!important;pointer-events:none!important}
@media(prefers-reduced-motion:reduce){html body *,html body *::before,html body *::after{scroll-behavior:auto!important}}
@media(max-width:720px){#slgwcag-ui{left:8px!important;bottom:8px!important;width:min(400px,calc(100vw - 16px))!important;max-width:calc(100vw - 16px)!important}#slgwcag-ui.slgwcag-side-right{left:auto!important;right:8px!important}#slgwcag-panel{width:min(400px,calc(100vw - 16px))!important;max-height:calc(100dvh - 98px)!important;bottom:calc(100% + 6px)!important}#slgwcag-ui .slgwcag-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:365px){#slgwcag-ui .slgwcag-options{grid-template-columns:1fr!important}#slgwcag-ui .slgwcag-grid-small{grid-template-columns:1fr!important}}

/* Ustawienie tła całej strony i pozostałych elementów tekstowych w trybach kontrastu. */
html[data-slgwcag-contrast='light'] body{background:#fff!important;color:#000!important}
html[data-slgwcag-contrast='dark'] body{background:#000!important;color:#fff!important}
html[data-slgwcag-contrast='light'] body :is(h1,h2,h3,h4,h5,h6,span,strong,em,small,code,legend,figcaption):not(#slgwcag-ui *):not(.leaflet-container *):not([data-viewer] *){color:#000!important}
html[data-slgwcag-contrast='dark'] body :is(h1,h2,h3,h4,h5,h6,span,strong,em,small,code,legend,figcaption):not(#slgwcag-ui *):not(.leaflet-container *):not([data-viewer] *){color:#fff!important}
/* Mapy i zewnętrzne odtwarzacze nie są zamalowywane narzędziem kontrastu. */
html[data-slgwcag-contrast='light'] body :is(main,article,section,aside,header,footer,nav,p,div,ul,ol,li,blockquote,button,input,select,textarea):is(.leaflet-container,.leaflet-container *,[data-viewer],[data-viewer] *){background-color:initial!important;border-color:initial!important}
html[data-slgwcag-contrast='dark'] body :is(main,article,section,aside,header,footer,nav,p,div,ul,ol,li,blockquote,button,input,select,textarea):is(.leaflet-container,.leaflet-container *,[data-viewer],[data-viewer] *){background-color:initial!important;border-color:initial!important}

#slgwcag-ui .slgwcag-quick{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:14px 0 11px!important}
#slgwcag-ui .slgwcag-quick button{border:1px solid #9fb6c9!important;background:#eef5fb!important;color:#123f65!important;padding:9px!important;font-size:12px!important;text-align:center!important;white-space:normal!important}
@media(max-width:365px){#slgwcag-ui .slgwcag-quick{grid-template-columns:1fr!important}}

/* 3.1.0: the decorative accessibility pictogram is pure CSS, not an aria-hidden DOM node.
   Accessible name comes solely from the visible, translated label. */
#slgwcag-toggle::before{content:""!important;display:block!important;width:24px!important;height:24px!important;flex:0 0 24px!important;background:currentColor!important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='3' r='2' fill='black'/%3E%3Cpath d='M3 8h18M12 7v13M12 13l-5 8m5-8 5 8' stroke='black' stroke-width='2.2' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='3' r='2' fill='black'/%3E%3Cpath d='M3 8h18M12 7v13M12 13l-5 8m5-8 5 8' stroke='black' stroke-width='2.2' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat!important}
/* Keep panel within the viewport at extreme zoom and short landscape viewports. */
#slgwcag-ui{bottom:max(8px,env(safe-area-inset-bottom))!important}
#slgwcag-panel{max-height:min(74dvh,740px,calc(100dvh - 100px))!important}
#slgwcag-ui .slgwcag-status:not(:empty){padding:8px 10px!important;background:#edf6ff!important;border-left:3px solid #164b78!important}
#slgwcag-ui a:hover{text-decoration-thickness:3px!important}
#slgwcag-ui .slgwcag-check:focus-within{outline:3px solid #c17800!important;outline-offset:2px!important}
@media(max-height:490px){#slgwcag-panel{max-height:calc(100dvh - 78px)!important}}
@media(forced-colors:active){#slgwcag-ui :is(button,select,summary,a,input):focus-visible{outline:3px solid Highlight!important}#slgwcag-toggle{border-color:ButtonText!important}#slgwcag-toggle::before{background:ButtonText!important}}


/* 1.2.0: niezależne umiejscowienie przycisku dla komputerów i telefonów.
   Domyślny prawy środek nie nakłada się na typowy baner cookies przy dolnej krawędzi. */
@media (min-width: 721px) {
 #slgwcag-ui {
  left:var(--slgwcag-edge-desktop,16px)!important;
  right:auto!important;
  top:auto!important;
  bottom:var(--slgwcag-vertical-desktop,100px)!important;
  transform:none!important;
 }
 #slgwcag-ui:is(.slgwcag-desktop-right-top,.slgwcag-desktop-right-middle,.slgwcag-desktop-right-bottom) {
  left:auto!important;
  right:var(--slgwcag-edge-desktop,16px)!important;
 }
 #slgwcag-ui:is(.slgwcag-desktop-left-top,.slgwcag-desktop-right-top) {
  top:var(--slgwcag-vertical-desktop,100px)!important;
  bottom:auto!important;
 }
 #slgwcag-ui:is(.slgwcag-desktop-left-middle,.slgwcag-desktop-right-middle) {
  top:50%!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
 }
 #slgwcag-ui:is(.slgwcag-desktop-right-top,.slgwcag-desktop-right-middle,.slgwcag-desktop-right-bottom) #slgwcag-toggle {
  display:flex!important;
  width:max-content!important;
  margin-left:auto!important;
 }
 #slgwcag-ui:is(.slgwcag-desktop-right-top,.slgwcag-desktop-right-middle,.slgwcag-desktop-right-bottom) #slgwcag-panel {
  left:auto!important;
  right:0!important;
 }
 #slgwcag-ui:is(.slgwcag-desktop-left-top,.slgwcag-desktop-right-top) #slgwcag-panel {
  top:calc(100% + 10px)!important;
  bottom:auto!important;
  max-height:min(74dvh,740px,calc(100dvh - var(--slgwcag-vertical-desktop,100px) - 88px))!important;
 }
 #slgwcag-ui:is(.slgwcag-desktop-left-middle,.slgwcag-desktop-right-middle) #slgwcag-panel {
  top:50%!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
  max-height:min(74dvh,740px,calc(100dvh - 24px))!important;
 }
}
@media (max-width: 720px) {
 #slgwcag-ui {
  width:min(400px,calc(100vw - 2 * var(--slgwcag-edge-mobile,12px)))!important;
  max-width:calc(100vw - 2 * var(--slgwcag-edge-mobile,12px))!important;
  left:var(--slgwcag-edge-mobile,12px)!important;
  right:auto!important;
  top:auto!important;
  bottom:max(var(--slgwcag-vertical-mobile,110px),env(safe-area-inset-bottom))!important;
  transform:none!important;
 }
 #slgwcag-ui:is(.slgwcag-mobile-right-top,.slgwcag-mobile-right-middle,.slgwcag-mobile-right-bottom) {
  left:auto!important;
  right:var(--slgwcag-edge-mobile,12px)!important;
 }
 #slgwcag-ui:is(.slgwcag-mobile-left-top,.slgwcag-mobile-right-top) {
  top:max(var(--slgwcag-vertical-mobile,110px),env(safe-area-inset-top))!important;
  bottom:auto!important;
 }
 #slgwcag-ui:is(.slgwcag-mobile-left-middle,.slgwcag-mobile-right-middle) {
  top:50%!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
 }
 #slgwcag-ui:is(.slgwcag-mobile-right-top,.slgwcag-mobile-right-middle,.slgwcag-mobile-right-bottom) #slgwcag-toggle {
  display:flex!important;
  width:max-content!important;
  margin-left:auto!important;
 }
 #slgwcag-ui:is(.slgwcag-mobile-right-top,.slgwcag-mobile-right-middle,.slgwcag-mobile-right-bottom) #slgwcag-panel {
  left:auto!important;
  right:0!important;
 }
 #slgwcag-panel {
  width:100%!important;
  max-width:100%!important;
 }
 #slgwcag-ui:is(.slgwcag-mobile-left-top,.slgwcag-mobile-right-top) #slgwcag-panel {
  top:calc(100% + 6px)!important;
  bottom:auto!important;
  max-height:min(74dvh,calc(100dvh - var(--slgwcag-vertical-mobile,110px) - 84px))!important;
 }
 #slgwcag-ui:is(.slgwcag-mobile-left-middle,.slgwcag-mobile-right-middle) #slgwcag-panel {
  top:50%!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
  max-height:min(80dvh,calc(100dvh - 16px))!important;
 }
}
/* Otwarty panel nad przyciskiem nie może wychodzić poza górną krawędź
   na niskich ekranach i telefonach w poziomie. */
@media (min-width: 721px) {
 #slgwcag-ui:is(.slgwcag-desktop-left-bottom,.slgwcag-desktop-right-bottom) #slgwcag-panel {
  max-height:min(74dvh,740px,calc(100dvh - var(--slgwcag-vertical-desktop,100px) - 88px))!important;
 }
}
@media (max-width: 720px) {
 #slgwcag-ui:is(.slgwcag-mobile-left-bottom,.slgwcag-mobile-right-bottom) #slgwcag-panel {
  max-height:min(74dvh,calc(100dvh - var(--slgwcag-vertical-mobile,110px) - 84px))!important;
 }
}
