.side-nav {
  display: grid;
  gap: 5px;
  padding: 16px;
}

.side-nav button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #5f6d65;
  text-align: left;
  font-weight: 650;
  box-shadow: none;
  transform: none;
}

.side-nav button:hover {
  background: #f0f5f2;
  color: #17211b;
  box-shadow: none;
  transform: none;
}

.side-nav button.active {
  background: #e7f3ee;
  color: #1f7a5c;
}

.drawer-project-compact {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #dbe4df;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: #08142a;
  box-shadow: 0 10px 24px rgba(8, 20, 42, 0.04);
}

.drawer-project-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eef8f4;
  color: #15835d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.drawer-project-icon svg {
  width: 20px;
  height: 20px;
}

.drawer-project-copy {
  min-width: 0;
  flex: 1;
}

.drawer-project-compact strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
  line-height: 1.2;
}

.drawer-project-compact p {
  margin: 4px 0 0;
  color: #64736b;
  font-size: 12px;
  line-height: 1.35;
}

.drawer-project-chevron {
  color: #617386;
  font-size: 16px;
}

.drawer-project-actions {
  display: grid;
}

.drawer-project-btn {
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  font-size: 14px;
}

.drawer-nav {
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  padding-bottom: 8px;
}

.drawer-nav-group {
  display: grid;
  gap: 3px;
  padding-top: 8px;
  border-top: 1px solid #edf2f7;
}

.drawer-nav-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.drawer-nav-group:last-child {
  margin-top: auto;
}

.drawer-section-label {
  color: #8a99ab;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  padding: 0 10px 3px;
}

.drawer-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  min-height: 42px;
  border-radius: 8px;
  background: transparent;
  color: #43566f;
  border-color: transparent;
  box-shadow: none;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  position: relative;
}

.drawer-nav-btn:hover {
  background: #eef8f4;
  color: #0c7d59;
  box-shadow: none;
  transform: none;
}

.drawer-nav-btn.active {
  background: #eef8f4;
  color: #0c7d59;
  border-color: transparent;
  box-shadow: inset 3px 0 0 #2d8b68;
}

.drawer-project-groups {
  gap: 8px;
}

.drawer-project-group {
  display: grid;
  gap: 4px;
}

.drawer-nav-group-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  min-height: 42px;
  border-radius: 8px;
  background: transparent;
  color: #30455f;
  border-color: transparent;
  box-shadow: none;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 800;
}

.drawer-nav-group-toggle:hover {
  background: #f2f7fd;
  color: #133c67;
  box-shadow: none;
  transform: none;
}

.drawer-project-group.is-open .drawer-nav-group-toggle {
  background: #f2f7fd;
  color: #133c67;
}

.drawer-group-chevron {
  margin-left: auto;
  color: #73839a;
  font-size: 15px;
  transition: transform 160ms ease, color 160ms ease;
}

.drawer-project-group.is-open .drawer-group-chevron {
  transform: rotate(90deg);
  color: #1d5f9c;
}

.drawer-nav-submenu {
  display: none;
  gap: 3px;
  padding-left: 16px;
}

.drawer-project-group.is-open .drawer-nav-submenu {
  display: grid;
}

.drawer-subnav-btn {
  min-height: 38px;
  padding-left: 36px;
  font-weight: 700;
  font-size: 12.5px;
}

.drawer-subnav-btn.active {
  box-shadow: inset 3px 0 0 #2d8b68;
}

.nav-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-icon svg,
.btn-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drawer-label-text {
  white-space: nowrap;
}

body.sidebar-collapsed .drawer-project-compact,
body.sidebar-collapsed .drawer-project-btn,
body.sidebar-collapsed .drawer-nav-btn,
body.sidebar-collapsed .drawer-nav-group-toggle {
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}

body.sidebar-collapsed .drawer-nav-group {
  justify-items: center;
}

body.sidebar-collapsed .drawer-nav-submenu {
  display: none !important;
}

body.sidebar-collapsed .drawer-project-compact {
  padding: 10px 0;
}

body.sidebar-collapsed .drawer-project-btn {
  width: 100%;
}

.main-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav-btn {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #d5dde7;
  background: #fff;
  color: #314254;
  box-shadow: none;
  font-size: 13px;
  font-weight: 750;
}

.main-nav-btn:hover {
  background: #eef5fd;
  color: #08142a;
  box-shadow: none;
  transform: none;
}

.main-nav-btn.active {
  background: #2d8b68;
  border-color: #2d8b68;
  color: #fff;
}

.side-nav {
  padding: 12px;
  gap: 3px;
}

.side-nav button {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 14px;
}

.main-nav {
  display: none !important;
}
