/* Catalog: separate title, guidance, search, tabs and results in normal flow. */
 #orc-wiz-main #orc-catalogo>.card{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:start;padding:16px!important}
 #orc-wiz-main #orc-catalogo>.card>strong{display:block;line-height:1.4;margin:0!important}
 #orc-wiz-main #orc-catalogo>.card>p.sub{display:block;margin:0!important;line-height:1.55;min-width:0}
 #orc-wiz-main #orc-catalogo #orc-cat-busca{display:block;width:100%;box-sizing:border-box;min-width:0;min-height:44px;margin:0!important;line-height:1.4}
 #orc-wiz-main #orc-catalogo #orc-cat-tabs{margin:0!important;align-self:start}
 #orc-wiz-main #orc-catalogo #orc-cat-tabs .btn+.btn{margin-top:0!important}
 #orc-wiz-main #orc-catalogo #orc-cat-res{min-width:0}
/* The existing <=900 column direction makes flex-basis a height, not a width. */
@media(min-width:761px) and (max-width:900px){
 #orc-wiz-main #orc-catalogo .orc-cat-row{align-items:stretch}
 #orc-wiz-main #orc-catalogo .orc-cat-main,#orc-wiz-main #orc-catalogo .orc-cat-acts{flex:0 1 auto;flex-basis:auto}
 #orc-wiz-main #orc-catalogo .orc-cat-acts{justify-content:flex-start}
}
/* Keep the editor usable before a sidebar plus 340px rail leaves it too narrow. */
@media(min-width:901px) and (max-width:1200px){
 .pv-grid:has(>#orc-wiz-main){grid-template-columns:minmax(0,1fr)}
 #orc-wiz-rail{position:static;margin-top:0!important}
}
