/* Authenticated intranet screens use a horizontal application bar, not a side rail. */
.wj-intranet-shell.is-workspace{
  display:block;
  min-height:100svh;
  background:#f7f9fd;
}

.wj-intranet-shell.is-workspace .wj-intranet-sidebar{
  position:sticky;
  top:0;
  z-index:30;
  display:flex;
  width:100%;
  height:76px;
  min-height:76px;
  flex-direction:row;
  align-items:center;
  gap:18px;
  overflow:visible;
  padding:10px clamp(20px,3vw,48px);
  border:0;
  border-bottom:1px solid rgba(255,255,255,.16);
  background:linear-gradient(112deg,#10224c 0%,#153b9c 56%,#1d59eb 100%);
  box-shadow:0 8px 24px rgba(16,35,79,.16);
}
.wj-intranet-shell.is-workspace .wj-intranet-sidebar:before{display:none}
.wj-intranet-shell.is-workspace .wj-intranet-sidebar-logo{
  flex:none;
  gap:8px;
  padding:4px 10px;
  border-radius:9px;
}
.wj-intranet-shell.is-workspace .wj-intranet-sidebar-logo img{width:116px;height:32px}
.wj-intranet-shell.is-workspace .wj-intranet-sidebar-logo span{font-size:9px}
.wj-intranet-shell.is-workspace .wj-intranet-user{display:none}

.wj-intranet-shell.is-workspace .wj-intranet-side-nav{
  display:flex;
  min-width:0;
  flex:1;
  gap:4px;
  align-items:center;
}
.wj-intranet-shell.is-workspace .wj-intranet-side-nav p{display:none}
.wj-intranet-shell.is-workspace .wj-intranet-side-nav a{
  min-height:42px;
  gap:8px;
  padding:10px 12px;
  border:1px solid transparent;
  border-radius:8px;
  color:rgba(255,255,255,.76);
  font-size:13px;
  white-space:nowrap;
}
.wj-intranet-shell.is-workspace .wj-intranet-side-nav a i{width:auto;color:inherit}
.wj-intranet-shell.is-workspace .wj-intranet-side-nav a b{margin-left:1px;background:rgba(255,255,255,.15);color:rgba(255,255,255,.74)}
.wj-intranet-shell.is-workspace .wj-intranet-side-nav a:hover,
.wj-intranet-shell.is-workspace .wj-intranet-side-nav a.on{
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.17);
  color:#fff;
}

.wj-intranet-shell.is-workspace .wj-intranet-account-actions--topbar{
  display:flex;
  width:auto;
  flex:none;
  gap:6px;
  align-items:center;
}
.wj-intranet-shell.is-workspace .wj-intranet-account-actions--topbar a,
.wj-intranet-shell.is-workspace .wj-intranet-account-actions--topbar button{
  min-height:38px;
  padding:8px 10px;
  border-color:rgba(255,255,255,.2);
  background:rgba(255,255,255,.1);
  color:rgba(255,255,255,.88);
  font-size:12px;
}
.wj-intranet-shell.is-workspace .wj-intranet-account-actions--topbar a:hover{
  border-color:rgba(255,255,255,.62);
  background:rgba(255,255,255,.18);
  color:#fff;
}
.wj-intranet-shell.is-workspace .wj-intranet-account-actions--topbar .admin-link{background:rgba(255,255,255,.18);color:#fff}
.wj-intranet-shell.is-workspace .wj-intranet-account-actions--topbar button{border-color:rgba(255,210,215,.42);background:rgba(100,14,36,.24);color:#ffe4e7}
.wj-intranet-shell.is-workspace .wj-intranet-account-actions--topbar button:hover{border-color:#ffd6dc;background:rgba(100,14,36,.42)}
.wj-intranet-shell.is-workspace .wj-intranet-account-actions--topbar .wj-push-unread-badge{background:#ff5c70}
.wj-intranet-shell.is-workspace .wj-intranet-side-bottom{
  display:flex;
  flex:none;
  margin:0;
  padding:0 0 0 14px;
  border-top:0;
  border-left:1px solid rgba(255,255,255,.2);
}
.wj-intranet-shell.is-workspace .wj-intranet-side-bottom a{padding:10px 0;color:rgba(255,255,255,.7);white-space:nowrap}
.wj-intranet-shell.is-workspace .wj-intranet-side-bottom a:hover{color:#fff}
.wj-intranet-shell.is-workspace .wj-intranet-workspace{width:min(100%,1600px);margin:0 auto;padding:48px clamp(28px,5vw,88px)}

@media(max-width:1250px){
  .wj-intranet-shell.is-workspace .wj-intranet-account-actions--topbar a,
  .wj-intranet-shell.is-workspace .wj-intranet-account-actions--topbar button{
    position:relative;
    display:block;
    width:38px;
    padding:0;
    font-size:0;
  }
  .wj-intranet-shell.is-workspace .wj-intranet-account-actions--topbar a i,
  .wj-intranet-shell.is-workspace .wj-intranet-account-actions--topbar button i{
    position:absolute;
    inset:0;
    display:flex;
    margin:0;
    font-size:14px;
    line-height:1;
    align-items:center;
    justify-content:center;
  }
  .wj-intranet-shell.is-workspace .wj-intranet-account-actions--topbar a i::before,
  .wj-intranet-shell.is-workspace .wj-intranet-account-actions--topbar button i::before{
    display:block;
    transform:translate(1px,.5px);
  }
  .wj-intranet-shell.is-workspace .wj-intranet-side-bottom{display:none}
}

@media(max-width:900px){
  .wj-intranet-shell.is-workspace .wj-intranet-sidebar{height:auto;min-height:0;flex-wrap:wrap;gap:9px 14px;padding:10px 20px}
  .wj-intranet-shell.is-workspace .wj-intranet-side-nav{order:3;width:100%;flex:0 0 100%;overflow-x:auto;padding-bottom:1px}
  .wj-intranet-shell.is-workspace .wj-intranet-side-nav a{min-height:38px;padding:8px 10px;font-size:12px}
  .wj-intranet-shell.is-workspace .wj-intranet-workspace{padding:36px 30px}
}

@media(max-width:560px){
  .wj-intranet-shell.is-workspace .wj-intranet-sidebar{position:relative;padding:9px 14px;gap:8px}
  .wj-intranet-shell.is-workspace .wj-intranet-sidebar-logo{padding:3px 8px}
  .wj-intranet-shell.is-workspace .wj-intranet-sidebar-logo img{width:108px;height:30px}
  .wj-intranet-shell.is-workspace .wj-intranet-sidebar-logo span{display:none}
  .wj-intranet-shell.is-workspace .wj-intranet-account-actions--topbar{margin-left:auto;gap:5px}
  .wj-intranet-shell.is-workspace .wj-intranet-account-actions--topbar a,
  .wj-intranet-shell.is-workspace .wj-intranet-account-actions--topbar button{width:34px;min-height:34px;border-radius:8px}
  .wj-intranet-shell.is-workspace .wj-intranet-side-nav{gap:5px;margin:0;scrollbar-width:none}
  .wj-intranet-shell.is-workspace .wj-intranet-side-nav::-webkit-scrollbar{display:none}
  .wj-intranet-shell.is-workspace .wj-intranet-side-nav a{min-height:36px;padding:7px 9px}
  .wj-intranet-shell.is-workspace .wj-intranet-side-nav a b{display:none}
  .wj-intranet-shell.is-workspace .wj-intranet-workspace{padding:28px 22px}
}
