/* Punkt 21: dojazd do najbliższego miasta w rytmie ukończonych kart raportu. */
body.has-map-shell details.ig-truth-card[data-truth-section="commute"]{
  border-left-width:1px!important;
  border-color:#d4ddd6!important;
  box-shadow:none!important;
}

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

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

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

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

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

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

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

body.has-map-shell .ig-commute__stats>div{
  display:grid;
  min-width:0;
  min-height:68px;
  align-content:center;
  gap:5px;
  padding:9px 6px;
  border:1px solid #c8dfcf;
  border-radius:10px;
  background:#edf7f0;
  text-align:center;
}

body.has-map-shell .ig-commute__stats span{
  color:#567060;
  font-size:9.5px;
  font-weight:800;
  line-height:1.2;
  text-wrap:pretty;
}

body.has-map-shell .ig-commute__stats strong{
  color:#11633a;
  font-size:14px;
  font-variant-numeric:tabular-nums;
  font-weight:900;
  line-height:1.15;
  text-wrap:pretty;
}

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

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

body.has-map-shell .ig-commute__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="commute"] .ig-mini-map{
  margin:0;
  border:1px solid #c8d8cc;
  border-radius:11px;
}

body.has-map-shell .ig-commute__note,
body.has-map-shell .ig-commute__source{
  margin:0;
  color:#52675a;
  font-size:11px;
  line-height:1.5;
  text-wrap:pretty;
}

body.has-map-shell .ig-commute__source{
  padding-top:9px;
  border-top:1px solid #e1e8e3;
}

@media(pointer:coarse){
  body.has-map-shell details.ig-truth-card[data-truth-section="commute"] .leaflet-control-zoom a,
  body.has-map-shell details.ig-truth-card[data-truth-section="commute"] .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="commute"] .ig-truth-card__details{padding-inline:10px}
  body.has-map-shell .ig-commute__stats{gap:5px}
  body.has-map-shell .ig-commute__stats>div{min-height:64px;padding-inline:4px}
  body.has-map-shell .ig-commute__stats span{font-size:9px}
  body.has-map-shell .ig-commute__stats strong{font-size:12.5px}
}

@media(max-width:360px){
  body.has-map-shell details.ig-truth-card[data-truth-section="commute"] .ig-truth-card__summary{
    grid-template-columns:40px minmax(0,1fr) 26px;
    gap:7px;
    padding-inline:8px;
  }
  body.has-map-shell details.ig-truth-card[data-truth-section="commute"] .ig-truth-card__icon{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
  }
  body.has-map-shell details.ig-truth-card[data-truth-section="commute"] .ig-truth-card__label{
    font-size:13px;
    letter-spacing:-.015em;
  }
  body.has-map-shell details.ig-truth-card[data-truth-section="commute"] .ig-truth-card__value{
    font-size:12px;
    letter-spacing:-.015em;
    line-height:1.35;
  }
}

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