/* v46 — clean representative toggle figures: icon-only, solid sovereign-gold field. */
:root{
  --cwls-toggle-gold:#b98227;
  --cwls-toggle-gold-line:#d9b663;
  --cwls-toggle-gold-ink:#56360d;
}

/*
 * The source icon sheets contain a small filename caption at their lower edge.
 * The wrappers act as a controlled viewport so only the pictogram is visible.
 * Darken blending converts the former ivory pixels into the solid gold field
 * while retaining the darker line-art silhouette.
 */
:is(.patchIconWrap,.cwlsRepFigure,.reportedEvidenceFigure){
  position:relative!important;
  inset:auto!important;
  isolation:isolate!important;
  overflow:hidden!important;
  border-color:var(--cwls-toggle-gold-line)!important;
  background:var(--cwls-toggle-gold)!important;
  background-image:none!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),0 7px 16px rgba(102,65,12,.10)!important;
}

:is(.patchIconWrap,.cwlsRepFigure,.reportedEvidenceFigure)>img{
  position:relative!important;
  inset:auto!important;
  display:block!important;
  width:116%!important;
  height:116%!important;
  min-width:116%!important;
  min-height:116%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center 34%!important;
  transform:translate(-7%,-8%)!important;
  transform-origin:center!important;
  mix-blend-mode:darken!important;
  filter:saturate(.78) contrast(1.14)!important;
  background:transparent!important;
}

/* Larger evidence cards keep a little more breathing room around the symbol. */
.reportedEvidenceFigure>img{
  width:110%!important;
  height:110%!important;
  min-width:110%!important;
  min-height:110%!important;
  object-position:center 32%!important;
  transform:translate(-4.5%,-6%)!important;
}

/* Button icons remain compact and never push their labels out of the control. */
button.patchIconButton>.patchIconWrap{
  flex:0 0 auto!important;
  align-self:center!important;
}

/* The icon itself is decorative; all meaning remains in the adjacent title. */
:is(.patchIconWrap,.cwlsRepFigure,.reportedEvidenceFigure)::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.10);
}

@media(max-width:620px){
  :is(.patchIconWrap,.cwlsRepFigure,.reportedEvidenceFigure)>img{
    width:120%!important;
    height:120%!important;
    min-width:120%!important;
    min-height:120%!important;
    transform:translate(-8.5%,-9%)!important;
  }
}
