/* Punkt 22: obiekty do sprawdzenia w OSM — bez automatycznej oceny uciążliwości. */
body.has-map-shell details.ig-truth-card[data-truth-section="nuisance"]{
  border-left-width:1px!important;
  border-color:#d4ddd6!important;
  box-shadow:none!important;
}

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

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

body.has-map-shell details.ig-truth-card[data-truth-section="nuisance"] .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="nuisance"] .ig-truth-card__label::after{
  content:none!important;
  display:none!important;
}

body.has-map-shell details.ig-truth-card[data-truth-section="nuisance"] .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="nuisance"] .ig-truth-card__details{
  padding-inline:16px;
}

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

body.has-map-shell .ig-nuisance__lead,
body.has-map-shell .ig-nuisance__truth,
body.has-map-shell .ig-nuisance__empty{
  margin:0;
  padding:10px 11px;
  border-radius:10px;
  background:#f2f5f3;
  color:#44594c;
  font-size:11px;
  line-height:1.5;
  text-wrap:pretty;
}

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

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

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

body.has-map-shell .ig-nuisance__categories ul{
  display:grid;
  gap:0;
  margin:0;
  padding:0;
  overflow:hidden;
  border:1px solid #d8e0d9;
  border-radius:10px;
  list-style:none;
}

body.has-map-shell .ig-nuisance__categories li{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  padding:10px 11px;
  border-bottom:1px solid #e2e9e4;
  background:#fff;
}

body.has-map-shell .ig-nuisance__categories li:last-child{border-bottom:0}

body.has-map-shell .ig-nuisance__categories li>span:last-child{
  display:grid;
  min-width:0;
  gap:2px;
}

body.has-map-shell .ig-nuisance__categories strong{
  color:#203529;
  font-size:12.5px;
  line-height:1.35;
  text-wrap:pretty;
}

body.has-map-shell .ig-nuisance__categories small{
  color:#2e6245;
  font-size:10.5px;
  font-weight:750;
  line-height:1.35;
}

body.has-map-shell .ig-nuisance__emoji{
  display:inline-grid;
  place-items:center;
  width:24px;
  height:24px;
  flex:0 0 24px;
  border-radius:50%;
  background:#edf7f0;
  font-size:12px;
  line-height:1;
}

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

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

body.has-map-shell details.ig-truth-card[data-truth-section="nuisance"] .ig-mini-map{
  margin:0;
  border:1px solid #c8d8cc;
  border-radius:11px;
}

body.has-map-shell .ig-mini-poi--nuisance{
  display:grid!important;
  place-items:center;
  background:#fff8e6!important;
  color:#795600!important;
  border:2px solid #a76700!important;
  font-size:13px!important;
  line-height:1!important;
}

body.has-map-shell .ig-nuisance__guardian{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:10px;
  padding:12px;
  border:1px solid #b9d9c2;
  border-radius:12px;
  background:linear-gradient(145deg,#f2fbf4 0%,#e8f5ec 100%);
}

body.has-map-shell .ig-nuisance__guardian-icon{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:10px;
  background:#fff;
  box-shadow:0 2px 8px rgba(23,111,69,.1);
  font-size:18px;
  line-height:1;
}

body.has-map-shell .ig-nuisance__guardian>div{
  display:grid;
  min-width:0;
  gap:7px;
}

body.has-map-shell .ig-nuisance__guardian p,
body.has-map-shell .ig-nuisance__guardian small{
  margin:0;
  color:#385747;
  font-size:11px;
  line-height:1.45;
  text-wrap:pretty;
}

body.has-map-shell .ig-nuisance__guardian .ig-nuisance__guardian-status{
  padding:8px 9px;
  border:1px solid #c8ddce;
  border-radius:9px;
  background:rgba(255,255,255,.7);
  color:#294b36;
  font-weight:700;
}

body.has-map-shell .ig-nuisance__guardian-status[data-guardian-alert-level="nuisance"]{
  border-color:#e6b3a9;
  background:#fff2ef;
  color:#7b2f22;
}

body.has-map-shell .ig-nuisance__guardian-status[data-guardian-alert-level="watch"],
body.has-map-shell .ig-nuisance__guardian-status[data-guardian-alert-level="paused"]{
  border-color:#e4cf9c;
  background:#fff8e7;
  color:#6d5316;
}

body.has-map-shell .ig-nuisance__guardian-status[data-guardian-alert-level="clear"]{
  border-color:#b9d9c2;
  background:#eff9f2;
  color:#24603b;
}

body.has-map-shell .ig-nuisance__guardian small{
  color:#5b6e62;
  font-size:10px;
}

body.has-map-shell .ig-nuisance__guardian button{
  justify-self:start;
  min-height:44px;
  padding:9px 13px;
  border:1px solid #176f45;
  border-radius:10px;
  background:#176f45;
  color:#fff;
  font:inherit;
  font-size:11px;
  font-weight:850;
  line-height:1.2;
  cursor:pointer;
}

body.has-map-shell .ig-nuisance__guardian button[data-guardian-state="monitored"]{
  background:#fff;
  color:#176f45;
}

body.has-map-shell .ig-nuisance__source,
body.has-map-shell .ig-nuisance>.ig-truth-source{
  margin:0;
}

@media(pointer:coarse){
  body.has-map-shell details.ig-truth-card[data-truth-section="nuisance"] .leaflet-control-zoom a,
  body.has-map-shell details.ig-truth-card[data-truth-section="nuisance"] .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="nuisance"] .ig-truth-card__details{padding-inline:10px}
  body.has-map-shell .ig-nuisance__guardian{padding:10px}
  body.has-map-shell .ig-nuisance__categories li{padding-inline:9px}
}

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

@media print{
  details.ig-truth-card[data-truth-section="nuisance"]{break-inside:avoid}
  .ig-nuisance__guardian button{display:none!important}
}
