.workspace-sidebar--streamlined {
  --workspace-nav-paper: var(--crm-paper, #fffdfa);
  --workspace-nav-ink: var(--crm-ink, #29251f);
  --workspace-nav-muted: var(--crm-muted, #655d52);
  --workspace-nav-line: var(--crm-line, #ded5c8);
  --workspace-nav-hover: var(--crm-tint, #f1e9df);
  --workspace-nav-active: var(--crm-accent-tint, #f3e3dc);
  --workspace-nav-accent: var(--crm-accent, #85483a);
  --workspace-nav-accent-dark: var(--crm-accent-dark, #673529);
  --workspace-nav-toggle-height: 48px;

  border-color: var(--workspace-nav-line);
  border-radius: 10px;
  background: var(--workspace-nav-paper);
  color: var(--workspace-nav-ink);
  box-shadow: none;
  font-size: 0.85rem;
  line-height: 1.35;
}

.workspace-sidebar--streamlined .workspace-sidebar-checkbox {
  height: var(--workspace-nav-toggle-height);
}

.workspace-sidebar--streamlined .workspace-sidebar-toggle {
  min-height: var(--workspace-nav-toggle-height);
  gap: 8px;
  padding: 7px 12px;
  border-color: var(--workspace-nav-line);
  background: var(--workspace-nav-paper);
  color: var(--workspace-nav-ink);
}

.workspace-sidebar--streamlined .workspace-sidebar-toggle strong {
  color: inherit;
  font-size: 0.875rem;
  font-weight: 700;
}

.workspace-sidebar--streamlined .workspace-sidebar-toggle-copy {
  order: 0;
}

.workspace-sidebar--streamlined .workspace-sidebar-toggle-state {
  color: var(--workspace-nav-muted);
  font-size: 0.73rem;
  font-weight: 550;
  letter-spacing: normal;
  text-transform: none;
}

.workspace-sidebar--streamlined .workspace-sidebar-toggle-icon {
  order: 1;
  width: 24px;
  height: 26px;
  border: 0;
  border-radius: 5px;
  background: none;
  color: var(--workspace-nav-muted);
  font-size: 0.86rem;
}

.workspace-sidebar--streamlined .workspace-sidebar-checkbox:hover + .workspace-sidebar-toggle {
  background: var(--workspace-nav-hover);
  color: var(--workspace-nav-accent-dark);
}

.workspace-sidebar--streamlined .workspace-sidebar-checkbox:focus-visible + .workspace-sidebar-toggle,
.workspace-sidebar--streamlined :is(a, summary, button, input[type="submit"], select):focus-visible {
  outline: 2px solid var(--workspace-nav-accent);
  outline-offset: -2px;
}

.workspace-sidebar--streamlined .workspace-sidebar-shell {
  scrollbar-gutter: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--workspace-nav-line) transparent;
}

.workspace-sidebar--streamlined .workspace-sidebar-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 8px;
}

.workspace-sidebar-primary,
.workspace-sidebar-tools {
  display: grid;
  gap: 2px;
}

.workspace-sidebar--streamlined .workspace-links {
  gap: 1px;
}

.workspace-sidebar--streamlined .workspace-link,
.workspace-sidebar--streamlined .workspace-sidebar-group-toggle {
  min-height: 33px;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: none;
  color: var(--workspace-nav-ink);
  font: inherit;
  font-weight: 550;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.workspace-sidebar-primary > .workspace-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 35px;
}

.workspace-sidebar-primary > .workspace-link > :is(i, svg),
.workspace-sidebar-group-toggle > :is(i, svg) {
  flex: 0 0 16px;
  width: 16px;
  color: var(--workspace-nav-muted);
  font-size: 0.82rem;
  text-align: center;
}

.workspace-sidebar--streamlined .workspace-link:hover,
.workspace-sidebar--streamlined .workspace-sidebar-group-toggle:hover {
  background: var(--workspace-nav-hover);
  color: var(--workspace-nav-ink);
}

.workspace-sidebar--streamlined .workspace-link:is(.workspace-link-active, [aria-current="page"], [aria-current="location"]) {
  background: var(--workspace-nav-active);
  color: var(--workspace-nav-accent-dark);
  box-shadow: inset 3px 0 var(--workspace-nav-accent);
  font-weight: 700;
}

.workspace-sidebar-primary > .workspace-link[aria-current="page"] > :is(i, svg) {
  color: inherit;
}

.workspace-sidebar-tools {
  padding-top: 5px;
  border-top: 1px solid var(--workspace-nav-line);
}

.workspace-sidebar-switcher {
  padding: 5px 8px 0;
}

.workspace-sidebar--streamlined .workspace-sidebar-group-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  cursor: pointer;
}

.workspace-sidebar-group-toggle::-webkit-details-marker {
  display: none;
}

.workspace-sidebar-group-toggle::marker {
  content: "";
}

.workspace-sidebar-group-toggle::after {
  width: 0.4rem;
  height: 0.4rem;
  flex: 0 0 auto;
  margin-inline: auto 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: var(--workspace-nav-muted);
  content: "";
  transform: translateY(-0.1rem) rotate(45deg);
}

details[open] > .workspace-sidebar-group-toggle::after {
  transform: translateY(0.08rem) rotate(225deg);
}

.workspace-sidebar-group-toggle > .workspace-menu-caret {
  display: none;
}

.workspace-sidebar-group > :is(.workspace-links, .workspace-project-browser) {
  margin: 1px 0 4px 9px;
  padding-left: 5px;
  border-left: 1px solid var(--workspace-nav-line);
}

.workspace-sidebar-group[open] > .workspace-sidebar-group-toggle {
  color: var(--workspace-nav-accent-dark);
}

.workspace-sidebar-switcher .workspace-org-form {
  gap: 5px;
  margin: 2px 4px 6px;
}

.workspace-sidebar-switcher .workspace-org-select,
.workspace-sidebar-switcher .workspace-org-submit {
  min-height: 35px;
  max-width: 100%;
  padding: 5px 8px;
  border-color: var(--workspace-nav-line);
  border-radius: 6px;
  background-color: var(--workspace-nav-paper);
  color: var(--workspace-nav-ink);
  font-size: 0.82rem;
  letter-spacing: normal;
  text-transform: none;
  box-shadow: none;
}

.workspace-sidebar-switcher .workspace-org-submit {
  color: var(--workspace-nav-accent-dark);
}

.workspace-sidebar--streamlined .workspace-menu-group {
  border-color: var(--workspace-nav-line);
  border-radius: 7px;
  background: none;
}

.workspace-sidebar--streamlined .workspace-menu-summary {
  padding: 7px 9px;
}

.workspace-sidebar--streamlined .workspace-menu-summary:hover,
.workspace-sidebar--streamlined .workspace-menu-subsection-summary:hover {
  background: var(--workspace-nav-hover);
}

.workspace-sidebar--streamlined .workspace-menu-title {
  color: var(--workspace-nav-ink);
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}

.workspace-sidebar--streamlined .workspace-menu-panel {
  padding: 4px 5px 6px;
  border-color: var(--workspace-nav-line);
}

.workspace-sidebar--streamlined :is(.workspace-menu-section, .workspace-menu-subsection) + :is(.workspace-menu-section, .workspace-menu-subsection) {
  border-color: var(--workspace-nav-line);
}

.workspace-sidebar--streamlined .workspace-menu-caret {
  border-color: var(--workspace-nav-muted);
}

.workspace-sidebar--streamlined .workspace-menu-summary > .workspace-menu-caret {
  top: 12px;
  margin-top: 0;
}

.workspace-sidebar--streamlined .workspace-menu-subsection > summary .workspace-menu-subsection-caret {
  transform: rotate(45deg);
}

.workspace-sidebar--streamlined .workspace-menu-subsection[open] > summary .workspace-menu-subsection-caret {
  transform: rotate(225deg);
}

.workspace-sidebar--streamlined :is(.workspace-group-label, .workspace-menu-section-title, .workspace-section-note, .workspace-muted, .workspace-link-meta, .workspace-project-browser-count) {
  color: var(--workspace-nav-muted);
}

.workspace-sidebar--streamlined .workspace-project-browser-project > summary {
  padding: 4px;
  border-radius: 4px;
}

.workspace-sidebar--streamlined .workspace-project-browser-project > summary .workspace-menu-section-heading {
  color: var(--workspace-nav-ink);
  font-size: 0.8rem;
  font-weight: 650;
  overflow-wrap: anywhere;
  align-items: flex-start;
  flex-direction: column;
  gap: 1px;
}

@media (min-width: 1101px) {
  .workspace-shell:has(> .workspace-sidebar--streamlined) {
    grid-template-columns: 216px minmax(0, 1fr);
  }

  .workspace-shell:has(> .workspace-sidebar--streamlined .workspace-sidebar-checkbox:checked) {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .workspace-sidebar--streamlined {
    height: auto;
  }

  .workspace-sidebar--streamlined:has(.workspace-sidebar-checkbox:checked) {
    border-radius: 10px;
  }

  .workspace-sidebar--streamlined .workspace-sidebar-checkbox:checked + .workspace-sidebar-toggle {
    padding: 0;
    border-radius: inherit;
  }
}

@media (max-width: 1100px) {
  .workspace-sidebar--streamlined .workspace-sidebar-toggle {
    border-bottom: 0;
  }

  .workspace-sidebar--streamlined .workspace-sidebar-shell {
    border-top: 1px solid var(--workspace-nav-line);
  }

  .workspace-sidebar--streamlined .workspace-sidebar-toggle-icon :is(.fa-angles-left, .fa-angles-right, .fa-chevron-left, .fa-chevron-right) {
    transform: rotate(90deg);
  }

  .workspace-sidebar--streamlined :is(.workspace-link, .workspace-sidebar-group-toggle) {
    min-height: 42px;
  }
}

.session-setup-return {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  margin-bottom: 0.75rem;
}
