
/* AutoPilot V25.16 — compact compare layout
   Pure visual override; working selection/add/persistence logic remains untouched. */

/* Remove the oversized intro area above the picker. */
.compare-section{
  padding-top:12px!important;
}
.compare-section .section-head{
  display:none!important;
}
.page-main{
  padding-top:0!important;
}
.compare-builder{
  margin-top:0!important;
  margin-bottom:12px!important;
}
.compare-picker{
  gap:10px!important;
}
.compare-selection-meta{
  margin-top:10px!important;
}
.compare-hint{
  margin-top:6px!important;
}

/* Smaller vehicle header so more specification rows fit above the fold. */
.compare-table-v2515 .metric-head{
  width:220px!important;
  min-width:220px!important;
  padding:16px 16px!important;
}
.compare-intro-v2515{
  min-height:190px!important;
}
.compare-car-head-v2515{
  min-height:190px!important;
}
.compare-photo-v2515,
.compare-photo-v2515 img,
.compare-car-head-v2515>img[data-compare-photo]{
  height:118px!important;
}
.compare-car-copy-v2515{
  min-height:72px!important;
  padding:8px 38px 9px!important;
  gap:2px!important;
}
.compare-car-copy-v2515 strong{
  font-size:.96rem!important;
}
.compare-car-copy-v2515 small{
  font-size:.69rem!important;
}
.compare-car-copy-v2515 a{
  font-size:.68rem!important;
  margin-top:1px!important;
}
.compare-car-copy-v2515 .winner-badge{
  padding:3px 7px!important;
  font-size:.52rem!important;
}
.compare-remove-v2515{
  top:8px!important;
  right:8px!important;
  width:28px!important;
  height:28px!important;
}

/* Denser rows + stronger readability. */
.compare-table-v2515 tbody th{
  width:220px!important;
  padding:9px 15px!important;
  font-size:.77rem!important;
  line-height:1.22!important;
  color:#e0e7ea!important;
}
.compare-table-v2515 tbody td{
  padding:9px 12px!important;
  font-size:.82rem!important;
  line-height:1.22!important;
  color:#f2f5f6!important;
}
.compare-table-v2515 .metric-winner{
  color:#e7ff4c!important;
}
.compare-table-v2515 .mini-win{
  width:18px!important;
  height:18px!important;
  margin-left:6px!important;
  font-size:.6rem!important;
}
.compare-add-more-v2515{
  min-height:52px!important;
  margin-top:12px!important;
}
.compare-legend-v2515{
  padding-top:12px!important;
}

/* Keep the whole block visually close to the navigation. */
.compare-result{
  margin-top:10px!important;
}
@media(max-width:900px){
  .compare-table-v2515 .metric-head,
  .compare-table-v2515 tbody th{
    width:185px!important;
    min-width:185px!important;
  }
  .compare-photo-v2515,
  .compare-photo-v2515 img,
  .compare-car-head-v2515>img[data-compare-photo]{
    height:105px!important;
  }
}
