.dashboard-top,
.map-title,
.author-card-top,
.funnel-people {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.dashboard-status,
.map-meta,
.author-meta {
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
}

.student {
  border: 1px solid var(--border);
  background: var(--surface2);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
}

.student-name {
  font-weight: 700;
}

.student-course,
.student-meta {
  color: var(--muted);
  font-size: 13px;
}

.bar {
  height: 6px;
  background: var(--bg);
  border-radius: 99px;
  overflow: hidden;
  margin: 10px 0 8px;
}

.bar > span {
  display: block;
  height: 100%;
  background: var(--primary);
}

.insight {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.insight-label {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.map-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.map-state {
  font-size: 12px;
  font-weight: 700;
  color: var(--success);
  white-space: nowrap;
}

.map-state.current {
  color: var(--primary);
}

.map-state.weak {
  color: var(--warn);
}

.tree {
  display: grid;
  gap: 18px;
}

.tree-branch {
  border-left: 1px solid var(--border);
  padding-left: 16px;
}

.tree-parent {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 8px;
}

.tree-leaf {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  padding: 6px 0;
}

.tree-leaf.attention .leaf-name::after {
  content: " ← внимание";
  color: var(--warn);
  font-weight: 700;
}

.leaf-pct {
  color: var(--text);
  font-weight: 700;
}

.funnel {
  max-width: 520px;
}

.funnel-step {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin: 8px 0;
}

.funnel-box {
  border: 1px solid var(--border);
  background: var(--surface2);
  border-radius: 12px;
  padding: 16px 18px;
}

.funnel-box strong {
  display: block;
  margin-bottom: 8px;
}

.funnel-box li {
  color: var(--muted);
  font-size: 14px;
}

.funnel-goal {
  text-align: center;
  font-size: 22px;
  font-weight: 750;
  color: var(--primary);
}

.goal-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  gap: 12px;
}

.goal-card-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.goal-card-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary);
}

.goal-card > span:last-child {
  color: var(--primary);
  flex-shrink: 0;
}

.author-stat strong {
  display: block;
  font-size: 28px;
}

.author-stat span,
.author-course small {
  color: var(--muted);
  font-size: 13px;
}

.author-course {
  display: flex;
  flex-direction: column;
  font-weight: 700;
}

.course-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.course-item::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.author-point {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.author-point .check {
  color: var(--success);
  font-weight: 700;
}

.task-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-weight: 700;
  font-size: 15px;
}

.task-emoji {
  flex-shrink: 0;
  font-size: 22px;
  line-height: 1;
}

.screening-note {
  max-width: 760px;
}

.result-sample {
  max-width: 760px;
}

.result-block {
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.result-block p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.result-block.muted {
  opacity: 0.78;
}

@media (max-width: 900px) {
  .hero-visual {
    order: -1;
  }
}
