.tc-sidebar {
  width: 250px;
  background: #fff;
  border-right: 1px solid rgba(11, 61, 46, 0.14);
}

.tc-nav-home {
  padding: 8px 10px 4px;
}

.tc-nav-dashboard {
  border-radius: 7px;
  font-weight: 600;
}

.tc-nav-section-label {
  color: var(--tc-secondary);
  font-weight: 700;
  letter-spacing: .08em;
  margin-top: 8px;
}

.tc-nav-section {
  border-top: 1px solid #edf1ed;
}

.tc-nav-section:last-of-type {
  border-bottom: 1px solid #edf1ed;
}

.tc-nav-section-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border: 0;
  background: #fff;
  color: #22302b;
  font-size: 13px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}

.tc-nav-section-toggle:hover {
  background: #f6f8f5;
  color: var(--tc-primary);
}

.tc-nav-section.is-open > .tc-nav-section-toggle {
  background: #f1f6f2;
  color: var(--tc-primary);
  box-shadow: inset 3px 0 0 var(--tc-accent);
}

.tc-nav-chevron {
  font-size: 18px;
  line-height: 1;
  color: #8b968f;
  transition: transform 120ms ease;
}

.tc-nav-section.is-open .tc-nav-chevron {
  transform: rotate(90deg);
  color: var(--tc-secondary);
}

.tc-nav-section-body {
  padding: 3px 0 8px;
  background: #fbfcfb;
}

.tc-nav-section-body .tc-nav-item {
  padding: 7px 18px 7px 28px;
  font-size: 13px;
  border-left-width: 0;
}

.tc-nav-section-body .tc-nav-item.active {
  background: #eaf2ec;
  color: var(--tc-primary);
  box-shadow: inset 3px 0 0 var(--tc-secondary);
}

.tc-nav-section-body .tc-hierarchy-wrap {
  margin: 7px 12px 3px 20px;
  border-left: 2px solid #dbe7dd;
  background: #fff;
}

.tc-nav-section-body .tc-hierarchy-title {
  color: var(--tc-primary);
  font-weight: 650;
}

/* Keep a long Estate/Block/Plot hierarchy inside the Properties accordion.
   The hierarchy scrolls independently instead of painting underneath the
   Sales, Receivables, Reports and Administration sections that follow it. */
.tc-nav-section-body .tc-hierarchy-tree {
  max-height: 360px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

@media (max-width: 900px) {
  .tc-sidebar { width: 220px; }
}
