.professor-learning-pair {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.professor-learning-flow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 16px;
  border: 1px solid rgba(214, 177, 94, 0.26);
  border-radius: 18px;
  background: rgba(21, 17, 12, 0.78);
}
.professor-learning-flow span,
.professor-learning-models > span {
  color: #b7aa91;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.professor-learning-flow h3 {
  margin: 5px 0;
  color: #f7f0e4;
  font-size: 1rem;
}
.professor-learning-flow p {
  max-width: 850px;
  margin: 0;
  color: #9e978d;
  font-size: 0.75rem;
  line-height: 1.48;
}
.professor-learning-flow > strong {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(205, 105, 78, 0.35);
  border-radius: 999px;
  background: rgba(128, 50, 34, 0.12);
  color: #dd9d88;
  font-size: 0.67rem;
}
.professor-learning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}
.professor-learning-card {
  display: grid;
  align-content: start;
  gap: 13px;
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 21px;
  background: rgba(15, 13, 10, 0.84);
}
.professor-learning-card-a {
  border-color: rgba(64, 177, 153, 0.28);
}
.professor-learning-card-b {
  border-color: rgba(214, 177, 94, 0.28);
}
.professor-learning-card > header {
  display: flex;
  align-items: center;
  gap: 11px;
}
.professor-learning-card > header > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  color: #f6ead2;
  font-weight: 900;
}
.professor-learning-card > header div {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.professor-learning-card > header strong {
  color: #f5efe4;
  font-size: 0.92rem;
}
.professor-learning-card > header small {
  color: #989185;
  font-size: 0.68rem;
}
.professor-learning-models {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.professor-learning-models > span {
  grid-column: 1/-1;
}
.professor-learning-local-model {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  color: #c9c1b4;
  text-align: left;
  cursor: pointer;
}
.professor-learning-local-model strong,
.professor-learning-local-model small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.professor-learning-local-model strong {
  font-size: 0.69rem;
}
.professor-learning-local-model small {
  color: #898277;
  font-size: 0.58rem;
}
.professor-learning-local-model.is-selected {
  border-color: rgba(62, 187, 158, 0.6);
  background: rgba(37, 140, 116, 0.16);
  color: #a9eadb;
}
.professor-learning-recommender-intro {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid rgba(214, 177, 94, 0.16);
  border-radius: 11px;
  background: rgba(214, 177, 94, 0.035);
}
.professor-learning-recommender-intro strong {
  color: #e5c981;
  font-size: 0.72rem;
}
.professor-learning-recommender-intro span {
  color: #969084;
  font-size: 0.66rem;
  line-height: 1.4;
}
.professor-learning-card-b .ai-recommender {
  border-radius: 16px;
}
.professor-learning-card-b .ai-recommender-targets {
  display: none;
}
.professor-learning-card-b .ai-recommender-models {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.professor-learning-history {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 105px;
  max-height: 260px;
  overflow: auto;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.16);
}
.professor-learning-empty {
  margin: auto 0;
  color: #7f796e;
  font-size: 0.68rem;
  text-align: center;
}
.professor-learning-message {
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}
.professor-learning-message-a {
  border-color: rgba(56, 168, 143, 0.22);
}
.professor-learning-message-b {
  border-color: rgba(214, 177, 94, 0.22);
}
.professor-learning-message strong {
  color: #cbc2b4;
  font-size: 0.64rem;
}
.professor-learning-message p {
  margin: 4px 0;
  color: #e2ddd4;
  font-size: 0.72rem;
  line-height: 1.43;
}
.professor-learning-message small {
  color: #756f66;
  font-size: 0.58rem;
}
.professor-learning-compose {
  display: grid;
  gap: 8px;
}
.professor-learning-compose label {
  display: grid;
  gap: 5px;
  color: #a7a095;
  font-size: 0.65rem;
  font-weight: 700;
}
.professor-learning-compose textarea {
  width: 100%;
  min-width: 0;
  resize: vertical;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  outline: none;
  background: rgba(0, 0, 0, 0.22);
  color: #f1ece4;
  font: inherit;
  font-size: 0.72rem;
  line-height: 1.4;
  padding: 9px 10px;
}
.professor-learning-compose button {
  justify-self: end;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(214, 177, 94, 0.38);
  border-radius: 10px;
  background: rgba(214, 177, 94, 0.11);
  color: #ead59f;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
}
.professor-learning-local-note {
  margin: 0;
  padding: 9px 11px;
  border: 1px dashed rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  color: #817b72;
  font-size: 0.62rem;
  line-height: 1.4;
  text-align: center;
}
@media (max-width: 1050px) {
  .professor-learning-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .professor-learning-flow {
    flex-direction: column;
  }
  .professor-learning-models,
  .professor-learning-card-b .ai-recommender-models {
    grid-template-columns: 1fr;
  }
  .professor-learning-compose button {
    justify-self: stretch;
  }
}
