/* Z115: przelacznik dostepnosci. Domyslny wyglad strony bez zmian, tryby wlaczaja klasy na <html>. */
.zp-dost{--zp-dost-tlo:#071f37;--zp-dost-akcent:#2f7a00;--zp-dost-roz:#ff176b;position:fixed;right:0;top:45vh;z-index:9000;font-family:Manrope,sans-serif;color:#071f37}
/* Zakladka przy prawej krawedzi na kazdej szerokosci: tresc stron siega prawie do krawedzi okna, okragly przycisk wchodzil na karty. */
.zp-dost__przycisk{display:grid;place-items:center;width:26px;height:48px;padding:0;border:3px solid #fff;border-right:0;border-radius:24px 0 0 24px;background:var(--zp-dost-tlo);color:#fff;cursor:pointer;box-shadow:0 6px 16px rgba(7,31,55,.28)}
.zp-dost__przycisk svg{width:20px;height:20px;margin-left:2px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.zp-dost__przycisk .zp-dost__glowa{fill:currentColor;stroke:none}
.zp-dost__panel{position:absolute;right:36px;bottom:0;width:300px;max-width:calc(100vw - 48px);padding:18px 20px 16px;background:#fff;border-radius:24px;box-shadow:0 18px 48px rgba(20,55,78,.24)}
.zp-dost__panel[hidden]{display:none}
.zp-dost__panel:focus{outline:none}
.zp-dost__glowka{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.zp-dost__tytul{margin:0;font-family:Nunito,sans-serif;font-size:20px;font-weight:900}
.zp-dost__zamknij{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#f1f5f7;color:#071f37;cursor:pointer}
.zp-dost__zamknij svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.zp-dost__grupa{margin:0 0 14px;padding:0;border:0;min-width:0}
.zp-dost__grupa legend{padding:0;margin-bottom:8px;font-size:14px;font-weight:800}
.zp-dost__opcje{display:grid;gap:6px}
.zp-dost__opcje--dwie{grid-template-columns:1fr 1fr;padding:4px;border-radius:14px;background:#f1f5f7}
.zp-dost__opcje--trzy{grid-template-columns:repeat(3,1fr)}
.zp-dost__opcje label{position:relative;display:block;cursor:pointer}
.zp-dost__opcje input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.zp-dost__opcje span{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:11px;font-size:14px;font-weight:800;color:#2a4458;transition:background-color .15s,color .15s}
.zp-dost__opcje--trzy span{border:2px solid #dce7eb;border-radius:12px;background:#fff}
.zp-dost__opcje input:checked+span{background:var(--zp-dost-akcent);border-color:var(--zp-dost-akcent);color:#fff}
.zp-dost__opcje input:focus-visible+span{outline:3px solid #071f37;outline-offset:2px}
.zp-dost__a0{font-size:15px!important}.zp-dost__a1{font-size:18px!important}.zp-dost__a2{font-size:21px!important}
.zp-dost__reset{padding:6px 0;border:0;background:none;color:#d4004f;font:inherit;font-size:13px;font-weight:800;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.zp-dost :focus-visible{outline:3px solid #071f37;outline-offset:3px}
.zp-dost__przycisk:focus-visible{outline:3px solid #ff176b;outline-offset:3px}
.zp-dost--dol .zp-dost__panel{top:0;bottom:auto}
@media(max-width:650px){.zp-dost{top:auto;bottom:96px}.zp-dost__panel{width:280px}
  /* zakladka lezy na dolnym pasku Wspieram karty dziecka, pasek zostawia jej miejsce z prawej */
  .k-sticky{padding-right:44px!important}
  /* bez wolnego miejsca przy krawedzi zakladka chowa sie za ekran, fokus z klawiatury ja przywraca */
  .zp-dost--schowana{transform:translateX(100%)}.zp-dost--schowana:focus-within{transform:none}}
@media(prefers-reduced-motion:reduce){.zp-dost__opcje span{transition:none}}

/* Wielkosc tekstu: strona ma rozmiary w px, wiec powiekszamy cala tresc (tekst i jego pudelka razem, bez nachodzenia). */
html.zp-tekst-1 body{zoom:1.15}
html.zp-tekst-2 body{zoom:1.3}
html.zp-tekst-1 .zp-dost{zoom:calc(1/1.15)}
html.zp-tekst-2 .zp-dost{zoom:calc(1/1.3)}
@media(max-width:650px){html.zp-tekst-1 body{zoom:1.08}html.zp-tekst-2 body{zoom:1.16}html.zp-tekst-1 .zp-dost{zoom:calc(1/1.08)}html.zp-tekst-2 .zp-dost{zoom:calc(1/1.16)}html.zp-tekst-1 :is(.k-top,.k-rail){zoom:calc(1/1.08)}html.zp-tekst-2 :is(.k-top,.k-rail){zoom:calc(1/1.16)}}
/* Na waskim telefonie logo konczy sie przed "Zaloguj sie" (wczesniej ".pl" wchodzilo pod przycisk takze w zwyklym trybie). */
@media(max-width:420px){.k-brand img{width:118px;height:auto}}
@media(max-width:359px){.k-brand img{width:96px}}

/* Wysoki kontrast: czarne tlo, bialy tekst, zolte linki i przyciski, bez cieni, gradientow i animacji.
   Kontenery sa przezroczyste na czarnym tle strony (nie zakrywaja wykresow ani zdjec), czarne tlo dostaje tekst,
   zeby byl czytelny takze na zdjeciu, oraz panele i paski przyklejone do ekranu. */
html.zp-kontrast,html.zp-kontrast body{background:#000!important;color:#fff!important;color-scheme:dark}
html.zp-kontrast body :where(*:not(img):not(video):not(svg):not(svg *)){background-color:transparent!important;color:#fff!important;border-color:#fff!important}
html.zp-kontrast body :where(*:not(img):not(video):not(svg):not(svg *):not(i)){background-image:none!important}
html.zp-kontrast body :where(*)::before,html.zp-kontrast body :where(*)::after{background-image:none!important;background-color:transparent!important;border-color:#fff!important}
html.zp-kontrast body :where(*,*::before,*::after){box-shadow:none!important;text-shadow:none!important;filter:none!important;backdrop-filter:none!important;animation:none!important;transition:none!important}
html.zp-kontrast body :where(h1,h2,h3,h4,h5,h6,p,span,b,strong,small,em,label,li,dt,dd,td,th,a,button,legend,figcaption,blockquote,time){background-color:#000!important}
html.zp-kontrast body [aria-hidden=true]:not(svg){background-color:transparent!important}
html.zp-kontrast body :where(header,nav,footer,dialog,[class*=sticky],[class*=panel],[class*=menu],[class*=modal],[class*=toast],[class*=popup],[class*=dropdown],[class*=overlay]){background-color:#000!important}
html.zp-kontrast body :where([class*=card],[class*=tile],[class*=box],[class*=kafel],[class*=karta],[class*=goal],[class*=photo-img],[class*=chips]>*,[class*=ribbon],[class*=login],[class*=days],[class*=btn],[class*=button],[class*=przycisk]):not([class*=cards],[class*=tiles],[class*=top],[class*=copy],[class*=ikona],[class*=head],[class*=sum],[class*=wash]){border:2px solid #fff!important}
html.zp-kontrast body a,html.zp-kontrast body a *{color:#ffeb3b!important}
html.zp-kontrast body a{text-decoration:underline!important;text-underline-offset:3px}
html.zp-kontrast body :is(button,[role=button],input[type=submit],a[class*=btn],a[class*=button],a[class*=ribbon],a[class*=login],a[class*=przycisk]){border:2px solid #ffeb3b!important;color:#ffeb3b!important;background:#000!important}
html.zp-kontrast body :is(input:not([type=submit]):not([type=radio]):not([type=checkbox]),select,textarea){background:#000!important;color:#fff!important;border:2px solid #fff!important}
html.zp-kontrast body :is(nav a.active,nav a[aria-current=page]),html.zp-kontrast body :is(nav a.active,nav a[aria-current=page]) *{background-color:#ffeb3b!important;color:#000!important;text-decoration:none!important}
html.zp-kontrast body [class*=urgent]{border:2px solid #ffeb3b!important;color:#ffeb3b!important}
html.zp-kontrast ::placeholder{color:#ccc!important;opacity:1}
html.zp-kontrast img,html.zp-kontrast video{filter:none!important;opacity:1!important}
html.zp-kontrast body svg{color:#fff;stroke:currentColor}
html.zp-kontrast body :is(a,button) svg{color:#ffeb3b}
html.zp-kontrast body svg [stroke]:not([stroke=none]){stroke:currentColor!important}
html.zp-kontrast body [class*=ring] circle:last-of-type{stroke:#ffeb3b!important}
html.zp-kontrast body [class*=ring] circle:first-of-type:not(:last-of-type){stroke:#555!important}
html.zp-kontrast :focus-visible{outline:3px solid #ffeb3b!important;outline-offset:3px!important}
html.zp-kontrast body .zp-dost__przycisk,html.zp-kontrast body .zp-dost__przycisk svg{background:#ffeb3b!important;color:#000!important;border:3px solid #fff!important}
html.zp-kontrast body .zp-dost__przycisk svg{border:0!important}
html.zp-kontrast body .zp-dost__panel{background:#000!important;border:2px solid #fff!important}
html.zp-kontrast body .zp-dost__opcje span{border:2px solid #fff!important}
html.zp-kontrast body .zp-dost__opcje input:checked+span{background:#ffeb3b!important;color:#000!important;border-color:#ffeb3b!important}
/* Jak w wizualizacji: najwazniejsze liczby zolte, nawigacja biala bez podkreslen, aktywna zakladka zolta z kreska. */
html.zp-kontrast body :is([class*=goal-head] strong,[data-kwota],[data-kwota-glowna],[data-procent],[class*=days] b,[class*=ring-heart],[class*=campaign-sum] strong,.ring strong,.ring b){color:#ffeb3b!important}
html.zp-kontrast body nav a:not(.active):not([aria-current=page]),html.zp-kontrast body nav a:not(.active):not([aria-current=page]) *{color:#fff!important;text-decoration:none!important}
html.zp-kontrast body nav a:not(.active):not([aria-current=page]):hover{text-decoration:underline!important}
html.zp-kontrast body [class*=crumbs] b{color:#ffeb3b!important}
html.zp-kontrast body :is([class*=tabs] a.active,[class*=tabs] a[aria-current=page]),html.zp-kontrast body :is([class*=tabs] a.active,[class*=tabs] a[aria-current=page]) *{background-color:#000!important;color:#ffeb3b!important}
html.zp-kontrast body :is([class*=tabs] a.active,[class*=tabs] a[aria-current=page]){border-bottom:3px solid #ffeb3b!important}
html.zp-kontrast body button.k-more{border:0!important;padding-left:0!important;text-decoration:underline!important;text-underline-offset:3px}
html.zp-kontrast body nav svg.fill,html.zp-kontrast body nav svg.fill *{fill:currentColor!important}
/* Poprawki r1. Zakladki: jedna cienka linia pod paskiem, zolta kreska 3 px tylko pod aktywna (pasek przycina dzieci, wiec bez ujemnego marginesu). */
html.zp-kontrast body .k-tabs{border-bottom:1px solid #fff!important}
html.zp-kontrast body .k-tabs a{margin-bottom:0!important;border-bottom:3px solid transparent!important}
html.zp-kontrast body .k-tabs a.active{border-bottom-color:#ffeb3b!important}
/* Chip "na zywo" z zielona ramka i kropka, "Napisz wiadomosc wsparcia" jako przycisk w zoltej ramce. */
html.zp-kontrast body .k-live{border:2px solid #4fb300!important;color:#8fe04a!important;border-radius:9px}
html.zp-kontrast body .k-live::before{background-color:#4fb300!important}
html.zp-kontrast body a.k-write{border:2px solid #ffeb3b!important;border-radius:10px;text-decoration:none!important}
/* Przyciski bez podkreslen, podkreslenie zostaje tylko linkom w tekscie. */
html.zp-kontrast body :is(a[class*=btn],a[class*=button],a[class*=ribbon],a[class*=login],a[class*=przycisk],a[class*=write],a[class*=cta]){text-decoration:none!important}
/* Logo jasne (ten sam znak, bez przestawiania elementow), serce przy historii zolte, wstazka jako prosty prostokat w zoltej ramce. */
html.zp-kontrast body :is(.k-brand,.brand,.mp-logo,.footer-brand) img,html.zp-kontrast body img[alt^=ZawszePomagam]{filter:brightness(0) invert(1)!important;opacity:1!important}
html.zp-kontrast body :is(.k-brand,.mp-logo){background-color:transparent!important}
html.zp-kontrast body .brand{background-color:#000!important;border-radius:0 0 18px 0;padding:8px}
html.zp-kontrast body .k-heart{color:#ffeb3b!important;background-color:transparent!important}
html.zp-kontrast body :is(.k-ribbon,.top-actions>a[href="#dzieci"]){transform:none!important;border-radius:0!important;border:2px solid #ffeb3b!important;text-decoration:none!important}
html.zp-kontrast body .k-ribbon span{display:none!important}
/* Kopiowanie: zolty symbol zamiast granatowego, zielony znak po skopiowaniu. */
html.zp-kontrast body button.k-copy{border:0!important;background:center/18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffeb3b' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='12' height='12' rx='2'/%3E%3Cpath d='M16 8V5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h3'/%3E%3C/svg%3E")!important}
html.zp-kontrast body button.k-copy.ok{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fe04a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E")!important}
/* Glowna: dekoracje na zdjeciu schowane, tekst hero na jednym czarnym panelu zamiast pasow pod linijkami, karty z ramka. */
html.zp-kontrast body :is(.float-shape,.hero-wash){display:none!important}
html.zp-kontrast body :is(.hero-copy,.goal-card,.good-sticker){background-color:#000!important;border:2px solid #fff!important;border-radius:20px;padding:18px 22px}
html.zp-kontrast body .good-sticker{transform:none!important;padding:8px 14px}
html.zp-kontrast body :is(.hero-copy,.goal-card,.good-sticker) :where(*:not(a):not(button)){background-color:transparent!important}
html.zp-kontrast body .paper-stats{clip-path:none!important;border:2px solid #fff!important;border-radius:16px}
html.zp-kontrast body .paper-stats :where(*){background-color:transparent!important}
/* Poprawki r4: obszar zdjecia karty w bialej ramce jak karta Zebrano, bez zdjecia ciemnoszare tlo zastepcze zamiast czarnej pustki. */
html.zp-kontrast body .k-photo{border:2px solid #fff!important;background-color:#1a1a1a!important}
html.zp-kontrast body .k-photo-img{border:0!important}
/* Poprawki r5: napisy na zdjeciu bez czarnych pudel pod kazda linijka, czytelnosc daje przyciemnienie zdjecia od lewej i od dolu
   (jak w wizualizacji), serduszka ozdobne przy hasle schowane tylko na zdjeciu karty. */
html.zp-kontrast body .k-photo :where(h1,p,span,b,strong,small,em,.k-hand,.k-urgent){background-color:transparent!important}
html.zp-kontrast body .k-photo-wash{background-image:linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.5) 45%,rgba(0,0,0,0) 70%),linear-gradient(0deg,rgba(0,0,0,.8),rgba(0,0,0,0) 55%)!important}
html.zp-kontrast body .k-photo .k-doodle{display:none!important}
