.professor-chat-active-software.has-progress {
  grid-template-columns: auto minmax(0, 1fr) minmax(230px, 0.42fr);
}

.professor-chat-active-software.has-progress > span {
  grid-column: 1 / -1;
}

.professor-active-software-progress {
  display: grid;
  gap: 5px;
  min-width: 230px;
  align-self: center;
  padding-left: 12px;
  border-left: 1px solid rgba(214, 177, 94, 0.15);
}

.professor-active-progress-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.professor-active-progress-heading span {
  color: #9d978c;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.professor-active-progress-heading strong {
  color: #f7f1e6;
  font-size: 0.72rem;
}

.professor-active-progress-scale {
  display: grid;
  grid-template-columns: auto minmax(90px, 1fr) auto;
  align-items: center;
  gap: 7px;
  color: #8f897e;
  font-size: 0.61rem;
  font-weight: 700;
}

.professor-active-progress-track {
  position: relative;
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.professor-active-progress-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  min-width: 2px;
  border-radius: inherit;
  transition:
    width 220ms ease,
    background 220ms ease;
}

.professor-active-software-progress[data-band="low"]
  .professor-active-progress-track
  i {
  background: linear-gradient(90deg, #8f2f2f, #d84d4d);
}

.professor-active-software-progress[data-band="medium"]
  .professor-active-progress-track
  i {
  background: linear-gradient(90deg, #a98214, #e6bf35);
}

.professor-active-software-progress[data-band="high"]
  .professor-active-progress-track
  i {
  background: linear-gradient(90deg, #b96b19, #ed9937);
}

.professor-active-software-progress[data-band="complete"]
  .professor-active-progress-track
  i {
  background: linear-gradient(90deg, #11885c, #24d18d);
}

.professor-active-software-progress[data-band="complete"]
  .professor-active-progress-heading
  strong {
  color: #62e6b1;
}

@media (max-width: 1100px) {
  .professor-chat-active-software.has-progress {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .professor-active-software-progress {
    grid-column: 1 / -1;
    min-width: 0;
    padding-top: 7px;
    padding-left: 0;
    border-top: 1px solid rgba(214, 177, 94, 0.12);
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .professor-chat-active-software.has-progress {
    grid-template-columns: 1fr;
  }

  .professor-chat-active-software.has-progress > span,
  .professor-active-software-progress {
    grid-column: auto;
  }
}
