/* LF-SITE-001B — Strategy Lab allocation comparison gap repair
   Tighten only the desktop response-grid block so the four allocation rows
   do not sit above a large unused cream area. Preserve widths and bar geometry. */

@media (min-width:1181px){
  body[data-page="strategy-lab"] .sl-app .response-grid{
    flex:0 0 174px!important;
    min-height:174px!important;
    max-height:174px!important;
    align-items:stretch!important;
  }

  body[data-page="strategy-lab"] .sl-app .allocation-compare{
    height:174px!important;
    min-height:174px!important;
    max-height:174px!important;
    overflow:visible!important;
  }

  body[data-page="strategy-lab"] .sl-app .comparison-bars{
    display:grid!important;
    gap:5px!important;
    align-content:start!important;
    justify-content:stretch!important;
  }

  body[data-page="strategy-lab"] .sl-app .trajectory-card{
    height:174px!important;
    min-height:174px!important;
    max-height:174px!important;
  }

  body[data-page="strategy-lab"] .sl-app .trajectory-card svg{
    height:82px!important;
    margin-top:auto!important;
  }

  body[data-page="strategy-lab"] .sl-app .response-insights{
    margin-top:8px!important;
    padding-top:8px!important;
  }
}

@media (min-width:1181px) and (max-height:820px){
  body[data-page="strategy-lab"] .sl-app .response-grid,
  body[data-page="strategy-lab"] .sl-app .allocation-compare,
  body[data-page="strategy-lab"] .sl-app .trajectory-card{
    height:166px!important;
    min-height:166px!important;
    max-height:166px!important;
    flex-basis:166px!important;
  }
  body[data-page="strategy-lab"] .sl-app .trajectory-card svg{
    height:74px!important;
  }
}
