/* Punkt 23: prosty model hałasu od jednej analizowanej drogi. */
body.has-map-shell details.ig-truth-card[data-truth-section="noise"]{
  border-left-width:1px!important;
  border-color:#d4ddd6!important;
  box-shadow:none!important;
}

body.has-map-shell details.ig-truth-card[data-truth-section="noise"] .ig-truth-card__icon{
  color:#176f45!important;
  background:#f1f3f1!important;
}

body.has-map-shell details.ig-truth-card[data-truth-section="noise"] .ig-truth-card__icon svg{
  width:28px;
  height:28px;
}

body.has-map-shell details.ig-truth-card[data-truth-section="noise"] .ig-truth-card__label{
  display:flex;
  align-items:center;
  gap:7px;
  color:#17251c;
  font-size:15px;
  font-weight:850;
  line-height:1.2;
  letter-spacing:-.01em;
  text-transform:none;
  text-wrap:pretty;
}

body.has-map-shell details.ig-truth-card[data-truth-section="noise"] .ig-truth-card__label::after{
  content:none!important;
  display:none!important;
}

body.has-map-shell details.ig-truth-card[data-truth-section="noise"] .ig-truth-card__value{
  color:#23362a;
  font-size:14px;
  font-weight:500;
  line-height:1.4;
  text-wrap:pretty;
}

body.has-map-shell details.ig-truth-card[data-truth-section="noise"] .ig-truth-card__details{
  padding-inline:16px;
}

body.has-map-shell .ig-noise{
  display:grid;
  gap:14px;
  min-width:0;
  color:#17251c;
}

body.has-map-shell .ig-noise__lead,
body.has-map-shell .ig-noise__truth,
body.has-map-shell .ig-noise__explain,
body.has-map-shell .ig-noise__empty{
  margin:0;
  padding:10px 11px;
  border-radius:10px;
  color:#44594c;
  font-size:11px;
  line-height:1.5;
  text-wrap:pretty;
}

body.has-map-shell .ig-noise__lead{
  border:1px solid #c8dfcf;
  background:#edf7f0;
  color:#274d36;
}

body.has-map-shell .ig-noise__lead strong{color:#184d2e}

body.has-map-shell .ig-noise__stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
}

body.has-map-shell .ig-noise__stats>div{
  display:grid;
  min-width:0;
  min-height:78px;
  align-content:center;
  gap:4px;
  padding:9px 6px;
  border:1px solid #d5ded7;
  border-radius:10px;
  background:#fafbfa;
  text-align:center;
}

body.has-map-shell .ig-noise__stats span,
body.has-map-shell .ig-noise__stats small{
  color:#5c6d62;
  font-size:10px;
  font-weight:750;
  line-height:1.2;
  overflow-wrap:anywhere;
  text-wrap:pretty;
}

body.has-map-shell .ig-noise__stats strong{
  color:#1a4e30;
  font-size:14px;
  font-variant-numeric:tabular-nums;
  font-weight:900;
  line-height:1.15;
}

body.has-map-shell .ig-noise__map{
  display:grid;
  gap:8px;
  min-width:0;
}

body.has-map-shell .ig-noise__map-heading{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:8px 14px;
  flex-wrap:wrap;
}

body.has-map-shell .ig-noise__map-heading h3{
  margin:0;
  color:#17251c;
  font-size:13px;
  font-weight:850;
  line-height:1.35;
}

body.has-map-shell .ig-noise__map-heading span{
  color:#52675a;
  font-size:11px;
  font-weight:750;
  line-height:1.35;
}

body.has-map-shell .ig-noise__legend{
  display:flex;
  flex-wrap:wrap;
  gap:5px 9px;
  color:#475b4e;
  font-size:10px;
  font-weight:750;
  line-height:1.25;
}

body.has-map-shell .ig-noise__legend span{
  display:inline-flex;
  align-items:center;
  gap:4px;
  white-space:nowrap;
}

body.has-map-shell .ig-noise__swatch{
  display:inline-block;
  width:12px;
  height:5px;
  border-radius:999px;
  background:#67736b;
}

body.has-map-shell .ig-noise__swatch--parcel{
  width:8px;
  height:8px;
  border:2px solid #c83d38;
  background:#fff;
}
body.has-map-shell .ig-noise__swatch--road{height:3px;background:#333c36}
body.has-map-shell .ig-noise__swatch--45{background:#efd36c}
body.has-map-shell .ig-noise__swatch--55{background:#e99a4b}
body.has-map-shell .ig-noise__swatch--65{background:#cf6256}

body.has-map-shell details.ig-truth-card[data-truth-section="noise"] .ig-mini-map{
  height:clamp(270px,72vw,340px);
  margin:0;
  border:1px solid #c8d8cc;
  border-radius:11px;
}

body.has-map-shell details.ig-truth-card[data-truth-section="noise"] .ig-noise-model-zone{
  stroke-linecap:round;
  stroke-linejoin:round;
}

body.has-map-shell .leaflet-tooltip.ig-noise-distance-label,
body.has-map-shell .leaflet-tooltip.ig-noise-road-label{
  padding:3px 6px;
  border:1px solid rgba(25,64,40,.2);
  border-radius:7px;
  background:rgba(255,255,255,.94);
  box-shadow:0 2px 8px rgba(20,48,31,.13);
  color:#244432;
  font:800 10px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

body.has-map-shell .leaflet-tooltip.ig-noise-distance-label::before,
body.has-map-shell .leaflet-tooltip.ig-noise-road-label::before{display:none}

body.has-map-shell .ig-noise__explain{
  padding:0;
  color:#52675a;
}

body.has-map-shell .ig-noise__truth,
body.has-map-shell .ig-noise__empty{
  background:#f2f5f3;
}

body.has-map-shell .ig-noise>.ig-truth-source{margin:0}

@media(pointer:coarse){
  body.has-map-shell details.ig-truth-card[data-truth-section="noise"] .leaflet-control-zoom a,
  body.has-map-shell details.ig-truth-card[data-truth-section="noise"] .leaflet-control-layers-toggle{
    width:44px!important;
    height:44px!important;
    line-height:44px!important;
  }
}

@media(max-width:380px){
  body.has-map-shell details.ig-truth-card[data-truth-section="noise"] .ig-truth-card__details{padding-inline:10px}
  body.has-map-shell .ig-noise__stats{gap:5px}
  body.has-map-shell .ig-noise__stats>div{min-height:74px;padding-inline:4px}
  body.has-map-shell .ig-noise__stats strong{font-size:12.5px}
  body.has-map-shell .ig-noise__map-heading span{max-width:100%}
}

@media(max-width:360px){
  body.has-map-shell details.ig-truth-card[data-truth-section="noise"] .ig-truth-card__label{font-size:14px}
}

@media print{
  details.ig-truth-card[data-truth-section="noise"]{break-inside:avoid}
  .ig-noise__stats{grid-template-columns:repeat(3,1fr)!important}
}
