/* Area identity and group headings have distinct visual and semantic roles. */
.workspace-sidebar > details { max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); overflow-y: auto; scrollbar-width: thin; }
.workspace-sidebar .workspace-nav-label {
  display: flex; align-items: center; gap: .65rem; min-height: 52px;
  margin: 0 0 1rem; padding: .85rem .9rem; border-radius: 10px;
  background: #213b60; color: #fff; font-size: 1rem; font-weight: 750;
  letter-spacing: -.025em; line-height: 1.4;
}
.workspace-sidebar .workspace-nav-label::before {
  content: ""; width: 8px; height: 8px; flex: 0 0 8px;
  border: 2px solid #dbe8ff; border-radius: 3px;
}
.workspace-sidebar .nav-group-heading {
  display: flex; align-items: center; gap: .5rem; min-height: 36px;
  margin: 1rem 0 .3rem; padding: .5rem .65rem;
  border: 1px solid #dce4ef; border-left: 4px solid #708db7;
  border-radius: 6px; background: #f0f4f9; color: #324969;
  font-size: .85rem; font-weight: 750; letter-spacing: 0; text-transform: none;
}
.workspace-sidebar .nav-group-heading:first-child { padding-top: .5rem; }
.workspace-sidebar .subnavigation-primary a { margin-inline: .15rem; }
.workflow-crm-options [data-workflow-contact-details] {
  padding: 1rem; margin: .65rem 0; border: 1px solid #dce4ef;
  border-radius: 8px; background: #f7f9fc;
}
.workflow-crm-options [data-workflow-contact-details][hidden] { display: none; }
.workflow-crm-options [data-workflow-contact-details] textarea { width: 100%; min-height: 90px; }
.workflow-bound-task { padding: .7rem .85rem; border-left: 3px solid #7693bc; background: #f4f7fc; }
@media (max-width: 980px) {
  .workspace-sidebar > details { max-height: none; overflow: visible; }
  .workspace-sidebar .workspace-nav-label { display: none; }
  .workspace-sidebar .nav-group-heading {
    grid-column: 1 / -1; margin: .75rem 0 .2rem; min-height: 34px;
    padding: .45rem .65rem; font-size: .85rem;
  }
}
