/* 7FCLAB Responsive Production v0.2 | Laptop attribute page scroll fallback.
   Fix: on compact desktop viewports the document, not the invisible inner
   attribute pane, owns vertical scrolling. Keep the overview rail sticky.
   View/layout-only; no data, game logic or storage changes. Production release. */
@media (min-width:900px) and (max-width:1399px){
  html{
    height:auto!important;
    min-height:100%!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:auto!important;
  }
  body.attributes-workspace-compact{
    height:auto!important;
    min-height:100vh!important;
    overflow-x:clip!important;
    overflow-y:visible!important;
    overscroll-behavior-y:auto!important;
  }
  body.attributes-workspace-compact .shell{
    height:auto!important;
    min-height:100dvh!important;
    overflow:visible!important;
    display:flex!important;
    flex-direction:column!important;
  }
  body.attributes-workspace-compact .workspace,
  body.attributes-workspace-compact.build-overview-active .workspace{
    flex:1 0 auto!important;
    height:auto!important;
    min-height:0!important;
    align-items:start!important;
    overflow:visible!important;
  }
  body.attributes-workspace-compact .main{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
  }
  body.attributes-workspace-compact #attributes,
  body.attributes-workspace-compact #attributes.attr-columns{
    flex:0 0 auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow-x:visible!important;
    overflow-y:visible!important;
    overscroll-behavior-y:auto!important;
  }
  body.attributes-workspace-compact .left-stack{
    position:sticky!important;
    top:10px!important;
    align-self:start!important;
    height:calc(100dvh - 20px)!important;
    min-height:0!important;
    max-height:calc(100dvh - 20px)!important;
    overflow:hidden!important;
  }
  body.attributes-workspace-compact .global-archetype-overview-card{
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    overflow:hidden!important;
  }
  body.attributes-workspace-compact .global-archetype-overview-card .ovc-scroll{
    height:100%!important;
    max-height:100%!important;
    overflow-y:auto!important;
    overscroll-behavior-y:auto!important;
  }
}
