@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@500;600;700;800&family=Quicksand:wght@500;600;700&display=swap");
:root{--green:#083b2b;--accent:#2f751e;--cream:#faf9f5;--muted:#56616a;--line:#e8e8e0}*{box-sizing:border-box}body{margin:0;background:#f0eee6;font-family:Arial,Helvetica,sans-serif;color:#102d25}a{color:inherit;text-decoration:none}.shell{max-width:1450px;margin:24px auto;background:var(--cream);border-radius:20px;box-shadow:0 8px 32px #173a2412;overflow:hidden}.header{height:76px;padding:0 46px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:30px}.logo{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:750;white-space:nowrap}.tree{font-size:42px;color:#34751e}.nav{display:flex;align-items:center;gap:38px;font-size:14px}.nav a:hover,.section-head a:hover{color:#3b7a25}.admin-link{padding:12px 22px;border:1px solid #174d32;border-radius:8px}.menu-toggle{display:none}main{padding:12px 38px 20px}.hero{display:grid;grid-template-columns:36% 64%;min-height:430px;gap:8px}.hero-copy{padding:40px 8px 0 10px;position:relative;overflow:hidden}.eyebrow{letter-spacing:3px;font-size:12px;font-weight:700;color:#488027}.hero h1,.subpage h1{font-family:Georgia,serif;font-size:clamp(48px,5.5vw,84px);line-height:.96;letter-spacing:-3px;margin:18px 0 14px;color:var(--green)}.hero p{font-size:20px;line-height:1.35;color:#48535b;max-width:420px;margin:0 0 16px}.btn{display:inline-block;border-radius:9px;padding:16px 28px;font-weight:700}.primary{background:linear-gradient(120deg,#398224,#165b31);color:white}.line-art{position:absolute;bottom:10px;color:#789d70;font-size:28px;white-space:nowrap;opacity:.7}.hero-photo{margin:0 8px 0 0;border-radius:30px;background:linear-gradient(160deg,#dce8e2 0%,#b7d3bf 38%,#71956d 39%,#315b45 100%);display:grid;place-items:center;min-height:420px}.hero-photo-text{background:#fffde9dd;color:#23523d;padding:14px 20px;border-radius:10px;font-weight:700}.shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0 30px}.shortcut{display:flex;align-items:center;gap:16px;padding:20px 16px;min-height:112px;border:1px solid #ecebe4;border-radius:13px;background:#fff;box-shadow:0 2px 10px #00000005}.shortcut-icon{font-size:38px;color:#0e582e;min-width:46px}.shortcut strong{display:block;font-size:17px;margin-bottom:8px}.shortcut small{display:block;color:var(--muted);font-size:13px;line-height:1.4}.arrow{margin-left:auto;border:1px solid #d9e1d5;border-radius:50%;padding:4px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:8px 4px 14px}.section-head h2{font:700 42px Georgia,serif;color:var(--green);margin:0}.section-head a{font-size:15px;color:#164c30}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.news-card{background:white;border-radius:13px;overflow:hidden;box-shadow:0 2px 14px #00000005}.news-img{height:170px}.image-one{background:linear-gradient(150deg,#b9d5cf,#5c8a6b 55%,#e1c4a0)}.image-two{background:linear-gradient(155deg,#f4e1a3,#91a66b 55%,#37664d)}.image-three{background:linear-gradient(155deg,#d2dcbf,#73a58d 50%,#2b5e43)}.news-body{padding:15px 22px 20px}.meta{letter-spacing:1.4px;font-size:10px;color:#68706e}.news-body h3{font-size:20px;margin:9px 0}.news-body p{color:var(--muted);line-height:1.45;font-size:14px}.news-body a{color:#27622d;font-weight:bold;font-size:13px}.events-strip{background:#eaf3db;border-radius:14px;padding:20px 26px;margin-top:18px;display:flex;justify-content:space-between;align-items:center;gap:20px}.events-strip h3{font-size:22px;margin:0 0 5px}.events-strip p{margin:0;color:var(--muted);font-size:14px}.events-strip a{background:white;padding:16px;border-radius:10px;color:#20552c;font-weight:bold}.subpage{min-height:520px;padding:65px 35px}.subpage h1{font-size:64px}.subpage p{max-width:700px;font-size:20px;line-height:1.5;color:var(--muted);margin-bottom:30px}footer{padding:20px 48px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#66716c;font-size:12px}@media(max-width:1050px){.header{padding:0 24px}.nav{gap:18px}.hero{grid-template-columns:1fr 1fr}.shortcuts{grid-template-columns:repeat(2,1fr)}.hero h1{font-size:62px}}@media(max-width:720px){.shell{margin:0;border-radius:0}.header{height:auto;min-height:72px;padding:12px 18px;flex-wrap:wrap}.logo{font-size:20px}.menu-toggle{display:block;background:transparent;border:0;font-size:26px}.nav{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0}.nav.open{display:flex}.nav a{padding:14px;border-top:1px solid var(--line)}main{padding:12px 15px}.hero{grid-template-columns:1fr}.hero-copy{min-height:335px;padding:26px 10px 0}.hero h1{font-size:62px}.hero p{font-size:17px}.hero-photo{min-height:230px;margin:0}.shortcuts{gap:10px}.shortcut{padding:12px;gap:8px}.shortcut-icon{font-size:26px;min-width:28px}.shortcut strong{font-size:14px}.shortcut small{font-size:11px}.arrow{display:none}.section-head h2{font-size:32px}.section-head a{font-size:12px}.news-grid{grid-template-columns:1fr}.events-strip{flex-direction:column;align-items:flex-start}.subpage{padding:45px 10px}.subpage h1{font-size:44px}footer{padding:18px;gap:8px;flex-direction:column}}

/* v1.1: typografia i konturowe ikony; geometria strony bez zmian */
body{font-family:Inter,Arial,sans-serif}.hero h1,.subpage h1,.section-head h2{font-family:"DM Serif Display",Georgia,serif;font-weight:400}.shortcut-icon{display:inline-flex;align-items:center;justify-content:center}.shortcut-icon svg{width:38px;height:38px;stroke:#0e582e;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}@media(max-width:720px){.shortcut-icon svg{width:26px;height:26px}}
.shortcut-icon img{display:block;width:38px;height:38px}@media(max-width:720px){.shortcut-icon img{width:26px;height:26px}}

/* v1.2: wyłącznie typografia; układ i ikony bez zmian */
body{font-family:"Nunito",Arial,sans-serif}
.hero h1,.subpage h1,.section-head h2{font-family:"Fredoka","Nunito",Arial,sans-serif;font-weight:500;letter-spacing:-1.5px}
.logo,.news-body h3,.events-strip h3{font-family:"Fredoka","Nunito",Arial,sans-serif;font-weight:500}

/* v1.3 — polskie znaki: spójny krój w każdym elemencie.
   Google Fonts CSS2 automatycznie dostarcza latin-ext przez unicode-range.
   Jeśli font się nie pobierze, fallback może różnić się proporcjami. */
html{font-synthesis:none}
body,button,input,select,textarea{font-family:"Nunito",Arial,sans-serif}
.hero h1,.subpage h1,.section-head h2,.logo,.news-body h3,.events-strip h3{font-family:"Fredoka","Nunito",Arial,sans-serif;font-synthesis:none}

/* v1.4 — Quicksand w nagłówkach, Nunito nieco mocniejsza w tekstach.
   Google Fonts dostarcza latin-ext automatycznie dla polskich znaków. */

body,button,input,select,textarea{font-family:"Nunito",Arial,sans-serif;font-weight:500}
.nav,.shortcut small,.news-body p,.subpage p{font-weight:500}
.btn,.shortcut strong,.nav a,.news-body a,.events-strip a{font-weight:600}
.hero h1,.subpage h1,.section-head h2,.logo,.news-body h3,.events-strip h3{font-family:"Quicksand","Nunito",Arial,sans-serif;font-weight:700;font-synthesis:none}

/* v1.5: wyłącznie dodatkowy dział interwencji i czytelność menu; hero i kafelki bez zmian */
.header{height:auto;min-height:76px}.nav{gap:17px}.nav a{white-space:nowrap;font-size:13px}.logo{flex-shrink:0}.interventions{max-width:1040px;margin:auto}.interventions>p{max-width:790px}.case-list{display:grid;gap:15px;margin-top:28px}.case-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:23px}.case-head{display:flex;gap:12px;align-items:start;justify-content:space-between}.case-head h2{font-family:"Quicksand","Nunito",sans-serif;font-weight:700;font-size:22px;margin:0}.case-number{color:var(--accent);font-weight:700;white-space:nowrap}.case-card p{margin:12px 0;color:var(--muted)}.case-foot{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;color:var(--muted)}.case-card ul{margin-bottom:0}.case-card a{text-decoration:underline;color:var(--accent)}@media(max-width:1120px){.header{flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.nav{flex-wrap:wrap;justify-content:flex-end}}@media(max-width:720px){.case-head{flex-direction:column}.case-card{padding:17px}}

/* v1.8 – tylko formatowanie importowanych materiałów */
.imported{max-width:1050px;margin:auto}.imported .article-content{max-width:900px}.article-content p{max-width:900px;font-size:17px;line-height:1.75;color:#30483d;margin:0 0 19px;white-space:normal}.article-content h2{font-family:Quicksand,Nunito,sans-serif;color:var(--green);margin:30px 0 15px}.article-content figure{margin:25px 0;text-align:center}.article-content img{display:block;max-width:100%;height:auto;margin:auto;border-radius:10px}.article-content a{color:#246b38;text-decoration:underline}.imported .source-note{font-size:13px;max-width:900px;padding:15px 0;border-top:1px solid var(--line)}

/* v1.9: górna belka stale widoczna podczas przewijania */
.header{position:sticky;top:0;z-index:1000;background:var(--cream);box-shadow:0 3px 12px #173a2410}
.shell{overflow:visible}
@media(max-width:720px){.header{top:0}}

/* v2.0 — compact navigation tiles on section landing pages */
.tile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0 12px;align-items:stretch}
.nav-tile{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:104px;padding:20px 22px;background:#fff;border:1px solid #e2e8de;border-radius:14px;box-shadow:0 2px 12px #173a2408;color:var(--green);transition:border-color .18s,box-shadow .18s,transform .18s}
.nav-tile:hover,.nav-tile:focus-visible{border-color:#80a579;box-shadow:0 5px 18px #173a2418;transform:translateY(-2px)}
.nav-tile-title{font-family:"Quicksand","Nunito",Arial,sans-serif;font-size:19px;line-height:1.3;font-weight:700}
.nav-tile-arrow{flex-shrink:0;width:31px;height:31px;border:1px solid #d5e3d1;border-radius:50%;display:grid;place-items:center;color:#2f751e;font-weight:700}
@media(max-width:1050px){.tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.tile-grid{grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.nav-tile{min-height:88px;padding:13px;gap:5px}.nav-tile-title{font-size:15px}.nav-tile-arrow{width:24px;height:24px}}
@media(max-width:380px){.tile-grid{grid-template-columns:1fr}}

/* v2.1 – minimalistyczne kafelki z osobnymi infografikami SVG */
.tiles-page{padding-top:42px;min-height:440px}.tiles-page h1{font-size:clamp(35px,4vw,52px);margin:12px 0 8px;line-height:1.15}.tiles-page .tiles-intro{font-size:16px;margin:0 0 20px;max-width:none}.info-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.info-tile{position:relative;display:flex;flex-direction:column;min-height:256px;padding:15px 17px 18px;background:#fff;border:1px solid #e4ebe3;border-radius:16px;box-shadow:0 3px 15px #163e2710;transition:transform .2s,border-color .2s,box-shadow .2s}.info-tile:hover,.info-tile:focus-visible{transform:translateY(-3px);border-color:#9abda1;box-shadow:0 8px 22px #163e271b}.info-illustration{height:132px;display:grid;place-items:center;overflow:hidden}.info-illustration img{display:block;width:100%;max-width:210px;height:126px;object-fit:contain}.info-tile-copy{display:block;padding-right:27px}.info-tile-copy strong{display:block;font:700 18px/1.28 Quicksand,Nunito,sans-serif;color:#103c2d}.info-tile-copy small{display:block;margin-top:6px;font:500 13px/1.4 Nunito,sans-serif;color:#52655b}.info-tile-arrow{position:absolute;right:14px;bottom:17px;width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#e1f1e1;color:#164d34;font-size:20px}.info-tile:focus-visible{outline:3px solid #80a579;outline-offset:2px}@media(max-width:1100px){.info-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:780px){.info-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.info-tile{min-height:226px;padding:10px 12px 15px}.info-illustration{height:110px}.info-illustration img{height:104px}.info-tile-copy strong{font-size:16px}.info-tile-copy small{font-size:12px}.info-tile-arrow{right:9px;bottom:10px}}@media(max-width:380px){.info-tiles{grid-template-columns:1fr}.info-tile{min-height:210px}}

/* v2.2 — ilustracje o proporcjach zgodnych z zatwierdzonym podglądem */
.info-tile{min-height:286px;padding:18px 19px 22px;border-radius:17px}
.info-illustration{height:164px;margin:-3px -2px 4px}
.info-illustration img{width:100%;max-width:245px;height:158px;object-fit:contain}
.info-tile-copy strong{font-size:19px;line-height:1.28}
.info-tile-copy small{font-size:14px;line-height:1.38}
.info-tile-arrow{width:37px;height:37px;font-size:23px}
@media(max-width:780px){.info-tile{min-height:250px;padding:12px 13px 16px}.info-illustration{height:126px}.info-illustration img{height:124px}.info-tile-copy strong{font-size:16px}.info-tile-copy small{font-size:12px}.info-tile-arrow{width:29px;height:29px;font-size:18px}}

/* v2.3: pełne ilustracje wektorowe, bez zmian treści i układu */
.info-illustration{height:166px;margin:0 0 12px;overflow:visible}
.info-illustration img{display:block;width:100%;max-width:none;height:166px;object-fit:contain;border-radius:14px}
.info-tile{gap:0;background:#fff}
@media(max-width:780px){.info-illustration{height:120px;margin-bottom:10px}.info-illustration img{height:120px}}

/* Interwencje v2.5 – dodatek bez zmian pozostałych widoków */
.interventions-v25{max-width:1060px;margin-inline:auto}.interventions-lead{max-width:820px;line-height:1.75}.iv-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:25px 0}.iv-stats>div{border:1px solid #dce9df;border-radius:18px;background:#f3f8f2;padding:18px 22px;display:flex;flex-direction:column;gap:3px}.iv-stats strong{font-size:31px;color:#23673f}.iv-stats span{font-size:13px;color:#61736a}.iv-toolbar{display:flex;gap:14px;flex-wrap:wrap;margin:22px 0}.iv-toolbar label{display:flex;flex-direction:column;gap:7px;font-weight:700;font-size:13px;color:#345844}.iv-toolbar select,.iv-toolbar input{min-height:43px;padding:9px 13px;border:1px solid #d4e2d6;border-radius:11px;background:#fff;color:#244533;font:inherit}.iv-toolbar input{min-width:min(360px,80vw)}.iv-note{font-size:13px;color:#68776c;border-left:3px solid #a7c4ad;padding-left:12px;margin:12px 0 22px}.iv-list{display:grid;gap:15px}.iv-card{border:1px solid #e0e9e0;border-radius:20px;background:#fff;padding:22px 24px;box-shadow:0 5px 18px rgba(29,72,41,.045)}.iv-card[hidden]{display:none!important}.iv-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.iv-card h2{font-size:20px;line-height:1.35;margin:6px 0 10px;color:#224c31}.iv-number{font-size:11px;font-weight:800;letter-spacing:.1em;color:#648a6e}.iv-count{white-space:nowrap;border-radius:99px;padding:6px 11px;background:#f0f6ef;color:#52775d;font-size:12px}.iv-card p{margin:5px 0 15px;line-height:1.6;color:#54695b}.iv-meta{display:flex;gap:12px;flex-wrap:wrap;align-items:center;font-size:12px;color:#6a746b;margin-bottom:12px}.iv-pill{padding:6px 10px;border-radius:99px;background:#f5f6f3;color:#596b5c}.iv-pill.has-answer{background:#eaf5ed;color:#26653b}.iv-details{border-top:1px solid #e9eee8;padding-top:13px}.iv-details summary{cursor:pointer;font-weight:800;color:#27663c;list-style:none}.iv-details summary::after{content:'⌄';float:right}.iv-details[open] summary::after{content:'⌃'}.iv-details ul{padding:0;margin:13px 0 0;list-style:none}.iv-details li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:11px 0;border-top:1px solid #eff2ee}.iv-details li div{min-width:0}.iv-details li strong{display:block;font-size:13px;color:#38543e}.iv-details li small{display:block;overflow-wrap:anywhere;color:#7c887d;font-size:11px;margin-top:3px}.iv-details li a{white-space:nowrap;font-weight:800;font-size:13px;color:#267442}.iv-empty{padding:30px;text-align:center;color:#6b756c}@media(max-width:680px){.iv-stats{grid-template-columns:1fr 1fr}.iv-stats>div:last-child{grid-column:1/-1}.iv-card{padding:18px}.iv-card-head{flex-direction:column}.iv-toolbar label,.iv-toolbar input{width:100%;min-width:0}}

/* v2.6 — mniejsze nagłówki i górne odstępy na wszystkich podstronach */
.subpage{padding-top:32px}
.subpage h1{font-size:clamp(34px,3.7vw,48px);line-height:1.12;letter-spacing:-1.5px;margin-top:12px}
.tiles-page{padding-top:30px}
.tiles-page h1{font-size:clamp(34px,3.7vw,44px)}
/* Opisy dokumentacji interwencji: dokładnie o 1 px mniej niż poprzednie 20 px */
.interventions-v25 .iv-card p{font-size:19px}
@media(max-width:720px){
 .subpage{padding-top:24px}
 .subpage h1{font-size:clamp(32px,7vw,40px);letter-spacing:-1px}
 .tiles-page{padding-top:24px}
}

/* v2.7 – jedna geometria dla wszystkich podstron; nie dotyczy strony głównej */
main > section.subpage {
  box-sizing:border-box;
  width:calc(100% - 112px);
  max-width:1200px;
  margin:0 auto;
  padding:32px 0 64px;
  min-height:0;
}
main > section.subpage.interventions-v25 { max-width:1200px; }
main > section.subpage .eyebrow { margin:0 0 12px; }
main > section.subpage h1 {
  font-size:clamp(34px,3.4vw,46px);
  line-height:1.15;
  letter-spacing:-1.2px;
  margin:0 0 14px;
}
main > section.subpage.tiles-page .tiles-intro {margin:0 0 22px}
main > section.subpage.imported .article-content {max-width:100%;}
main > section.subpage .iv-card p {font-size:19px;}
/* Kafelki: obrazy PNG z zatwierdzonego podglądu */
main .info-illustration {height:166px;margin:0 0 10px;overflow:hidden}
main .info-illustration img {display:block;width:100%;height:166px;object-fit:contain;max-width:none}
@media(max-width:780px){
 main > section.subpage {width:calc(100% - 36px);padding:24px 0 44px}
 main > section.subpage h1 {font-size:clamp(32px,7vw,40px)}
 main .info-illustration {height:120px}
 main .info-illustration img {height:120px}
}

/* v2.8: klikalne tytuły, okno szczegółów, statusy */
.iv-title-btn{border:0;padding:0;background:none;font:inherit;font-weight:inherit;color:inherit;text-align:left;cursor:pointer;line-height:inherit}
.iv-title-btn:hover,.iv-title-btn:focus-visible{color:#277542;text-decoration:underline;text-underline-offset:4px}
.iv-title-btn span{font-size:.75em;margin-left:6px}
.iv-status{font-weight:700;border-radius:30px;padding:5px 10px;background:#eef1ed;color:#4d6152}
.iv-status-zrealizowana{background:#dff1e4;color:#1b6334}.iv-status-w_toku{background:#e6f0fc;color:#235a88}.iv-status-oczekuje{background:#fff3d8;color:#8c651a}.iv-status-nierozwiazana,.iv-status-zamknieta{background:#fae8e6;color:#903c32}
.iv-modal[hidden]{display:none}.iv-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:16px}.iv-modal-shade{position:absolute;inset:0;background:rgba(10,34,25,.62)}
.iv-modal-panel{position:relative;background:#fff;border-radius:22px;padding:34px;max-width:780px;width:100%;max-height:calc(100vh - 40px);overflow:auto;box-shadow:0 18px 70px #0003;outline:none}
.iv-modal-close{position:absolute;right:17px;top:13px;background:#f0f5ef;border:0;border-radius:50%;width:38px;height:38px;cursor:pointer;font-size:27px;color:#194d30}
.iv-modal-panel h2{font-size:clamp(24px,3vw,34px);margin:12px 40px 14px 0;color:#123f2b}.iv-modal-panel h3{font-size:18px;margin-top:26px}.iv-modal-body{white-space:normal;line-height:1.75;color:#374b40}.iv-modal-body p{margin:0 0 15px}.iv-modal-status{font-size:13px;font-weight:700;color:#29683e;margin-bottom:18px}.iv-modal-docs{padding-left:20px}.iv-modal-docs li{margin:10px 0}.iv-modal-docs a{color:#226b3c}.iv-modal-open{overflow:hidden}
@media(max-width:600px){.iv-modal-panel{padding:25px 19px}}
