/* AMS V135 — shared module header layout
   Keep module identity readable and uniform across all modules. */
.topbar{height:auto;min-height:72px;padding-top:9px;padding-bottom:9px;align-items:center}
.page-title{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;white-space:normal}
.page-title h1{margin:0;max-width:100%;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;font-size:24px;line-height:1.15}
.page-title span{display:block;max-width:100%;white-space:normal;color:var(--muted);font-size:13px;line-height:1.25}
.global-search{flex:0 1 390px;margin-left:auto}
@media (max-width:900px){
  .topbar{gap:14px;padding-left:16px;padding-right:16px}
  .page-title h1{font-size:21px}
  .page-title span{font-size:12px}
  .global-search{flex-basis:300px;width:min(300px,34vw)}
}
@media (max-width:620px){
  .topbar{flex-wrap:wrap;align-items:center}
  .page-title{flex:1 1 calc(100% - 52px)}
  .global-search{order:5;flex:1 1 100%;width:100%;max-width:none;margin-left:40px}
}
