.workspace-nav {
  position: relative;
  z-index: 20;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line, #d4dfd1);
  color: var(--ink, #163e2e);
}
.workspace-nav a,
.workspace-nav button {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 15px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.workspace-nav a:hover,
.workspace-nav button:hover {
  background: #e7eddf;
}
.workspace-nav a:focus-visible,
.workspace-nav button:focus-visible {
  outline: 2px solid var(--green-deep, #087049);
  outline-offset: 3px;
}
.workspace-nav [hidden] { display: none !important; }
.workspace-nav__desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 64px;
  padding-bottom: 8px;
}
.workspace-nav__desktop > a,
.workspace-nav__group-toggle {
  position: relative;
  white-space: nowrap;
}
.workspace-nav__desktop > a[aria-current],
.workspace-nav .workspace-nav__group-toggle.is-current {
  color: var(--green-deep, #126344);
  font-weight: 750;
}
.workspace-nav__desktop > a[aria-current]::after,
.workspace-nav__group-toggle.is-current::after {
  position: absolute;
  right: 14px;
  bottom: -9px;
  left: 14px;
  height: 3px;
  border-radius: 3px;
  background: var(--green, #087049);
  content: '';
}
.workspace-nav__group { position: relative; }
.workspace-nav .workspace-nav__group-toggle { gap: 7px; }
.workspace-nav__chevron { flex: 0 0 16px; width: 16px; height: 16px; }
.workspace-nav [aria-expanded="true"] .workspace-nav__chevron { transform: rotate(180deg); }
.workspace-nav__dropdown {
  position: absolute;
  z-index: 1;
  top: calc(100% + 10px);
  left: 0;
  width: 264px;
  padding: 7px;
  border: 1px solid var(--line, #d4dfd1);
  border-radius: 10px;
  background: var(--white, #fffef8);
  box-shadow: 0 14px 30px #19362720;
}
.workspace-nav__group:last-child .workspace-nav__dropdown { right: 0; left: auto; }
.workspace-nav__dropdown a,
.workspace-nav__dropdown button,
.workspace-nav__sections a,
.workspace-nav__sections button { width: 100%; }
.workspace-nav__dropdown [aria-current],
.workspace-nav__sections [aria-current] {
  background: #e4eddc;
  color: var(--green-deep, #126344);
  font-weight: 750;
}
.workspace-nav__mobile { display: none; }
.workspace-nav__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .workspace-nav { margin-bottom: 22px; }
  .workspace-nav__desktop { display: none; }
  .workspace-nav__mobile { display: block; }
  .workspace-nav .workspace-nav__section-toggle {
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 12px 0 16px;
    border-radius: 0;
  }
  .workspace-nav .workspace-nav__section-toggle:hover { background: transparent; }
  .workspace-nav__caption {
    display: block;
    margin-bottom: 5px;
    color: var(--muted, #5d7364);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  .workspace-nav__current { display: block; font-size: 15px; font-weight: 700; }
  .workspace-nav__switch {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 6px;
    color: var(--muted, #5d7364);
    font-size: 12px;
  }
  .workspace-nav__sections {
    max-height: min(65vh, 540px);
    margin-bottom: 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px;
    border: 1px solid var(--line, #d4dfd1);
    border-radius: 10px;
    background: var(--white, #fffef8);
  }
  .workspace-nav__section-links + .workspace-nav__section-links {
    margin-top: 7px;
    padding-top: 7px;
    border-top: 1px solid var(--line, #d4dfd1);
  }
  .workspace-nav__section-links p {
    margin: 7px 15px 3px;
    color: var(--muted, #5d7364);
    font-size: 11px;
    font-weight: 650;
  }
}
