.tf-learning-panel {
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid rgba(140, 106, 62, 0.24);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(46, 49, 54, 0.96), rgba(46, 49, 54, 0.84));
}

.tf-learning-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.tf-learning-head h3 {
  margin: 0;
  font-size: 16px;
  color: #fff;
}

.tf-learning-head a {
  font-size: 12px;
  color: var(--bronze);
  text-decoration: none;
}

.tf-learning-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}

.tf-learning-col h4 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

.tf-learning-card {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(181, 183, 185, 0.14);
  background: rgba(18, 19, 21, 0.55);
  margin-bottom: 8px;
}

.tf-learning-card-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.tf-learning-card-meta span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}

.tf-learning-card h4 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}

.tf-learning-card p {
  margin: 0 0 5px;
  color: var(--ash);
  font-size: 12px;
  line-height: 1.45;
}

.tf-learning-pattern {
  border: 1px solid rgba(181, 183, 185, 0.14);
  border-radius: 10px;
  background: rgba(18, 19, 21, 0.55);
  padding: 10px;
}

.tf-learning-pattern-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(181, 183, 185, 0.08);
}

.tf-learning-pattern-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.tf-learning-pattern-item strong {
  font-size: 12px;
  color: #fff;
}

.tf-learning-pattern-item span {
  font-size: 12px;
  color: var(--ash);
  line-height: 1.45;
}

.tf-learning-empty {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.tf-learning-assist {
  position: fixed;
  right: 14px;
  bottom: 16px;
  width: min(320px, calc(100vw - 28px));
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(140, 106, 62, 0.3);
  background: rgba(18, 19, 21, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  transform: translateY(12px);
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
  z-index: 1500;
}

.tf-learning-assist.visible {
  opacity: 1;
  transform: translateY(0);
}

.tf-learning-assist-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--bronze);
  margin-bottom: 4px;
}

.tf-learning-assist-text {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ash);
}

@media (max-width: 900px) {
  .tf-learning-grid {
    grid-template-columns: 1fr;
  }
}
