/* Stage 3D: centered page title/subtitle across all GIMS workspaces.
   Keeps action buttons in their existing layout; mobile titles remain readable. */
.main-shell>.topbar{position:relative!important;}
.main-shell>.topbar>.gims-centered-page-heading{position:absolute;left:50%;transform:translateX(-50%);width:min(46%,650px);max-width:calc(100% - 350px);text-align:center;pointer-events:none;min-width:0;}
.main-shell>.topbar .gims-centered-page-heading #page-title,
.main-shell>.topbar .gims-centered-page-heading #page-subtitle{display:block!important;text-align:center!important;white-space:normal;overflow-wrap:anywhere;}
.main-shell>.topbar .gims-centered-page-heading #page-title{font-size:clamp(16px,1.6vw,21px);line-height:1.25;}
.main-shell>.topbar .gims-centered-page-heading #page-subtitle{font-size:12px;line-height:1.3;margin-top:3px;}
@media(max-width:1050px){.main-shell>.topbar>.gims-centered-page-heading{width:40%;max-width:calc(100% - 300px);}}
@media(max-width:860px){
 .main-shell>.topbar{min-height:76px!important;}
 .main-shell>.topbar>.gims-centered-page-heading{position:static!important;transform:none!important;width:auto!important;max-width:none!important;grid-column:2!important;min-width:0!important;}
 .main-shell>.topbar .gims-centered-page-heading #page-title{font-size:16px!important;}
 .main-shell>.topbar .gims-centered-page-heading #page-subtitle{display:block!important;font-size:11px!important;}
}
