/* Compact choices keep the adopted 18px names. Descriptions remain in references. */
body[data-compact-garments] #b1-content .estimate-materials {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
}
body[data-compact-garments] #b1-content .estimate-materials .b1-garment-option {
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  align-content:start!important;
  gap:4px!important;
  min-width:0!important;
  min-height:76px!important;
  height:auto!important;
  padding:10px 12px!important;
  border-radius:12px!important;
  text-align:left!important;
}
body[data-compact-garments] #b1-content .estimate-materials .b1-upgrade-badge {
  position:static!important;
  grid-row:1;
  justify-self:start;
  max-width:calc(100% - 24px);
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  white-space:normal!important;
}
body[data-compact-garments] #b1-content .estimate-materials .b1-garment-name {
  grid-row:2;
  margin:0!important;
  padding:0!important;
  white-space:normal!important;
  word-break:normal;
  overflow-wrap:normal;
}
body[data-compact-garments] #b1-content .estimate-materials :is(.b1-garment-difference,.b1-garment-proof) {display:none!important}
body[data-compact-garments] #b1-content .estimate-materials .b1-garment-check {top:10px!important;right:10px!important}
body[data-compact-garments] #b1-content .estimate-materials [data-garment=CP102] {
  background:#f3f5f0!important;
  color:#465a44!important;
  border-color:#c8d2c3!important;
}
body[data-compact-garments] #b1-content .estimate-materials [data-garment=CP102][aria-pressed=true] {
  background:#e9eee2!important;
  border-color:#3d5140!important;
}
body[data-compact-garments] #b1-content .b1-compact-heading {display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body[data-compact-garments] #b1-content .b1-compact-heading .b1-calm-heading {margin:0!important;flex:1;min-width:0;width:auto!important}
body[data-compact-garments] #b1-content .b1-compact-compare-trigger {
  flex:0 0 auto;
  font-size:14px!important;
  font-weight:500!important;
  line-height:1.5;
  min-height:40px;
  width:auto!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  display:inline-flex!important;
  justify-content:center!important;
  gap:4px;
  padding:4px 0!important;
  white-space:nowrap;
}
body[data-compact-garments] .b1-compact-comparison {font-family:var(--ui-font);color:#242b26;background:#fff!important}
body[data-compact-garments] .b1-compact-comparison-body {padding:4px 20px 16px;overflow-y:auto;min-height:0}
body[data-compact-garments] .b1-compact-comparison section {padding:14px 0}
body[data-compact-garments] .b1-compact-comparison section+section {border-top:1px solid #d3d8d0}
body[data-compact-garments] .b1-compact-comparison h3 {font-size:17px;font-weight:700;line-height:1.4;margin:0 0 6px}
body[data-compact-garments] .b1-compact-comparison p {font-size:16px;font-weight:500;line-height:1.5;margin:2px 0}
body[data-compact-garments] .b1-compact-comparison .b1-compact-comparison-proof {font-size:15px;font-weight:450;color:#535c53}
