/* R138: resolve legacy fixed RTL drawer vs. in-flow live filter panel on phones.
   Scoped to the breaking/live layout only, preserving existing JS, SSE, menus,
   keyboard behavior, and desktop sidebar. This is not an overlay or modal. */
@media(max-width:980px){
 body.parallel-newsroom .live-layout,
 body.parallel-newsroom .live-layout.has-open-filters{
   display:grid;grid-template-columns:minmax(0,1fr)!important;
   min-width:0;max-width:100%;
 }
 body.parallel-newsroom .live-layout>.live-filters{
   position:static!important;inset:auto!important;
   top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
   transform:none!important;transition:none!important;
   display:block;min-width:0!important;
   width:100%!important;max-width:100%!important;
   height:auto!important;max-height:none!important;
   z-index:auto!important;overflow:visible!important;
   box-shadow:none!important;box-sizing:border-box!important;
   margin:0!important;
 }
 body.parallel-newsroom .live-layout>.live-filters[hidden]{display:none!important}
 body.parallel-newsroom .live-layout>.live-filters .filter-body,
 body.parallel-newsroom .live-layout>.live-filters .filter-field,
 body.parallel-newsroom .live-layout>.live-filters .filter-actions{
   min-width:0;max-width:100%;
 }
 body.parallel-newsroom .live-layout>.live-filters :is(input,select,textarea){
   min-width:0;max-width:100%;box-sizing:border-box;
 }
}
