/* NI Office v3.0.5: targeted fixes for accepted 3.0.4 regressions. */
/* v3.0.97: discreet NI Office wordmark; the facade carries the large TKE sign. */
html body.tke-op-page .tke-app.tke-app-root .tke-sidebar img.tke-brand-logo{display:none!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-sidebar .tke-side-title{display:block!important;text-align:left!important;font-size:21px!important;font-weight:750!important;line-height:1.3!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-sidebar .tke-side-title::after{display:none!important;content:none!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-sidebar .tke-brand-block{gap:0!important;padding-bottom:12px!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-sidebar .tke-brand-block::after{margin-top:13px!important;}
/* Fixed footer separates version, person and logout from scrolling navigation. */
html body.tke-op-page .tke-app.tke-app-root>.tke-sidebar{display:flex!important;flex-direction:column!important;min-height:0!important;overflow:hidden!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;max-height:none!important;overflow-y:auto!important;scrollbar-width:thin!important;}
html body.tke-op-page .tke-app.tke-app-root>.tke-sidebar .tke-sidebar-user{display:flex!important;position:relative!important;flex:0 0 auto!important;margin-top:auto!important;padding:11px 3px 3px!important;gap:4px!important;min-height:0!important;overflow:visible!important;flex-direction:column!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-sidebar-user .tke-v305-version{display:block!important;font-size:11px!important;opacity:.9!important;white-space:nowrap!important;color:#daccff!important;font-weight:650!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-sidebar-user .tke-v304-version{display:none!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-sidebar-user .tke-v305-signout{display:inline-block!important;font-size:11px!important;color:#f1eaff!important;text-decoration:none!important;margin-top:2px!important;}
/* Banner directly touches sidebar: same underlying midnight navy and consistent white type. */
html body.tke-op-page .tke-app.tke-app-root>.tke-main{padding-left:0!important;padding-right:16px!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-main :is(.tke-v300-hero,.tke-v303-hero,.tke-v302-hero,.tke-topbar){background-color:#110b2c!important;color:#fff!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-main>.tke-v300-hero{margin-left:0!important;margin-right:-16px!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-main>.tke-topbar{margin-left:0!important;margin-right:-16px!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-main>.tke-page>.tke-v303-hero,
html body.tke-op-page .tke-app.tke-app-root .tke-main>.tke-page>.tke-v302-hero{margin-left:0!important;margin-right:-16px!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-main>:not(.tke-v300-hero):not(.tke-topbar):not(.tke-page):not(.ni395-mobile-header):where(:not(.ni328-install-hero)){margin-left:var(--ni395-project-inset,16px)!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-main>.tke-page{padding-left:16px!important;padding-right:0!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-main>.tke-page>.tke-v303-hero,
html body.tke-op-page .tke-app.tke-app-root .tke-main>.tke-page>.tke-v302-hero{margin-left:-16px!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-main :is(.tke-v303-hero,.tke-v300-hero,.tke-v302-hero,.tke-topbar) :is(h1,h2,p,.tke-eyebrow,.tke-v300-kicker,.tke-v303-kicker,.tke-subtitle){color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-main :is(.tke-v303-hero,.tke-v300-hero,.tke-v302-hero,.tke-topbar) .tke-v305-hero-content{position:relative;z-index:2;}
/* All topbar logout links relocated to the persistent sidebar by JS. */
html body.tke-op-page .tke-app.tke-app-root .tke-main :is(.tke-topbar,.tke-v300-hero,.tke-v303-hero,.tke-v302-hero) .tke-v300-logout{display:none!important;}
/* Gantt dense layout. The 76px week width must match tke_v222_day_x() PHP. */
html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v222-install-layout{grid-template-columns:540px minmax(0,1fr)!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v222-install-frozen .tke-v210-install-static-head,
html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v222-install-label-row .tke-v210-install-static{grid-template-columns:125px 235px 180px!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v222-install-calendar{width:calc(var(--weeks) * 76px)!important;min-width:100%!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v222-install-calendar .tke-v210-gantt-head,
html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v222-install-calendar .tke-v210-gantt-grid{grid-template-columns:repeat(var(--weeks),76px)!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v222-install-label-row{height:68px!important;min-height:68px!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v222-install-track{height:68px!important;min-height:68px!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v222-install-label-row .tke-v210-install-static,
html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v222-install-track .tke-v210-gantt-grid,
html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v222-install-track .tke-v210-week-cell{height:67px!important;min-height:67px!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v222-install-label-row .tke-v210-install-static>div{padding:6px 8px!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v222-install-label-row .tke-v210-install-static strong{font-size:10px!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v222-install-label-row .tke-v210-install-static span{font-size:8px!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v210-resource-chips{gap:4px!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v210-resource-chips .tke-v297-resource-trigger{font-size:10px!important;padding:4px 7px!important;min-height:0!important;line-height:1.15!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v222-montage-period{top:29px!important;height:18px!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v222-montage-period span{font-size:8px!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v222-milestone.is-commissioning,
html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v222-milestone.is-handover{top:53px!important;}
/* Preserve true fullscreen layout and its earlier working dimensions. */
html body.tke-op-page.tke-v287-fullscreen-body .tke-app.tke-app-root>.tke-main{padding:8px 12px!important;}
@media(max-width:1050px){html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v222-install-layout{grid-template-columns:440px minmax(0,1fr)!important;}html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v222-install-frozen .tke-v210-install-static-head,html body.tke-op-page .tke-app.tke-app-root .tke-v210-install-page .tke-v222-install-label-row .tke-v210-install-static{grid-template-columns:105px 190px 145px!important;}}
@media(max-width:650px){html body.tke-op-page .tke-app.tke-app-root>.tke-sidebar .tke-sidebar-user{display:none!important;}html body.tke-op-page .tke-app.tke-app-root>.tke-main{padding:0 10px 25px!important;}html body.tke-op-page .tke-app.tke-app-root .tke-main>.tke-page{padding-left:0!important;}html body.tke-op-page .tke-app.tke-app-root .tke-main>.tke-page>.tke-v303-hero{margin-left:0!important;margin-right:0!important;}}
