/* v0.23.0 - restore compact tactical research cards after full-height sidebar change */
/* PC: keep the sidebar panel tall, but never stretch its four research buttons. */
@media (min-width:1061px) and (pointer:fine){
  body>.app-shell .side-panel[data-view="research"] .research-list{
    flex:0 0 auto!important;
    display:flex!important;
    flex-direction:column!important;
    grid-template-rows:none!important;
    align-content:flex-start!important;
    justify-content:flex-start!important;
    gap:7px!important;
    height:auto!important;
    max-height:none!important;
  }
  body>.app-shell .side-panel[data-view="research"] .research-item{
    flex:0 0 65px!important;
    min-height:65px!important;
    height:65px!important;
    max-height:65px!important;
    box-sizing:border-box!important;
    padding:6px 7px!important;
  }
}
/* Mobile: retain the compact card size and allow scrolling only on very short screens. */
@media (max-width:1060px), (pointer:coarse){
  body>.app-shell .side-panel[data-view="research"] .research-list{
    grid-template-rows:repeat(4, 47px)!important;
    flex:0 0 auto!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    gap:4px!important;
  }
  body>.app-shell .side-panel[data-view="research"] .research-item{
    height:47px!important;
    min-height:47px!important;
    max-height:47px!important;
    box-sizing:border-box!important;
  }
}
