/* Original top bar: 50px. Retain 5/6, with all controls centered together. */
.oa-home-shell { --oa-topbar-height: calc(50px * 5 / 6); }
.oa-home-shell #page-wrapper > .row > .navbar-static-top {
    height: var(--oa-topbar-height);
    min-height: var(--oa-topbar-height);
}
.oa-home-shell .navbar-static-side .logo { height: var(--oa-topbar-height); }
.oa-home-shell #page-wrapper .navbar-minimalize {
    display: inline-flex; align-items: center; justify-content: center;
    height: var(--oa-topbar-height); margin: 0; padding: 0; width: 50px;
}
.oa-home-shell #page-wrapper .navbar-top-links { display: flex; align-items: center; margin-top: 0; margin-bottom: 0; }
.oa-home-shell #page-wrapper .navbar-top-links > li > a {
    display: flex; align-items: center; gap: 6px;
    height: var(--oa-topbar-height); min-height: var(--oa-topbar-height);
    padding-top: 0; padding-bottom: 0;
}
.oa-home-shell #page-wrapper .navbar-top-links .user-image {
    display: block; flex-shrink: 0; float: none; object-fit: cover; margin: 0;
}
/* Reclaim the removed height for the page content; keep the existing tab/footer sizes. */
.oa-home-shell #content-main { height: calc(100% - 127px + 50px - var(--oa-topbar-height)); }
