.portal-shell {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100vh;
}
.portal-content {
  min-width: 0;
}
.portal-sidebar {
  background: #102b48;
  color: #f4f8ff;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  height: 100dvh;
  padding: 28px 18px 18px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #4e6885 transparent;
}
.portal-sidebar .brand {
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
.portal-sidebar .portal-menu,
.portal-sidebar .identity-nav-group {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
}
.portal-sidebar .portal-menu > summary {
  display: none;
}
.portal-sidebar .portal-menu-content {
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - 110px);
}
.portal-sidebar nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
}
.portal-sidebar .nav-label {
  font-size: 12px;
  color: #a9bed4;
  margin: 24px 12px 8px;
  font-weight: 500;
  letter-spacing: 0;
}
.portal-sidebar .nav-link,
.portal-sidebar .identity-nav-group > summary {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #dce8f6;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
  font-weight: 400;
}
.portal-sidebar .identity-nav-group > summary::-webkit-details-marker {
  display: none;
}
.vl-nav-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
.vl-nav-text {
  min-width: 0;
}
.portal-sidebar .vl-nav-text small {
  display: block;
  color: #b1c6dc;
  font-size: 11px;
  margin-top: 3px;
}
.portal-sidebar .nav-link:hover,
.portal-sidebar .identity-nav-group > summary:hover {
  background: #203d5d;
  color: #fff;
}
.portal-sidebar .nav-link[aria-current] {
  background: #1d4e7b;
  border-color: #3973a3;
  color: #fff;
  font-weight: 500;
}
.portal-sidebar .identity-nav-group.has-current-step > summary {
  color: #fff;
  background: #193956;
}
.portal-sidebar .group-chevron {
  margin-left: auto;
  font-size: 22px;
  color: #a9c6df;
  line-height: 1;
}
.portal-sidebar .identity-nav-group[open] > summary .group-chevron {
  transform: rotate(90deg);
}
.portal-sidebar .identity-nav-steps {
  margin: 7px 0 9px 21px;
  padding-left: 10px;
  border-left: 1px solid #43607e;
  display: grid;
  gap: 3px;
}
.portal-sidebar .identity-nav-steps .nav-link {
  font-size: 13px;
  min-height: 42px;
  padding: 8px;
}
.portal-sidebar .identity-nav-steps .nav-link > span[aria-hidden] {
  color: #9ebcda;
  font-size: 11px;
}
.portal-sidebar :is(a, button, summary):focus-visible {
  outline: 3px solid #67d9ee;
  outline-offset: 3px;
}
.portal-sidebar .sidebar-bottom {
  position: static;
  margin-top: auto;
  padding: 28px 12px 8px;
}
.portal-sidebar .private-label {
  display: block;
  color: #e0edf9;
  font-size: 12px;
}
.portal-sidebar .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #67d9ee;
  border-radius: 50%;
  margin-right: 7px;
}
.portal-sidebar .sidebar-bottom p {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: #b0c4d9;
  margin: 10px 0 16px;
}
.portal-sidebar .sidebar-bottom .ghost {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px;
  border: 1px solid #496786;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}
.portal-sidebar .sidebar-bottom .ghost:hover {
  background: #203d5d;
}
.portal-sidebar [hidden] {
  display: none !important;
}
.portal-content > .portal-module-topbar {
  background: #fff;
  color: #53677d;
  padding: 20px 36px;
  border-bottom: 1px solid #dce4ee;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.portal-module-topbar .tag {
  color: #53677d;
  border-color: #dce4ee;
  font-size: 12px;
}
.portal-content > main {
  width: 100%;
  min-width: 0;
}
.portal-content .intro {
  flex-wrap: wrap;
}
@media (max-width: 1100px) and (min-width: 761px) {
  .portal-shell,
  #workspace.workspace {
    grid-template-columns: 232px minmax(0, 1fr);
  }
  .portal-sidebar {
    padding-inline: 12px;
  }
  .portal-sidebar .nav-link,
  .portal-sidebar .identity-nav-group > summary {
    padding-inline: 9px;
    gap: 8px;
    font-size: 13px;
  }
}
@media (max-width: 760px) {
  .portal-shell {
    display: block;
  }
  .portal-sidebar {
    position: relative;
    height: auto;
    min-height: 86px;
    padding: 18px 16px;
    overflow: visible;
  }
  .portal-sidebar .brand {
    width: fit-content;
    max-width: calc(100% - 85px);
  }
  .portal-sidebar .portal-menu > summary {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    top: 20px;
    right: 16px;
    cursor: pointer;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #496786;
    border-radius: 8px;
    font-size: 13px;
    list-style: none;
  }
  .portal-sidebar .portal-menu > summary::-webkit-details-marker {
    display: none;
  }
  .portal-sidebar .portal-menu-content {
    min-height: 0;
    padding-top: 12px;
  }
  .portal-sidebar .sidebar-bottom {
    padding-top: 24px;
  }
  .portal-content > .portal-module-topbar {
    padding: 16px 20px;
    flex-wrap: wrap;
  }
  .portal-content > main {
    padding: 26px 18px;
  }
}
@media print {
  .portal-sidebar,
  .portal-module-topbar {
    display: none !important;
  }
  .portal-shell {
    display: block;
  }
}
