/* v47 — masthead, analytical table and gold-figure precision pass. */
:root{
  --cwls-toggle-gold:#a96f18;
  --cwls-toggle-soft:#f1d89a;
}

/* Mastheads: the heading system and the trust strip occupy separate rows. */
.cwlsPageMasthead{
  grid-template-columns:minmax(0,1.52fr) minmax(300px,.72fr)!important;
}
.cwlsPageMasthead__copy{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  align-content:center!important;
  align-items:start!important;
  gap:14px!important;
  min-width:0!important;
}
.cwlsPageMasthead__copy>.sectionTitle,
.cwlsPageMasthead__copy>.osSectionHead{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
  column-gap:24px!important;
  row-gap:10px!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}

/* One protected copy column: icon left, all writing right. */
.cwlsPageMasthead__copy .cwls-ui-title-inline{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr)!important;
  grid-auto-rows:auto!important;
  align-items:start!important;
  align-content:start!important;
  column-gap:15px!important;
  row-gap:5px!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
.cwlsPageMasthead__copy .cwls-ui-title-inline>.cwls-ui-title-icon{
  grid-column:1!important;
  grid-row:1 / span 4!important;
  align-self:start!important;
  position:relative!important;
  inset:auto!important;
  margin:0!important;
}
.cwlsPageMasthead__copy .osSectionHead .cwls-ui-title-inline>.eyebrow{
  grid-column:2!important;
  grid-row:1!important;
  margin:0 0 2px!important;
}
.cwlsPageMasthead__copy .osSectionHead .cwls-ui-title-inline>h2{
  grid-column:2!important;
  grid-row:2!important;
}
.cwlsPageMasthead__copy .osSectionHead .cwls-ui-title-inline>p{
  grid-column:2!important;
  grid-row:3!important;
}
.cwlsPageMasthead__copy .sectionTitle .cwls-ui-title-inline>:is(h2,h3){
  grid-column:2!important;
  grid-row:1!important;
}
.cwlsPageMasthead__copy .sectionTitle .cwls-ui-title-inline>p{
  grid-column:2!important;
  grid-row:2!important;
}
.cwlsPageMasthead__copy .cwls-ui-title-inline>:is(h2,h3),
.cwlsPageMasthead__copy .cwls-ui-title-inline>p,
.cwlsPageMasthead__copy .cwls-ui-title-inline>.eyebrow{
  position:static!important;
  inset:auto!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  transform:none!important;
  overflow:visible!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}
.cwlsPageMasthead__copy .cwls-ui-title-inline>:is(h2,h3){
  margin:0!important;
  font-size:clamp(1.45rem,2vw,2rem)!important;
  line-height:1.14!important;
  text-wrap:pretty!important;
}
.cwlsPageMasthead__copy .cwls-ui-title-inline>p{
  margin:2px 0 0!important;
  font-size:clamp(.82rem,.94vw,.96rem)!important;
  line-height:1.52!important;
  text-wrap:pretty!important;
}
.cwlsPageMasthead__copy :is(.badge,.osVersionPill){
  grid-column:2!important;
  grid-row:1!important;
  justify-self:end!important;
  align-self:start!important;
  width:max-content!important;
  max-width:190px!important;
  min-width:0!important;
  margin:0!important;
}
.cwlsPageMasthead__copy>.cwlsTrustStrip{
  grid-column:1!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding-left:59px!important;
  justify-content:flex-start!important;
}

/* Analytical tables expand by content rather than compressing words vertically. */
.osPanel>.proTableShell .proTable,
#riskTable .proTable,
#projectCompareTable .proTable,
#decisionMatrixResults .proTable{
  width:100%!important;
  min-width:980px!important;
  table-layout:auto!important;
}
.osPanel>.proTableShell .proTable :is(th,td),
#riskTable .proTable :is(th,td),
#projectCompareTable .proTable :is(th,td),
#decisionMatrixResults .proTable :is(th,td){
  padding:11px 12px!important;
  font-size:clamp(.72rem,.78vw,.84rem)!important;
  line-height:1.42!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
  vertical-align:middle!important;
}
#riskTable .proTable{min-width:1180px!important}
#riskTable .proTable :is(th,td):nth-child(1){min-width:210px!important}
#riskTable .proTable :is(th,td):nth-child(2){min-width:120px!important}
#riskTable .proTable :is(th,td):nth-child(3),
#riskTable .proTable :is(th,td):nth-child(4){min-width:54px!important;text-align:center!important;white-space:nowrap!important}
#riskTable .proTable :is(th,td):nth-child(5){min-width:92px!important;white-space:nowrap!important}
#riskTable .proTable :is(th,td):nth-child(6){min-width:112px!important}
#riskTable .proTable :is(th,td):nth-child(7){min-width:150px!important}
#riskTable .proTable :is(th,td):nth-child(8){min-width:110px!important}
#riskTable .proTable :is(th,td):nth-child(9){min-width:280px!important}

/* Solid gold tile with a distinctly lighter, soft-gold pictogram. */
:is(.patchIconWrap,.cwlsRepFigure,.reportedEvidenceFigure){
  background:var(--cwls-toggle-gold)!important;
  background-image:none!important;
  border-color:#d8b25a!important;
}
:is(.patchIconWrap,.cwlsRepFigure,.reportedEvidenceFigure)>img{
  mix-blend-mode:screen!important;
  filter:invert(1) grayscale(1) brightness(.84) contrast(1.7)!important;
  opacity:.92!important;
}

@media(max-width:1180px){
  .cwlsPageMasthead{grid-template-columns:minmax(0,1.25fr) minmax(250px,.62fr)!important}
  .cwlsPageMasthead__copy>.sectionTitle,
  .cwlsPageMasthead__copy>.osSectionHead{grid-template-columns:minmax(0,1fr)!important}
  .cwlsPageMasthead__copy :is(.badge,.osVersionPill){grid-column:1!important;grid-row:auto!important;justify-self:start!important;margin-left:59px!important}
}

@media(max-width:700px){
  .cwlsPageMasthead{grid-template-columns:1fr!important}
  .cwlsPageMasthead__copy>.cwlsTrustStrip{padding-left:0!important}
  .cwlsPageMasthead__copy :is(.badge,.osVersionPill){margin-left:0!important}
  .cwlsPageMasthead__copy .cwls-ui-title-inline{grid-template-columns:38px minmax(0,1fr)!important;column-gap:12px!important}
  .cwlsPageMasthead__copy .cwls-ui-title-inline>:is(h2,h3){font-size:clamp(1.28rem,6vw,1.62rem)!important}
  .cwlsPageMasthead__copy .cwls-ui-title-inline>p{font-size:.84rem!important}
}
