
/* KatVerra VA — Mobile/Tablet Icon Compatibility Fix v15
   ROOT CAUSE: the approved v10 icon rules are scoped with body:has(.va3-command).
   On a mobile browser that does not apply :has(), those rules are discarded,
   leaving inline SVGs at browser defaults (black filled shapes / uncontrolled size).
   These responsive rules intentionally avoid :has() and target the VA classes directly.
   Desktop >=981px remains on the approved v10 styling. */

@media (max-width:980px){

  .va10-icon{
    box-sizing:border-box !important;
    display:grid !important;
    place-items:center !important;
    flex:0 0 40px !important;
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
    min-height:40px !important;
    max-width:40px !important;
    max-height:40px !important;
    padding:0 !important;
    margin:0 !important;
    overflow:hidden !important;
    border-radius:12px !important;
    color:#078f9d !important;
    background:linear-gradient(145deg,#e7fbfd,#f0edff) !important;
    border:1px solid rgba(25,198,214,.16) !important;
    line-height:1 !important;
  }

  .va10-icon svg{
    box-sizing:border-box !important;
    display:block !important;
    flex:none !important;
    width:20px !important;
    height:20px !important;
    min-width:20px !important;
    min-height:20px !important;
    max-width:20px !important;
    max-height:20px !important;
    margin:0 !important;
    padding:0 !important;
    fill:none !important;
    stroke:currentColor !important;
    stroke-width:1.8 !important;
    stroke-linecap:round !important;
    stroke-linejoin:round !important;
    transform:none !important;
  }

  /* Explicitly neutralize browser/global fills on SVG geometry. */
  .va10-icon svg path,
  .va10-icon svg rect,
  .va10-icon svg circle,
  .va10-icon svg line,
  .va10-icon svg polyline,
  .va10-icon svg polygon,
  .va10-icon svg ellipse{
    fill:none !important;
    stroke:currentColor !important;
    stroke-width:1.8 !important;
    stroke-linecap:round !important;
    stroke-linejoin:round !important;
    vector-effect:non-scaling-stroke !important;
  }

  /* Queue uses the same icon artwork but a quieter color. */
  .va3-desk-list .va10-icon{
    color:#52617a !important;
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    min-height:38px !important;
    max-width:38px !important;
    max-height:38px !important;
    flex-basis:38px !important;
  }
  .va3-desk-list .va10-icon svg{
    width:18px !important;
    height:18px !important;
    min-width:18px !important;
    min-height:18px !important;
    max-width:18px !important;
    max-height:18px !important;
  }

  /* Handoff cards: stop raw SVGs from expanding to card dimensions. */
  .kv61-deliverable .va10-icon{
    display:grid !important;
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
    min-height:40px !important;
    max-width:40px !important;
    max-height:40px !important;
    margin:0 0 14px !important;
  }
  .kv61-deliverable .va10-icon svg{
    width:20px !important;
    height:20px !important;
    min-width:20px !important;
    min-height:20px !important;
    max-width:20px !important;
    max-height:20px !important;
  }
}

@media (max-width:650px){
  .va10-icon{
    flex-basis:36px !important;
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    min-height:36px !important;
    max-width:36px !important;
    max-height:36px !important;
    border-radius:11px !important;
  }
  .va10-icon svg{
    width:18px !important;
    height:18px !important;
    min-width:18px !important;
    min-height:18px !important;
    max-width:18px !important;
    max-height:18px !important;
  }

  .va3-desk-list .va10-icon{
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    min-height:34px !important;
    max-width:34px !important;
    max-height:34px !important;
    flex-basis:34px !important;
  }
  .va3-desk-list .va10-icon svg{
    width:17px !important;
    height:17px !important;
    min-width:17px !important;
    min-height:17px !important;
    max-width:17px !important;
    max-height:17px !important;
  }

  .kv61-deliverable .va10-icon{
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    min-height:36px !important;
    max-width:36px !important;
    max-height:36px !important;
    margin-bottom:12px !important;
  }
  .kv61-deliverable .va10-icon svg{
    width:18px !important;
    height:18px !important;
    min-width:18px !important;
    min-height:18px !important;
    max-width:18px !important;
    max-height:18px !important;
  }
}
