.zdrowie-page{padding:34px 18px;}
.zdrowie-header{max-width:var(--max); margin:0 auto 14px auto; display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap;}
.zdrowie-title h1{margin:0; font-size:34px;}
.zdrowie-sub{margin:6px 0 0 0; color:var(--muted);}

.badge{display:inline-block; padding:6px 10px; border-radius:999px; border:1px solid rgba(125,211,252,0.35); background: rgba(125,211,252,0.12); font-weight:700;}
.muted{color:var(--muted);} .small{font-size:12px;}
.zdrowie-meta{display:flex; align-items:center; gap:10px; flex-wrap:wrap;}

.zdrowie-mapwrap{max-width:var(--max); margin:0 auto; display:grid; grid-template-columns:1fr 360px; gap:14px; align-items:start;}
@media (max-width:980px){.zdrowie-mapwrap{grid-template-columns:1fr;}}

.zdrowie-map{height:660px; border-radius:var(--radius2); border:1px solid var(--stroke); overflow:hidden; box-shadow:var(--shadow);}

.card{border:1px solid var(--stroke); border-radius:var(--radius2); background: rgba(10,16,30,0.40); box-shadow: var(--shadow); padding:14px;}
.card.subtle{box-shadow:none;}
.card-head{display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:10px;}
.card h2{margin:0; font-size:16px;}

.layers{display:flex; flex-direction:column; gap:10px;}
.layer{display:flex; align-items:center; gap:10px; font-weight:700;}
.layer input{transform:scale(1.1);}
.layer-controls{padding:6px 2px 2px 2px;}
.layer-controls.is-hidden{display:none;}

.segmented{display:flex; flex-wrap:wrap; gap:8px; padding:6px; border:1px solid var(--stroke); background: rgba(10,16,30,0.40); border-radius:999px;}
.segmented-btn{padding:8px 12px; border-radius:999px; border:1px solid transparent; background:transparent; color:var(--muted); cursor:pointer;}
.segmented-btn:hover{background: rgba(255,255,255,0.06); color:var(--text);}
.segmented-btn.is-active{background: rgba(125,211,252,0.14); border-color: rgba(125,211,252,0.30); color:var(--text);}

.legend{display:flex; flex-direction:column; gap:8px;}
.legend-desc{padding:10px 12px; border-radius:14px; border:1px solid rgba(255,255,255,0.10); background:rgba(255,255,255,0.04);}
.legend-desc-title{font-weight:800; margin-bottom:6px; color:var(--text);}
.legend-desc-text{color:var(--muted); font-size:12.5px; line-height:1.35;}
.legend-desc b{color:var(--text); font-weight:800;}
.legend-item{display:flex; align-items:center; justify-content:space-between; gap:10px;}
.legend-swatch{width:16px; height:16px; border-radius:5px; border:1px solid rgba(255,255,255,0.14);}
.legend-left{display:flex; align-items:center; gap:10px; color:var(--muted);}

.info-title{font-weight:800; margin-bottom:8px;}
.info-rows{display:flex; flex-direction:column; gap:6px;}
.row{display:flex; align-items:center; justify-content:space-between; gap:10px; color:var(--muted);}
.val{color:var(--text); font-weight:700;}

/* Mobile */
@media (max-width:560px){
  .zdrowie-page{padding:16px 12px;}
  .zdrowie-title h1{font-size:26px;}
  .zdrowie-map{height:58vh; min-height:380px;}
}


.info-title-row{
  display:flex;
  align-items:center;
  gap:10px;
}


/* === PREMIUM tooltip + hover === */
.leaflet-tooltip.zdrowie-tooltip-leaflet{
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  padding:0 !important;
}
.zdrowie-tip{
  backdrop-filter: blur(10px);
  background: rgba(12,18,28,.92);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 10px 12px;
  color: #fff;
  min-width: 210px;
  box-shadow: 0 12px 34px rgba(0,0,0,.42);
}
.zdrowie-tip .tip-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 6px;
}
.zdrowie-tip .tip-title{
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .2px;
  line-height: 1.15;
}
.zdrowie-tip .tip-row{
  font-size: 12px;
  opacity: .95;
  line-height: 1.25;
}
.zdrowie-tip .tip-unit{ opacity:.8; font-weight:600; }
.zdrowie-tip .tip-badge{
  margin-top: 6px;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  font-weight: 800;
  font-size: 12px;
}
.tip-ico{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 16px;
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
}
.tip-ico--pm{ background: rgba(255,255,255,.12); }
.tip-ico--pollen{ background: rgba(34,197,94,.18); }
.tip-ico--na{ background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); }

.aqi-mini{
  display:flex;
  gap:6px;
  margin-top: 8px;
}
.aqi-dot{
  width: 16px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.10);
  position: relative;
  overflow: hidden;
}
.aqi-dot::after{
  content:"";
  position:absolute;
  inset:0;
  background: var(--c, #22d3ee);
  opacity: .25;
}
.aqi-dot.is-on{
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.25);
}
.aqi-dot.is-on::after{ opacity: .85; }

/* hover glow + subtle pulse on svg paths */
.woj-hover{
  filter: drop-shadow(0 0 10px rgba(255,255,255,.22)) drop-shadow(0 0 18px rgba(34,211,238,.18));
  animation: wojPulse 1.35s ease-in-out infinite;
}
@keyframes wojPulse{
  0%,100% { opacity: 1; }
  50% { opacity: .88; }
}

/* close pin button */
#info-close{
  display:none;
  margin-left:auto;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.88);
  width: 28px;
  height: 28px;
  border-radius: 10px;
  cursor: pointer;
}
#info-close.is-visible{ display:inline-flex; align-items:center; justify-content:center; }
#info-close:hover{ background: rgba(255,255,255,.10); }


/* Ukryj opis nad mapą (zgodnie z wymaganiem) */
.zdrowie-sub{display:none !important;}

/* Kompatybilność legendy (jeśli gdzieś zostały stare klasy) */
.legend-row{display:flex;align-items:center;gap:10px;color:var(--muted);}
.legend-row .swatch{width:16px;height:16px;border-radius:5px;border:1px solid rgba(255,255,255,0.14);}

@media (max-width:560px){
  .legend-item{padding:6px 2px;}
  .legend-left{gap:8px;}
}