/* Ratownictwo / statystyki interwencji — bez bibliotek i zewnętrznych danych */
.rescue-stats {margin:42px 0 58px;min-width:0;color:#283632;}
.rescue-stats *{box-sizing:border-box}
.rescue-stats__intro{display:flex;gap:22px;align-items:end;justify-content:space-between;margin:0 0 26px}
.rescue-stats__eyebrow{font-size:11px;letter-spacing:.13em;font-weight:700;color:#a23831;margin:0 0 12px}
.rescue-stats__intro h2{font-size:clamp(26px,3.5vw,38px);font-weight:650;letter-spacing:-.055em;line-height:1.13;margin:0 0 12px}
.rescue-stats__intro p:not(.rescue-stats__eyebrow){margin:0;max-width:580px;color:#73807a;font-size:14px;line-height:1.6}
.rescue-stats__overview{min-width:150px;text-align:right;flex:0 0 auto}
.rescue-stats__overview strong{font-size:clamp(33px,4vw,49px);display:block;font-weight:670;letter-spacing:-.065em;line-height:1.05;font-variant-numeric:tabular-nums}
.rescue-stats__overview span{font-size:11px;color:#808a84}
.rescue-chart{background:#fff;border:1px solid #e0e4df;border-radius:12px;padding:25px 25px 12px;box-shadow:0 8px 30px rgba(20,40,28,.03)}
.rescue-chart__header{display:flex;justify-content:space-between;gap:15px;align-items:center}
.rescue-chart__header strong{font-size:17px;display:block;font-weight:700;margin-bottom:5px}
.rescue-chart__header span{font-size:11px;color:#76817a}
.rescue-chart__pagination{display:flex;align-items:center;gap:8px;white-space:nowrap}
.rescue-chart__pagination button{cursor:pointer;padding:9px 11px;border:1px solid #dce3dc;background:#fff;border-radius:7px;font-size:11px;color:#40564d;font-weight:700}
.rescue-chart__pagination button:hover:not(:disabled){background:#f0f4f0}
.rescue-chart__pagination button:disabled{opacity:.32;cursor:default}
.rescue-chart__pagination span{color:#2a4038;font-weight:700;font-size:11px;min-width:70px;text-align:center;font-variant-numeric:tabular-nums}
.rescue-chart__grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;align-items:stretch;margin:24px 0 4px}
.rescue-year{background:#fff;border:1px solid transparent;border-radius:9px;padding:16px 8px 12px;min-width:0;display:flex;flex-direction:column;align-items:center;cursor:pointer;color:#334039;transition:background .2s,border-color .2s;appearance:none;text-align:center;font:inherit}
.rescue-year:hover{background:#f4f6f2}
.rescue-year.is-active{border-color:#c5d3ca;background:#f3f6f2}
.rescue-year[hidden],.rescue-detail[hidden]{display:none!important}
.rescue-year__count{min-height:32px;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;display:grid;place-items:center}
.rescue-year__count:has(+ .rescue-year__plot .rescue-year__missing){font-size:10px;font-weight:500;color:#929f95}
.rescue-year__plot{height:185px;width:100%;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid #edf0eb}
.rescue-year__bar{display:flex;flex-direction:column-reverse;overflow:hidden;width:clamp(22px,43%,52px);border-radius:4px 4px 0 0;min-height:2px}
.rescue-year__bar>span{width:100%;display:block;flex:0 0 auto}
.rescue-year__missing{width:40%;border-bottom:2px dashed #d7ded6;margin-bottom:6px}
.rescue-year__label{font-size:14px;display:block;font-weight:700;padding-top:13px;font-variant-numeric:tabular-nums}
.rescue-chart__footnote{color:#88948b;font-size:11px;line-height:1.65;border-top:1px solid #edf0ed;padding-top:12px;margin:12px 0 0}
.rescue-details{background:#f1f3ee;border-radius:12px;margin-top:20px}
.rescue-detail{padding:clamp(19px,3vw,30px)}
.rescue-detail__head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d8dfd7;padding-bottom:16px;margin-bottom:22px}
.rescue-detail__head>div:first-child>span{font-size:10px;font-weight:700;letter-spacing:.13em;color:#748179}
.rescue-detail__head h3{font-size:37px;font-weight:700;letter-spacing:-.065em;margin:4px 0 0}
.rescue-detail__total{text-align:right}
.rescue-detail__total strong{font-size:34px;display:block;line-height:1.05;font-variant-numeric:tabular-nums}
.rescue-detail__total span{font-size:11px;color:#748179}
.rescue-categories{display:grid;gap:18px}
.rescue-category__label{display:flex;align-items:center;gap:10px;font-size:13px;margin-bottom:8px}
.rescue-category__label strong{font-weight:550;flex:1}
.rescue-category__label>span:last-child{font-weight:700;font-variant-numeric:tabular-nums}
.rescue-category__dot{display:block;width:9px;height:9px;border-radius:50%}
.rescue-category__track{height:11px;width:100%;border-radius:8px;background:#dbe2db;overflow:hidden}
.rescue-category__track>span{display:block;height:100%;border-radius:8px;transition:width .45s ease}
.rescue-detail__empty,.rescue-detail__note{font-size:13px;line-height:1.8;color:#68776d;margin:0}
.rescue-detail__note{margin-top:25px;border-top:1px solid #d7ded7;padding-top:15px}
@media(max-width:900px){.rescue-stats__intro{align-items:start}.rescue-chart__header{flex-wrap:wrap}.rescue-chart__grid{gap:4px}.rescue-chart{padding:18px 12px 12px}}
@media(max-width:580px){.rescue-stats__intro{flex-direction:column;gap:12px}.rescue-stats__overview{text-align:left}.rescue-chart__pagination{width:100%;justify-content:space-between}.rescue-chart__header{align-items:stretch}.rescue-chart__grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;margin-top:12px}.rescue-year{padding:9px 1px;border-radius:5px}.rescue-year__plot{height:160px}.rescue-year__count{font-size:11px}.rescue-year__count:has(+ .rescue-year__plot .rescue-year__missing){font-size:8px;white-space:normal;line-height:1.3}.rescue-year__label{font-size:12px}.rescue-chart__footnote{font-size:10px}.rescue-detail__head h3{font-size:30px}.rescue-detail__total strong{font-size:28px}}
@media(prefers-reduced-motion:reduce){.rescue-category__track>span{transition:none}}
