/* v49 — equal metric axes, optical icon centering, duplicate cleanup and contrast protection. */
:root{
  --v49-ivory:#fffaf0;
  --v49-ivory-soft:#f6e8c4;
  --v49-charcoal:#251f18;
}

/* Project comparison: every project heading owns one equal column and all values share its axis. */
#projectCompareTable{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
}
#projectCompareTable .proTable{
  width:100%!important;
  min-width:1080px!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
#projectCompareTable .proTable :is(th,td){
  box-sizing:border-box!important;
  vertical-align:middle!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
#projectCompareTable .proTable :is(th,td):first-child{
  width:230px!important;
  text-align:left!important;
  padding-left:20px!important;
}
#projectCompareTable .proTable th:not(:first-child){
  text-align:center!important;
  padding-inline:16px!important;
  font-size:clamp(.73rem,.82vw,.88rem)!important;
  line-height:1.35!important;
  text-wrap:balance!important;
}
#projectCompareTable .proTable td:not(:first-child){
  text-align:center!important;
  padding-inline:16px!important;
  font-size:clamp(.78rem,.88vw,.94rem)!important;
  font-weight:560!important;
  font-variant-numeric:tabular-nums lining-nums;
  white-space:nowrap!important;
}
#projectCompareTable .proTable td:last-child{
  text-align:center!important;
  font-weight:560!important;
}

/* Pictograms are centred inside their tile; the lower source filename stays outside the crop. */
:is(.patchIconWrap,.cwlsRepFigure,.reportedEvidenceFigure){
  display:grid!important;
  place-items:center!important;
  align-content:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
}
:is(.patchIconWrap,.cwlsRepFigure,.reportedEvidenceFigure)>img{
  position:static!important;
  inset:auto!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  object-fit:cover!important;
  object-position:center top!important;
  transform:none!important;
  transform-origin:center!important;
}
.cwls-ui-title-icon{
  place-items:center!important;
  align-content:center!important;
  justify-content:center!important;
}
.cwls-ui-title-icon>svg{margin:auto!important;transform:none!important}

/* When a representative image exists, the secondary generated symbol is suppressed. */
[data-single-visual="true"] .cwlsSingleVisualCopy{
  grid-template-columns:minmax(0,1fr)!important;
  padding-left:0!important;
  gap:0!important;
}
[data-single-visual="true"] .cwlsSingleVisualCopy>*{
  grid-column:1!important;
}

/* High-contrast copy for gold, bronze, emerald and charcoal information surfaces. */
.cwlsContrastSurface{
  color:var(--v49-ivory)!important;
}
.cwlsContrastSurface :is(h1,h2,h3,h4,h5,.value,.big,strong,b){
  color:#fffdf7!important;
  opacity:1!important;
  text-shadow:0 1px 1px rgba(45,28,4,.12);
}
.cwlsContrastSurface :is(p,small,span,em,.muted,.delta){
  color:var(--v49-ivory-soft)!important;
  opacity:.94!important;
}
#project .grid3>.card:last-child{
  color:var(--v49-ivory)!important;
}
#project .grid3>.card:last-child :is(small,p,.muted){
  color:#f7e8bf!important;
  opacity:.96!important;
}
#project .grid3>.card:last-child .value{color:#fff!important}

@media(max-width:760px){
  #projectCompareTable .proTable{min-width:880px!important}
  #projectCompareTable .proTable :is(th,td):first-child{width:190px!important;padding-left:15px!important}
  #projectCompareTable .proTable :is(th,td):not(:first-child){padding-inline:12px!important}
}
