/* NI Office 3.0.12 — close the two remaining banner seams and provide a
   readable, viewport-safe sidebar footer. No changes to Gantt or data UI. */
@media (min-width:651px) {
  /* The original view wrappers sometimes paint a 1–2px pale seam alongside
     their hero; only the two confirmed pages receive the overlap shadow. */
  html body.tke-op-page .tke-app.tke-app-root .tke-main .tke-v312-seam-fix {
    box-shadow:-4px 0 0 0 #110b2c !important;
    border-left:0 !important;
  }
  /* Reserve room for name, email, version and logout.  The menu (not the
     footer) scrolls when the viewport is short or Backoffice is expanded. */
  html body.tke-op-page .tke-app.tke-app-root > .tke-sidebar {
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    padding-bottom:18px!important;
  }
  html body.tke-op-page .tke-app.tke-app-root > .tke-sidebar nav.tke-project-manager-menu {
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
  }
  html body.tke-op-page .tke-app.tke-app-root > .tke-sidebar .tke-sidebar-user {
    display:flex!important;
    flex:0 0 auto!important;
    flex-direction:column!important;
    min-height:72px!important;
    box-sizing:border-box!important;
    padding:10px 5px 8px!important;
    margin-top:auto!important;
    margin-bottom:0!important;
    overflow:visible!important;
    position:relative!important;
    z-index:4!important;
    gap:3px!important;
  }
  html body.tke-op-page .tke-app.tke-app-root > .tke-sidebar .tke-sidebar-user > :is(strong,span,a) {
    display:block!important;
    max-width:100%!important;
    line-height:1.25!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  /* Keep the approved thin accent waves above, not across, the user details. */
  html body.tke-op-page .tke-app.tke-app-root > .tke-sidebar .tke-v309-wave {
    bottom:95px!important;
  }
}
