/* Approved option 1: introduction flows directly into the program's guides. */
body.library-layout:not(.search-lab) .provider-view .program-intro{
  margin-bottom:32px;
  padding-bottom:0;
}
body.library-layout .provider-view #program-gallery-heading.edition-heading{
  margin:0 0 24px;
}
/* No invisible focus targets or residual panel space while legacy markup loads. */
body.library-layout .provider-view :is(.program-search-area,.program-tasks){display:none}
@media(max-width:600px){
  body.library-layout:not(.search-lab) .provider-view .program-intro{margin-bottom:28px}
  body.library-layout .provider-view #program-gallery-heading.edition-heading{margin-bottom:20px}
}

/* One scoped search row; retain the approved split intro and the course/progress layout. */
body.library-layout:not(.search-lab) .provider-view .program-intro .library-nav.program-search-nav{
  display:block;grid-column:1/-1;grid-row:5;align-self:start;
  min-width:0;width:100%;max-width:none;margin:24px 0 0;padding:0;
}
body.library-layout .provider-view .program-search-nav>.container{
  width:100%;max-width:none;margin:0;padding:0;
}
body.library-layout .provider-view .program-search-nav .library-nav-row{display:flex;gap:0}
body.library-layout .provider-view .program-search-nav .search-form{max-width:none;min-width:0;width:100%;margin:0}
body.library-layout .provider-view .program-search-nav #finder-status:not(.sr-only){margin-top:10px;font-size:14px}
@media(max-width:600px){
  body.library-layout:not(.search-lab) .provider-view .program-intro .library-nav.program-search-nav{margin-top:20px}
}
