/* Wrapper2 */
.tree-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Each level column */
.tree-column {
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Title */
.tree-title {
    font-weight: 600;
    margin-bottom: 12px;
    color: #475569;
}

/* Card */
.tree-card {
    width: 160px;
    padding: 10px;
    margin-bottom: 14px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    transition: all .2s ease;
}

/* Hover */
.tree-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

/* Active */
.tree-active {
    outline: 2px solid #6366f1;
}

/* Colors */
.card-head { background: #eef2ff; }
.card-dh   { background: #ecfeff; }
.card-fm   { background: #f0fdf4; }
.card-afm  { background: #fff7ed; }
