.srm-module {
  --srm-sidebar-width: 212px;
}

.srm-module .app-shell {
  grid-template-columns: var(--srm-sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
}

.srm-module .sidebar {
  position: sticky;
  z-index: 30;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 18px 24px 26px;
  border-right: 0;
  background: #f1f5ff;
}

.srm-module .brand {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0 0 0 26px;
}

.srm-module .brand::before {
  display: none;
  content: none;
}

.srm-module .brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 30px;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(74, 94, 160, 0.08);
}

.srm-module .brand-mark img {
  display: block;
  width: auto;
  height: 30px;
  max-width: none;
  object-fit: contain;
}

.srm-module .brand-title {
  color: #171a24;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.5px;
  transform: none;
}

.srm-module .nav-group {
  min-height: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  overflow: hidden auto;
}

.srm-module .nav-heading {
  margin: 11px 0 4px;
  padding: 0 14px;
  color: #7e8aa8;
  font-size: 12px;
  font-weight: 500;
  line-height: 22px;
}

.srm-module .nav-heading:first-child {
  margin-top: 0;
}

.srm-module .nav-item {
  position: relative;
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  flex: 0 0 44px;
  gap: 10px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #697591;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.srm-module .nav-item:hover {
  background: rgba(220, 232, 252, 0.52);
  color: #526bff;
}

.srm-module .nav-item.active,
.srm-module .nav-item.active:hover {
  background: #dce8fc;
  color: #526bff;
  font-weight: 800;
}

.srm-module .nav-icon {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 16px;
  color: currentColor;
  font-size: 14px;
  opacity: 0.78;
}

.srm-module .nav-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.srm-module .nav-item.active .nav-icon,
.srm-module .nav-item:hover .nav-icon {
  opacity: 1;
}

.srm-module .user-profile {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0;
  padding: 8px 13px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 5px 14px rgba(57, 78, 136, 0.06);
}

.srm-module .user-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 38px;
  border: 3px solid #3548d8;
  border-radius: 50%;
  background: #f4b796;
  color: #202542;
  font-size: 25px;
  line-height: 1;
}

.srm-module .user-name {
  color: #242938;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .srm-module .app-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .srm-module .sidebar {
    position: static;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 14px 18px;
    overflow-x: auto;
  }

  .srm-module .brand {
    flex: 0 0 auto;
    margin: 0 16px 0 0;
    padding: 0;
  }

  .srm-module .nav-group {
    min-width: max-content;
    flex-direction: row;
    align-items: center;
    overflow: visible;
  }

  .srm-module .nav-heading,
  .srm-module .user-profile {
    display: none;
  }

  .srm-module .nav-item {
    width: auto;
    white-space: nowrap;
  }

  .srm-module .compose-footer {
    left: 0;
  }
}
