/* LF-SITE-001B — Strategy Lab natural-height correction
   Final correction: remove legacy fixed desktop heights that create dead space.
   Panels size to their real content and align at the top. */
@media (min-width:1181px){
  body[data-page="strategy-lab"] .sl-app .workspace{
    align-items:start!important;
  }

  body[data-page="strategy-lab"] .sl-app .builder-panel,
  body[data-page="strategy-lab"] .sl-app .response-panel{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    align-self:start!important;
    overflow:visible!important;
  }

  body[data-page="strategy-lab"] .sl-app .builder-panel{
    display:flex!important;
    flex-direction:column!important;
  }
  body[data-page="strategy-lab"] .sl-app .builder-panel .divider:last-of-type{
    margin:9px 0!important;
  }
  body[data-page="strategy-lab"] .sl-app .builder-panel .balance-row{
    margin-top:0!important;
    padding-bottom:0!important;
  }

  body[data-page="strategy-lab"] .sl-app .response-panel{
    display:flex!important;
    flex-direction:column!important;
  }

  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:auto!important;
    min-height:0!important;
    max-height:none!important;
    flex:0 0 auto!important;
  }

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

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

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